org.alfresco.repo.node.archive
Class ArchiveAndRestoreTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.node.archive.ArchiveAndRestoreTest
- All Implemented Interfaces:
- junit.framework.Test
public class ArchiveAndRestoreTest
- extends junit.framework.TestCase
Test the archive and restore functionality provided by the low-level
node service.
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 |
ArchiveAndRestoreTest
public ArchiveAndRestoreTest()
setUp
public void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
java.lang.Exception
tearDown
public void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
java.lang.Exception
verifyAll
public void verifyAll()
testSetUp
public void testSetUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetStoreArchiveNode
public void testGetStoreArchiveNode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testArchivedAspect
public void testArchivedAspect()
throws java.lang.Exception
- Throws:
java.lang.Exception
testArchiveAndRestoreNodeBB
public void testArchiveAndRestoreNodeBB()
throws java.lang.Exception
- Throws:
java.lang.Exception
testArchiveAndRestoreNodeB
public void testArchiveAndRestoreNodeB()
throws java.lang.Exception
- Throws:
java.lang.Exception
testArchiveAndRestoreAll_B_A
public void testArchiveAndRestoreAll_B_A()
throws java.lang.Exception
- Throws:
java.lang.Exception
testArchiveAndRestoreAll_A_B
public void testArchiveAndRestoreAll_A_B()
throws java.lang.Exception
- Throws:
java.lang.Exception
testArchiveAndRestoreWithMissingAssocTargets
public void testArchiveAndRestoreWithMissingAssocTargets()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTypeDetection
public void testTypeDetection()
- Ensures that the archival is performed based on the node type.
testArchiveVsDeletePerformance
public void testArchiveVsDeletePerformance()
throws java.lang.Exception
- Attempt to measure how much archiving affects the deletion performance.
- Throws:
java.lang.Exception
testInTransactionRestore
public void testInTransactionRestore()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInTransactionPurge
public void testInTransactionPurge()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSimple_Create_Commit_Delete_Commit
public void testSimple_Create_Commit_Delete_Commit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSimple_Create_Delete_Commit
public void testSimple_Create_Delete_Commit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRestoreToMissingParent
public void testRestoreToMissingParent()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMassRestore
public void testMassRestore()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMassPurge
public void testMassPurge()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDeletedOwnership
public void testDeletedOwnership()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPermissionsForRestore
public void testPermissionsForRestore()
throws java.lang.Exception
- Check that node ownership changes correctly
- Throws:
java.lang.Exception
testPermissionsLackingOnDestination
public void testPermissionsLackingOnDestination()
throws java.lang.Exception
- Deny the current user the rights to write to the destination location
and ensure that the use-case is handled properly.
- Throws:
java.lang.Exception
testAR1519ArchiveCleansDuplicateUuid
public void testAR1519ArchiveCleansDuplicateUuid()
throws java.lang.Exception
- Check that the existence of the node in the archive store doesn't prevent archival.
It is possible to restore a node to the SpacesStore from some other source. When
that node is archived, the currently archived node must be overwritten.
- Throws:
java.lang.Exception
testAR7889ArchiveAndRestoreMustNotModifyAuditable
public void testAR7889ArchiveAndRestoreMustNotModifyAuditable()
throws java.lang.Exception
- ALF-7889
- Throws:
java.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.