Class DatabaseWriterConflictTest
java.lang.Object
org.jumpmind.symmetric.io.AbstractWriterTest
org.jumpmind.symmetric.io.data.writer.DatabaseWriterConflictTest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jumpmind.symmetric.io.AbstractWriterTest
AbstractWriterTest.TableCsvData
-
Field Summary
Fields inherited from class org.jumpmind.symmetric.io.AbstractWriterTest
batchId, errorExpected, lastDataWriterUsed, platform, sequenceId, writerSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
assertTestTableEquals
(String testTableId, String[] expectedValues) protected String[]
protected String[]
protected String
static void
setup()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class org.jumpmind.symmetric.io.AbstractWriterTest
assertEquals, buildSourceTable, countRows, getBatchId, getId, getNextBatchId, getNextId, getSelect, getWhere, isErrorExpected, isOracle, printDatabase, queryForRow, setErrorExpected, translateExpectedCharString, translateExpectedString, writeData, writeData, writeData, writeData, writeData, writeData, writeData, writeData, writeData, writeData
-
Constructor Details
-
DatabaseWriterConflictTest
public DatabaseWriterConflictTest()
-
-
Method Details
-
setup
- Throws:
Exception
-
testInsertUkViolation
- Throws:
Exception
-
testInsertUkViolationDeleteFkViolation
- Throws:
Exception
-
testInsertUkViolationDeleteFkViolationChildTable
- Throws:
Exception
-
testInsertPkViolation
- Throws:
Exception
-
testInsertPkViolationUpdateUkViolation
- Throws:
Exception
-
testInsertPkViolationUpdateUkViolationDeleteFkViolation
- Throws:
Exception
-
testInsertPkViolationUpdateUkViolationDeleteFkViolationChildTable
@Test public void testInsertPkViolationUpdateUkViolationDeleteFkViolationChildTable() throws Exception- Throws:
Exception
-
testUpdateFkViolation
- Throws:
Exception
-
testUpdateFkViolationChildTable
- Throws:
Exception
-
testUpdateUkFkViolation
- Throws:
Exception
-
testUpdateUkViolation
- Throws:
Exception
-
testUpdateUkFkViolationChildTable
- Throws:
Exception
-
testUpdatePkViolation
- Throws:
Exception
-
testUpdatePkViolationDeleteFkViolationBlockingSelf
- Throws:
Exception
-
testUpdateUkViolationDeleteFkViolationBlockingSelf
- Throws:
Exception
-
testUpdatePkViolationSameUniqueName
- Throws:
Exception
-
testUpdatePkViolationDeleteFkViolation
- Throws:
Exception
-
testUpdateUkPkViolationDeleteFkViolation
- Throws:
Exception
-
testUpdateNoRowsInsertUkViolation
- Throws:
Exception
-
testUpdateNoRowsInsertUkViolationDeleteFkViolation
- Throws:
Exception
-
testDeleteFkViolation
- Throws:
Exception
-
testDeleteFkViolationChildTable
- Throws:
Exception
-
testDeleteFkViolationChildTableNoPk
- Throws:
Exception
-
assertTestTableEquals
- Overrides:
assertTestTableEquals
in classAbstractWriterTest
-
getTestTable
- Overrides:
getTestTable
in classAbstractWriterTest
-
getTestKeys
- Overrides:
getTestKeys
in classAbstractWriterTest
-
getTestColumns
- Overrides:
getTestColumns
in classAbstractWriterTest
-