|
|||||||||
| 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.copy.CopyServiceImplTest
public class CopyServiceImplTest
Unit tests for copy service
| Constructor Summary | |
|---|---|
CopyServiceImplTest()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
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 |
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 |
| 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 CopyServiceImplTest()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
protected 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 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.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||