public class ContentStoreReplicatorTest
extends junit.framework.TestCase
ContentStoreReplicator| Constructor and Description |
|---|
ContentStoreReplicatorTest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, 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, formatpublic void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic void testSinglePassReplication()
throws java.lang.Exception
java.lang.Exceptionpublic 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.Exceptionpublic void testRepeatedReplication()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.