public class ReplicatingContentStoreTest extends AbstractWritableContentStoreTest
By default, replication is off for both the inbound and outbound replication. Specific tests change this.
ReplicatingContentStorectx, transactionService| Constructor and Description |
|---|
ReplicatingContentStoreTest() |
| Modifier and Type | Method and Description |
|---|---|
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() |
getExistingContentUrl, getWriter, testClosedState, testDeleteReaderStates, testDeleteSimple, testGetReader, testGetUrls, testIllegalWritableContentUrls, testListUrls, testMimetypAndEncodingAndLocale, testRandomAccessRead, testRandomAccessWrite, testReadAndWriteFile, testReadAndWriteStreamByPull, testReadAndWriteStreamByPush, testReaderImmutability, testRootLocation, testSetUp, testSimpleUse, testSpaceFree, testSpaceTotal, testSpaceUsed, testStringTruncation, testWritable, testWriteAndReadString, testWriteStreamListenergetReader, tearDown, testBlockedWriteOperations, testGetReaderForExistingContentUrl, testIllegalReadableContentUrlscountTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
AbstractReadOnlyContentStoreTestsetUp in class AbstractReadOnlyContentStoreTestjava.lang.Exceptionpublic ContentStore getStore()
AbstractReadOnlyContentStoreTestsetUp to initialise resources.
Usually tests will construct a static instance of the store to use throughout all the tests.
getStore in class AbstractReadOnlyContentStoreTestpublic void testNoReplication()
throws java.lang.Exception
java.lang.Exceptionpublic void testOutboundReplication()
throws java.lang.Exception
java.lang.Exceptionpublic void testAsyncOutboundReplication()
throws java.lang.Exception
java.lang.Exceptionpublic void testInboundReplication()
throws java.lang.Exception
java.lang.Exceptionpublic void testTargetContentUrlExists()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.