Package org.jumpmind.symmetric
Class DbExportImportTest
java.lang.Object
org.jumpmind.symmetric.service.impl.AbstractServiceTest
org.jumpmind.symmetric.DbExportImportTest
-
Field Summary
FieldsFields inherited from class org.jumpmind.symmetric.service.impl.AbstractServiceTest
engine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertCountDbImportTableRecords(int expected) protected voidprotected booleanvoidvoidvoidvoidvoidvoidvoidprotected RowfindInList(List<Row> rows, String pk, Object pkValue) voidvoidvoidvoidprotected voidstatic voidsetup()voidvoidvoidMethods inherited from class org.jumpmind.symmetric.service.impl.AbstractServiceTest
assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNull, assertNull, assertNumberOfLinesThatStartWith, assertNumberOfLinesThatStartWith, assertNumberOfRows, assertTrue, assertTrue, checkForOpenResources, countData, forceRebuildOfTrigers, formatTableName, getClusterService, getConfigurationService, getDataExtractorService, getDataService, getDbDialect, getIncomingBatchService, getNodeService, getOutgoingBatchService, getParameterService, getPlatform, getRegistrationService, getRouterService, getSqlTemplate, getStagingManager, getSymmetricEngine, getTriggerRouterService, logTestComplete, logTestRunning, printDatabase, resetBatches, resetGaps, routeAndCreateGaps, setLoggingLevelForTest
-
Field Details
-
platform
-
-
Constructor Details
-
DbExportImportTest
public DbExportImportTest()
-
-
Method Details
-
setup
- Throws:
Exception
-
testInsertBigIntIntoOracleIntField
@Test public void testInsertBigIntIntoOracleIntField() -
exportNullTimestampToCsv
- Throws:
Exception
-
exportTableInAnotherSchemaOnH2
- Throws:
Exception
-
exportTestDatabaseSQL
- Throws:
Exception
-
exportThenImportXml
- Throws:
Exception
-
testExportTimestampWithTimeZone
- Throws:
Exception
-
createAndFillTimestampWithTimeZoneTable
protected boolean createAndFillTimestampWithTimeZoneTable() -
recreateImportTable
protected void recreateImportTable() -
assertCountDbImportTableRecords
protected void assertCountDbImportTableRecords(int expected) -
importSqlData
- Throws:
Exception
-
importUniqueKeywordTable
- Throws:
Exception
-
exportUniqueKeywordSqliteTable
- Throws:
Exception
-
importSymXmlData
- Throws:
Exception
-
importXmlData
- Throws:
Exception
-
exportThenImportCsv
- Throws:
Exception
-
exportThenImportCsvWithBackslashes
- Throws:
Exception
-
testExportCsvToDirectory
- Throws:
Exception
-
compareRows
-
findInList
-