|
||||||||||
| 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.TopiaReplicationServiceImplAllTest
public class TopiaReplicationServiceImplAllTest
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 Pet |
pet3
|
protected static Race |
race
|
protected static Race |
race2
|
protected static Race |
race3
|
| Fields inherited from class org.nuiton.topia.replication.AbstractTopiaReplicationServiceTest |
|---|
context, ctxt, dstCtxt, init, model, service |
| Constructor Summary | |
|---|---|
TopiaReplicationServiceImplAllTest()
|
|
| Method Summary | |
|---|---|
static void |
after()
|
protected TopiaContext |
createDb(String name)
|
protected TopiaContext |
createDb2(String name)
|
protected void |
createModel(TopiaEntity entity)
|
protected TopiaEntityEnum[] |
getContracts()
|
protected Properties |
getH2Properties(File f)
|
protected org.apache.commons.logging.Log |
getLog()
|
protected void |
prepareModel(String... ids)
|
void |
setUp()
|
void |
tearDown()
|
void |
testDetectAssociations()
Test of detectAssociations method, of class ReplicationModel. |
void |
testDetectDependencies()
Test of detectDependencies method, of class ReplicationModel. |
void |
testDetectDirectDependencies()
Test of detectDirectDependencies method, of class ReplicationModel. |
void |
testDetectObjectsToDettach()
Test of detectObjectsToDettach method, of class ReplicationModel. |
void |
testDetectOperations()
Test of detectOperations method, of class ReplicationModel. |
void |
testDetectShell()
Test of detectShell method, of class ReplicationModel. |
void |
testDetectTypes()
Test of detectTypes method, of class ReplicationServiceImplementor. |
void |
testDoReplicate()
Test of doReplicate method, of class ReplicationService. |
void |
testGetOperation()
Test of getOperation method, of class ReplicationServiceImplementor. |
| 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 Pet pet3
protected static Race race
protected static Race race2
protected static Race race3
| Constructor Detail |
|---|
public TopiaReplicationServiceImplAllTest()
| Method Detail |
|---|
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 testDetectTypes()
throws Exception
AbstractTopiaReplicationServiceTest
testDetectTypes in class AbstractTopiaReplicationServiceTestException - if any error
public void testGetOperation()
throws Exception
AbstractTopiaReplicationServiceTest
testGetOperation 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
protected TopiaContext createDb(String name)
throws Exception
createDb in class AbstractTopiaReplicationServiceTestException
protected TopiaContext createDb2(String name)
throws Exception
createDb2 in class AbstractTopiaReplicationServiceTestExceptionprotected TopiaEntityEnum[] getContracts()
getContracts in class AbstractTopiaReplicationServiceTestprotected org.apache.commons.logging.Log getLog()
getLog in class AbstractTopiaReplicationServiceTestprotected Properties getH2Properties(File f)
protected void createModel(TopiaEntity entity)
throws TopiaException
createModel in class AbstractTopiaReplicationServiceTestTopiaException
protected void prepareModel(String... ids)
throws TopiaException
prepareModel in class AbstractTopiaReplicationServiceTestTopiaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||