public class ArchiveAndRestoreTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
ArchiveAndRestoreTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testAR1519ArchiveCleansDuplicateUuid()
Check that the existence of the node in the archive store doesn't prevent archival.
|
void |
testAR7889ArchiveAndRestoreMustNotModifyAuditable()
|
void |
testArchiveAndRestoreAll_A_B() |
void |
testArchiveAndRestoreAll_B_A() |
void |
testArchiveAndRestoreNodeB() |
void |
testArchiveAndRestoreNodeBB() |
void |
testArchiveAndRestoreWithMissingAssocTargets() |
void |
testArchivedAspect() |
void |
testArchiveVsDeletePerformance()
Attempt to measure how much archiving affects the deletion performance.
|
void |
testDeletedOwnership() |
void |
testGetStoreArchiveNode() |
void |
testInTransactionPurge() |
void |
testInTransactionRestore() |
void |
testMassPurge() |
void |
testMassRestore() |
void |
testPermissionsForRestore()
Check that node ownership changes correctly
|
void |
testPermissionsLackingOnDestination()
Deny the current user the rights to write to the destination location
and ensure that the use-case is handled properly.
|
void |
testRestoreToMissingParent() |
void |
testSetUp() |
void |
testSimple_Create_Commit_Delete_Commit() |
void |
testSimple_Create_Delete_Commit() |
void |
testTypeDetection()
Ensures that the archival is performed based on the node type.
|
void |
verifyAll() |
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 verifyAll()
public void testSetUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetStoreArchiveNode()
throws java.lang.Exception
java.lang.Exceptionpublic void testArchivedAspect()
throws java.lang.Exception
java.lang.Exceptionpublic void testArchiveAndRestoreNodeBB()
throws java.lang.Exception
java.lang.Exceptionpublic void testArchiveAndRestoreNodeB()
throws java.lang.Exception
java.lang.Exceptionpublic void testArchiveAndRestoreAll_B_A()
throws java.lang.Exception
java.lang.Exceptionpublic void testArchiveAndRestoreAll_A_B()
throws java.lang.Exception
java.lang.Exceptionpublic void testArchiveAndRestoreWithMissingAssocTargets()
throws java.lang.Exception
java.lang.Exceptionpublic void testTypeDetection()
public void testArchiveVsDeletePerformance()
throws java.lang.Exception
java.lang.Exceptionpublic void testInTransactionRestore()
throws java.lang.Exception
java.lang.Exceptionpublic void testInTransactionPurge()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimple_Create_Commit_Delete_Commit()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimple_Create_Delete_Commit()
throws java.lang.Exception
java.lang.Exceptionpublic void testRestoreToMissingParent()
throws java.lang.Exception
java.lang.Exceptionpublic void testMassRestore()
throws java.lang.Exception
java.lang.Exceptionpublic void testMassPurge()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeletedOwnership()
throws java.lang.Exception
java.lang.Exceptionpublic void testPermissionsForRestore()
throws java.lang.Exception
java.lang.Exceptionpublic void testPermissionsLackingOnDestination()
throws java.lang.Exception
java.lang.Exceptionpublic void testAR1519ArchiveCleansDuplicateUuid()
throws java.lang.Exception
java.lang.Exceptionpublic void testAR7889ArchiveAndRestoreMustNotModifyAuditable()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.