|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.Assert
org.nuiton.topia.replication.AbstractReplicationEngineTest
org.nuiton.topia.replication.TopiaReplicationOperationTest
public class TopiaReplicationOperationTest
ReplicationEngineTest on model TopiaTest Created: 07 jun. 09 17:14:22
| Field Summary | |
|---|---|
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
|
| Fields inherited from class org.nuiton.topia.replication.AbstractReplicationEngineTest |
|---|
context, ctxt, dstCtxt, model, service |
| Constructor Summary | |
|---|---|
TopiaReplicationOperationTest()
|
|
| Methods inherited from class org.junit.Assert |
|---|
assertArrayEquals, 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, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected 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
| Constructor Detail |
|---|
public TopiaReplicationOperationTest()
| Method Detail |
|---|
public static void after()
throws Exception
Exception
public void setUp()
throws Exception
setUp in class AbstractReplicationEngineTestException
public void tearDown()
throws Exception
tearDown in class AbstractReplicationEngineTestException
public void testGetOperation_nullOperationClass()
throws Exception
Exception
public void testGetOperation_serviceNotInit()
throws Exception
Exception
public void testGetOperation()
throws Exception
AbstractReplicationEngineTest
testGetOperation in class AbstractReplicationEngineTestException
public void testCreateOperation_nullModel()
throws Exception
Exception
public void testCreateOperation_nullType()
throws Exception
Exception
public void testCreateOperation_nullPhase()
throws Exception
Exception
public void testCreateOperation_nullOperationClass()
throws Exception
Exception
public void testCreateOperation_noNode()
throws Exception
Exception
public void testCreateOperation_noOperation()
throws Exception
Exception
public void testCreateUnsupportedBeforeOperation_Duplicate()
throws Exception
Exception
public void testCreateUnsupportedBeforeOperation_AttachAssociation()
throws Exception
Exception
public void testCreateUnsupportedBeforeOperation_DetachAssociation()
throws Exception
Exception
public void testCreateUnsupportedBeforeOperation_AttachDependency()
throws Exception
Exception
public void testCreateUnsupportedBeforeOperation_DetachDependency()
throws Exception
Exception
public void testCreateUnsupportedAfterOperation_Duplicate()
throws Exception
Exception
public void testCreateUnsupportedAfterOperation_AttachAssociation()
throws Exception
Exception
public void testCreateUnsupportedAfterOperation_DetachAssociation()
throws Exception
Exception
public void testCreateUnsupportedAfterOperation_AttachDependency()
throws Exception
Exception
public void testCreateUnsupportedAfterOperation_DetachDependency()
throws Exception
Exception
public void testCreateUnsupportedBeforeOperation_UncreatableOperation()
throws Exception
Exception
public void testCreateUnsupportedAfterOperation_UncreatableOperation()
throws Exception
Exception
public void testCreateOperation_wrongParameterNumber()
throws Exception
Exception
public void testCreateOperation_wrongParameterNumber2()
throws Exception
Exception
public void testCreateOperation_wrongParameterType()
throws Exception
Exception
public void testCreateOperation_nullParameter()
throws Exception
Exception
public void testCreateOperation()
throws Exception
Exception
public void testDoReplicate_nullModel()
throws Exception
Exception
public void testDoReplicate_nullDstCtxt()
throws Exception
Exception
protected TopiaContext createDb(String name)
throws Exception
createDb in class AbstractReplicationEngineTestExceptionprotected TopiaEntityEnum[] getContracts()
getContracts in class AbstractReplicationEngineTestprotected org.apache.commons.logging.Log getLog()
getLog in class AbstractReplicationEngineTestprotected Properties getH2Properties(File f)
protected TopiaContext createDb2(String name)
throws Exception
createDb2 in class AbstractReplicationEngineTestException
public void testDetectTypes()
throws Exception
AbstractReplicationEngineTest
testDetectTypes in class AbstractReplicationEngineTestException
public void testDetectAssociations()
throws Exception
AbstractReplicationEngineTest
testDetectAssociations in class AbstractReplicationEngineTestException
public void testDetectDirectDependencies()
throws Exception
AbstractReplicationEngineTest
testDetectDirectDependencies in class AbstractReplicationEngineTestException
public void testDetectShell()
throws Exception
AbstractReplicationEngineTest
testDetectShell in class AbstractReplicationEngineTestException
public void testDetectDependencies()
throws Exception
AbstractReplicationEngineTest
testDetectDependencies in class AbstractReplicationEngineTestException
public void testDetectObjectsToDettach()
throws Exception
AbstractReplicationEngineTest
testDetectObjectsToDettach in class AbstractReplicationEngineTestException
public void testDetectOperations()
throws Exception
AbstractReplicationEngineTest
testDetectOperations in class AbstractReplicationEngineTestException
public void testDoReplicate()
throws Exception
AbstractReplicationEngineTest
testDoReplicate in class AbstractReplicationEngineTestException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||