|
|||||||||
| 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.cleanup.ContentStoreCleanerTest
public class ContentStoreCleanerTest
ContentStoreCleaner| Constructor Summary | |
|---|---|
ContentStoreCleanerTest()
|
|
| Method Summary | |
|---|---|
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 |
testImmediateRemoval()
|
void |
testProtectedRemoval()
|
| 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 ContentStoreCleanerTest()
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
public void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exception
public void testEagerCleanupOnCommit()
throws java.lang.Exception
java.lang.Exception
public void testEagerCleanupDereferencing()
throws java.lang.Exception
java.lang.Exception
public void testImmediateRemoval()
throws java.lang.Exception
java.lang.Exception
public void testProtectedRemoval()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||