public class CopyServiceImplTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
CopyServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testALF11964_part1()
Tests copying a folder that contains both a node and a copy of that node.
|
void |
testALF11964_part2()
Tests copying a folder that contains both a checked-out node and its working copy.
|
void |
testCopiedFromAspect_NonObject()
Test the behaviour of the aspect when copying types not derived from cm:object
|
void |
testCopiedFromAspect() |
void |
testCopyAndRename() |
void |
testCopyMLText()
https://issues.alfresco.com/jira/browse/ALF-3119
Test copying of MLText values.
|
void |
testCopyNodeWithRules() |
void |
testCopyNullPropertyForAlf10712() |
void |
testCopyResidualProperties() |
void |
testCopyToExistingNode() |
void |
testCopyToNewNode()
Test copy new node within store
|
void |
testCopyToNewNodeWithPermissions() |
void |
testCopyUserPermissions()
Creates some content as one user, then as another checks:
* If you don't have read permissions to the source you can't copy
* If you don't have write permissions to the target you can't copy
* If you do, you can copy just fine
|
void |
testETWOONE_244()
https://issues.alfresco.com/jira/browse/ETWOONE-224
|
void |
testRecursiveCopy()
Test a potentially recursive copy
|
void |
testRelativeLinks()
Test that realtive links between nodes are restored once the copy is completed
|
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, formatprotected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testCopyToNewNodeWithPermissions()
public void testCopyToNewNode()
public void testCopiedFromAspect()
public void testCopiedFromAspect_NonObject()
public void testCopyNodeWithRules()
public void testCopyToExistingNode()
public void testRecursiveCopy()
public void testALF11964_part1()
public void testALF11964_part2()
public void testCopyResidualProperties()
throws java.lang.Exception
java.lang.Exceptionpublic void testRelativeLinks()
public void testCopyAndRename()
public void testETWOONE_244()
public void testCopyMLText()
public void testCopyUserPermissions()
throws java.lang.Exception
java.lang.Exceptionpublic void testCopyNullPropertyForAlf10712()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.