public class TopiaReplicationOperationTest extends AbstractTopiaReplicationServiceTest
| Modifier and Type | Field and Description |
|---|---|
protected static TopiaEntityEnum[] |
contracts |
protected static String |
entitiesList |
protected static Person |
person |
protected static Person |
person2 |
protected static Pet |
pet |
protected static Pet |
pet2 |
protected static Race |
race |
protected static Race |
race2 |
protected static File |
tesDir |
| Constructor and Description |
|---|
TopiaReplicationOperationTest() |
assertDbEquals, assertEntityEquals, createModel, createReplicateDb, createSupportedAfterOperation, createSupportedBeforeOperation, createUnsupportedAfterOperation, createUnsupportedBeforeOperation, detectAssociations, detectDependencies, detectDirectDependencies, detectObjectsToDettach, detectOperations, detectShell, detectTypes, doReplicate, doReplicateAll, doReplicateWithComputedOrder, getOperation, getTestDir, getTestsTimeStamp, prepareModel, prepareModelAll, prepareModelWithComputedOrder, updateassertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, failprotected static final TopiaEntityEnum[] contracts
protected static final String entitiesList
protected static Person person
protected static Person person2
protected static Pet pet
protected static Pet pet2
protected static Race race
protected static Race race2
protected static File tesDir
public static void beforeClass()
throws IOException
IOExceptionpublic void setUp()
throws Exception
setUp in class AbstractTopiaReplicationServiceTestExceptionpublic void tearDown()
throws Exception
tearDown in class AbstractTopiaReplicationServiceTestExceptionpublic void testGetOperation_nullOperationClass()
throws Exception
Exceptionprotected org.nuiton.topia.replication.TopiaReplicationModelBuilder getModelBuilder()
getModelBuilder in class AbstractTopiaReplicationServiceTestpublic void testGetOperation()
throws Exception
AbstractTopiaReplicationServiceTesttestGetOperation in class AbstractTopiaReplicationServiceTestException - if any errorpublic void testCreateOperation_nullModel()
throws Exception
Exceptionpublic void testCreateOperation_nullType()
throws Exception
Exceptionpublic void testCreateOperation_nullPhase()
throws Exception
Exceptionpublic void testCreateOperation_nullOperationClass()
throws Exception
Exceptionpublic void testCreateOperation_noNode()
throws Exception
Exceptionpublic void testCreateOperation_noOperation()
throws Exception
Exceptionpublic void testCreateSupportedBeforeOperation_Duplicate()
throws Exception
Exceptionpublic void testCreateSupportedBeforeOperation_DetachAssociation()
throws Exception
Exceptionpublic void testCreateSupportedAfterOperation_Duplicate()
throws Exception
Exceptionpublic void testCreateSupportedAfterOperation_DetachAssociation()
throws Exception
Exceptionpublic void testCreateOperation_wrongParameterNumber()
throws Exception
Exceptionpublic void testCreateOperation_wrongParameterNumber2()
throws Exception
Exceptionpublic void testCreateOperation_wrongParameterType()
throws Exception
Exceptionpublic void testCreateOperation_nullParameter()
throws Exception
Exceptionpublic void testDoReplicate_nullModel()
throws Exception
Exceptionpublic void testDoReplicate_nullDstCtxt()
throws Exception
Exceptionprotected TopiaContext createDb(String name) throws Exception
createDb in class AbstractTopiaReplicationServiceTestExceptionprotected TopiaEntityEnum[] getContracts()
getContracts in class AbstractTopiaReplicationServiceTestprotected org.apache.commons.logging.Log getLog()
getLog in class AbstractTopiaReplicationServiceTestprotected Properties getH2Properties(String dbName) throws IOException
IOExceptionprotected TopiaContext createDb2(String name) throws Exception
createDb2 in class AbstractTopiaReplicationServiceTestExceptionpublic void testDetectTypes()
throws Exception
AbstractTopiaReplicationServiceTesttestDetectTypes in class AbstractTopiaReplicationServiceTestException - if any errorpublic void testDetectAssociations()
throws Exception
AbstractTopiaReplicationServiceTesttestDetectAssociations in class AbstractTopiaReplicationServiceTestException - if any errorpublic void testDetectDirectDependencies()
throws Exception
AbstractTopiaReplicationServiceTesttestDetectDirectDependencies in class AbstractTopiaReplicationServiceTestException - if any errorpublic void testDetectShell()
throws Exception
AbstractTopiaReplicationServiceTesttestDetectShell in class AbstractTopiaReplicationServiceTestException - if any errorpublic void testDetectDependencies()
throws Exception
AbstractTopiaReplicationServiceTesttestDetectDependencies in class AbstractTopiaReplicationServiceTestException - if any errorpublic void testDetectObjectsToDettach()
throws Exception
AbstractTopiaReplicationServiceTesttestDetectObjectsToDettach in class AbstractTopiaReplicationServiceTestException - if any errorpublic void testDetectOperations()
throws Exception
AbstractTopiaReplicationServiceTesttestDetectOperations in class AbstractTopiaReplicationServiceTestException - if any errorpublic void testDoReplicate()
throws Exception
AbstractTopiaReplicationServiceTesttestDoReplicate in class AbstractTopiaReplicationServiceTestException - if any errorCopyright © 2004-2013 CodeLutin. All Rights Reserved.