|
|||||||||
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.RoutingContentServiceTest
public class RoutingContentServiceTest
RoutingContentService
Constructor Summary | |
---|---|
RoutingContentServiceTest()
|
Method Summary | |
---|---|
void |
onContentReadBehaviourTest(org.alfresco.service.cmr.repository.NodeRef nodeRef)
|
void |
onContentUpdateBehaviourTest(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean newContent)
|
void |
setUp()
|
void |
tearDown()
|
void |
testAutoSettingOfProperties()
Checks that the URL, mimetype and encoding are automatically set on the readers and writers |
void |
testConcurrentWritesNoTxn()
Checks that multiple writes can occur to the same node outside of any transactions. |
void |
testConcurrentWritesWithMultipleTxns()
Create several threads that will attempt to write to the same node property. |
void |
testConcurrentWritesWithSingleTxn()
|
void |
testContentStoreSizes()
|
void |
testGetRawReader()
|
void |
testMissingContent()
Checks what happens when the physical content disappears |
void |
testNullReaderForNullUrl()
|
void |
testOnContentReadPolicy()
|
void |
testOnContentUpdatePolicy()
Tests that the content update policy firs correctly |
void |
testPostCopyContentRetrieval()
Checks that node copy and delete behaviour behaves correctly w.r.t. |
void |
testRollbackCleanup_ALF2890()
Ensure that content URLs outside of a transaction are not touched on rollback. |
void |
testSetUp()
|
void |
testSimpleNonTempWriter()
Check that a valid writer into the content store can be retrieved and used. |
void |
testSimpleWrite()
Tests simple writes that don't automatically update the node content URL |
void |
testTempWrite()
|
void |
testTransformation()
|
void |
testUnknownMimetype()
Check that the system is able to handle the uploading of content with an unknown mimetype. |
void |
testUpdatingWrite()
Tests the automatic updating of nodes' content URLs |
void |
testWriteToNodeWithoutAnyContentProperties()
|
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 RoutingContentServiceTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testSetUp() throws java.lang.Exception
java.lang.Exception
public void testSimpleNonTempWriter() throws java.lang.Exception
java.lang.Exception
public void testAutoSettingOfProperties() throws java.lang.Exception
java.lang.Exception
public void testWriteToNodeWithoutAnyContentProperties() throws java.lang.Exception
java.lang.Exception
public void testNullReaderForNullUrl() throws java.lang.Exception
java.lang.Exception
public void testContentStoreSizes() throws java.lang.Exception
java.lang.Exception
public void testGetRawReader() throws java.lang.Exception
java.lang.Exception
public void testMissingContent() throws java.lang.Exception
java.lang.Exception
public void testSimpleWrite() throws java.lang.Exception
java.lang.Exception
public void testOnContentUpdatePolicy()
public void onContentUpdateBehaviourTest(org.alfresco.service.cmr.repository.NodeRef nodeRef, boolean newContent)
public void testOnContentReadPolicy()
public void onContentReadBehaviourTest(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public void testTempWrite() throws java.lang.Exception
java.lang.Exception
public void testUpdatingWrite() throws java.lang.Exception
java.lang.Exception
public void testConcurrentWritesNoTxn() throws java.lang.Exception
It is only when the streams are closed that the node is updated.
java.lang.Exception
public void testConcurrentWritesWithSingleTxn() throws java.lang.Exception
java.lang.Exception
public void testConcurrentWritesWithMultipleTxns() throws java.lang.Exception
close
and not the transaction that
fetched the ContentWriter
.
java.lang.Exception
public void testTransformation() throws java.lang.Exception
java.lang.Exception
public void testUnknownMimetype() throws java.lang.Exception
java.lang.Exception
public void testPostCopyContentRetrieval() throws java.lang.Exception
java.lang.Exception
public void testRollbackCleanup_ALF2890() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |