|
||||||||||
| 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.AbstractTopiaReplicationServiceTest
org.nuiton.topia.replication.TopiaReplicationOperationTest
public class TopiaReplicationOperationTest
TopiaReplicationServiceImplTest 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
|
protected static File |
tesDir
|
| Fields inherited from class org.nuiton.topia.replication.AbstractTopiaReplicationServiceTest |
|---|
context, ctxt, dstCtxt, init, 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
protected static File tesDir
| Constructor Detail |
|---|
public TopiaReplicationOperationTest()
| Method Detail |
|---|
public static void beforeClass()
throws IOException
IOException
public static void after()
throws Exception
Exception
public void setUp()
throws Exception
setUp in class AbstractTopiaReplicationServiceTestException
public void tearDown()
throws Exception
tearDown in class AbstractTopiaReplicationServiceTestException
public void testGetOperation_nullOperationClass()
throws Exception
Exceptionprotected org.nuiton.topia.replication.TopiaReplicationModelBuilder getModelBuilder()
getModelBuilder in class AbstractTopiaReplicationServiceTest
public void testGetOperation()
throws Exception
AbstractTopiaReplicationServiceTest
testGetOperation in class AbstractTopiaReplicationServiceTestException - if any error
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 testCreateSupportedBeforeOperation_Duplicate()
throws Exception
Exception
public void testCreateSupportedBeforeOperation_DetachAssociation()
throws Exception
Exception
public void testCreateSupportedAfterOperation_Duplicate()
throws Exception
Exception
public void testCreateSupportedAfterOperation_DetachAssociation()
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 AbstractTopiaReplicationServiceTestExceptionprotected TopiaEntityEnum[] getContracts()
getContracts in class AbstractTopiaReplicationServiceTestprotected org.apache.commons.logging.Log getLog()
getLog in class AbstractTopiaReplicationServiceTest
protected Properties getH2Properties(String dbName)
throws IOException
IOException
protected TopiaContext createDb2(String name)
throws Exception
createDb2 in class AbstractTopiaReplicationServiceTestException
public void testDetectTypes()
throws Exception
AbstractTopiaReplicationServiceTest
testDetectTypes in class AbstractTopiaReplicationServiceTestException - if any error
public void testDetectAssociations()
throws Exception
AbstractTopiaReplicationServiceTest
testDetectAssociations in class AbstractTopiaReplicationServiceTestException - if any error
public void testDetectDirectDependencies()
throws Exception
AbstractTopiaReplicationServiceTest
testDetectDirectDependencies in class AbstractTopiaReplicationServiceTestException - if any error
public void testDetectShell()
throws Exception
AbstractTopiaReplicationServiceTest
testDetectShell in class AbstractTopiaReplicationServiceTestException - if any error
public void testDetectDependencies()
throws Exception
AbstractTopiaReplicationServiceTest
testDetectDependencies in class AbstractTopiaReplicationServiceTestException - if any error
public void testDetectObjectsToDettach()
throws Exception
AbstractTopiaReplicationServiceTest
testDetectObjectsToDettach in class AbstractTopiaReplicationServiceTestException - if any error
public void testDetectOperations()
throws Exception
AbstractTopiaReplicationServiceTest
testDetectOperations in class AbstractTopiaReplicationServiceTestException - if any error
public void testDoReplicate()
throws Exception
AbstractTopiaReplicationServiceTest
testDoReplicate in class AbstractTopiaReplicationServiceTestException - if any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||