|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.content.replication.ContentStoreReplicatorTest
public class ContentStoreReplicatorTest
Tests the content store replicator.
ContentStoreReplicator
Constructor Summary | |
---|---|
ContentStoreReplicatorTest()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
testContinuousReplication()
Adds content to the source while the replicator is going as fast as possible. |
void |
testRepeatedReplication()
Call the replicator repeatedly to check that it prevents concurrent use |
void |
testSinglePassReplication()
Creates a source with some files and replicates in a single pass, checking the results. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContentStoreReplicatorTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testSinglePassReplication() throws java.lang.Exception
java.lang.Exception
public void testContinuousReplication() throws java.lang.Exception
Afterwards, some content is removed from the the target.
Then, finally, a check is performed to ensure that the source and target are in synch.
java.lang.Exception
public void testRepeatedReplication() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |