|
|||||||||
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.AbstractReadOnlyContentStoreTest
org.alfresco.repo.content.AbstractWritableContentStoreTest
org.alfresco.repo.content.replication.ReplicatingContentStoreTest
public class ReplicatingContentStoreTest
Tests read and write functionality for the replicating store.
By default, replication is off for both the inbound and outbound replication. Specific tests change this.
ReplicatingContentStore
Field Summary |
---|
Fields inherited from class org.alfresco.repo.content.AbstractReadOnlyContentStoreTest |
---|
ctx, transactionService |
Constructor Summary | |
---|---|
ReplicatingContentStoreTest()
|
Method Summary | |
---|---|
ContentStore |
getStore()
Fetch the store to be used during a test. |
void |
setUp()
Starts a transaction |
void |
testAsyncOutboundReplication()
|
void |
testInboundReplication()
|
void |
testNoReplication()
|
void |
testOutboundReplication()
|
void |
testTargetContentUrlExists()
|
Methods inherited from class org.alfresco.repo.content.AbstractReadOnlyContentStoreTest |
---|
getReader, tearDown, testBlockedWriteOperations, testGetReaderForExistingContentUrl, testIllegalReadableContentUrls |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 ReplicatingContentStoreTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
AbstractReadOnlyContentStoreTest
setUp
in class AbstractReadOnlyContentStoreTest
java.lang.Exception
public ContentStore getStore()
AbstractReadOnlyContentStoreTest
setUp
to initialise resources.
Usually tests will construct a static instance of the store to use throughout all the tests.
getStore
in class AbstractReadOnlyContentStoreTest
public void testNoReplication() throws java.lang.Exception
java.lang.Exception
public void testOutboundReplication() throws java.lang.Exception
java.lang.Exception
public void testAsyncOutboundReplication() throws java.lang.Exception
java.lang.Exception
public void testInboundReplication() throws java.lang.Exception
java.lang.Exception
public void testTargetContentUrlExists()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |