|
|||||||||
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.node.archive.ArchiveAndRestoreTest
public class ArchiveAndRestoreTest
Test the archive and restore functionality provided by the low-level node service.
Constructor Summary | |
---|---|
ArchiveAndRestoreTest()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
tearDown()
|
void |
testAR1519ArchiveCleansDuplicateUuid()
Check that the existence of the node in the archive store doesn't prevent archival. |
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 |
testTypeDetection()
Ensures that the archival is performed based on the node type. |
void |
verifyAll()
|
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 ArchiveAndRestoreTest()
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 verifyAll()
public void testSetUp() throws java.lang.Exception
java.lang.Exception
public void testGetStoreArchiveNode() throws java.lang.Exception
java.lang.Exception
public void testArchivedAspect() throws java.lang.Exception
java.lang.Exception
public void testArchiveAndRestoreNodeBB() throws java.lang.Exception
java.lang.Exception
public void testArchiveAndRestoreNodeB() throws java.lang.Exception
java.lang.Exception
public void testArchiveAndRestoreAll_B_A() throws java.lang.Exception
java.lang.Exception
public void testArchiveAndRestoreAll_A_B() throws java.lang.Exception
java.lang.Exception
public void testArchiveAndRestoreWithMissingAssocTargets() throws java.lang.Exception
java.lang.Exception
public void testTypeDetection()
public void testArchiveVsDeletePerformance() throws java.lang.Exception
java.lang.Exception
public void testInTransactionRestore() throws java.lang.Exception
java.lang.Exception
public void testInTransactionPurge() throws java.lang.Exception
java.lang.Exception
public void testRestoreToMissingParent() throws java.lang.Exception
java.lang.Exception
public void testMassRestore() throws java.lang.Exception
java.lang.Exception
public void testMassPurge() throws java.lang.Exception
java.lang.Exception
public void testDeletedOwnership() throws java.lang.Exception
java.lang.Exception
public void testPermissionsForRestore() throws java.lang.Exception
java.lang.Exception
public void testPermissionsLackingOnDestination() throws java.lang.Exception
java.lang.Exception
public void testAR1519ArchiveCleansDuplicateUuid() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |