public class ContentStoreCleanerTest
extends junit.framework.TestCase
ContentStoreCleaner| Constructor and Description |
|---|
ContentStoreCleanerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testEagerCleanupDereferencing()
Create ContentData set it on a Node, delete the Node, then set the ContentData on a new node
and check that the content is preserved during eager cleanup.
|
void |
testEagerCleanupOnCommit() |
void |
testForcedImmediateShredding()
Test forced and immediate shredding of content
There is no validation that the file is affected.
|
void |
testImmediateRemoval() |
void |
testShreddingCleanup()
Test basic wiping of file contents on normal orphan cleanup
|
countTestCases, 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
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testEagerCleanupOnCommit()
throws java.lang.Exception
java.lang.Exceptionpublic void testEagerCleanupDereferencing()
throws java.lang.Exception
java.lang.Exceptionpublic void testImmediateRemoval()
throws java.lang.Exception
java.lang.Exceptionpublic void testForcedImmediateShredding()
throws java.lang.Exception
java.lang.Exceptionpublic void testShreddingCleanup()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.