mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
RM-1198 & RM-1199 - Added functionality for Copy-to and Move-to rule actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65697 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -42,13 +42,13 @@ import org.springframework.util.StringUtils;
|
||||
*/
|
||||
public class FileToActionTest extends BaseRMTestCase
|
||||
{
|
||||
private static final String PATH = "rmcontainer/rmfolder";
|
||||
private static final String PATH2 = "/rmcontainer/rmfolder";
|
||||
private static final String PATH_BAD = "monkey/rmfolder";
|
||||
private static final String PATH_CREATE = "rmcontainer/newrmfolder";
|
||||
private static final String LONG_PATH_CREATE = "/rmcontainer/one/two/three/four/newrmfolder";
|
||||
private static final String PATH = "rmContainer/rmFolder";
|
||||
private static final String PATH2 = "/rmContainer/rmFolder";
|
||||
private static final String PATH_BAD = "monkey/rmFolder";
|
||||
private static final String PATH_CREATE = "rmContainer/newRmFolder";
|
||||
private static final String LONG_PATH_CREATE = "/rmContainer/one/two/three/four/newRmFolder";
|
||||
|
||||
private static final String PATH_SUB1 = "rmcontainer/${node.cm:title}";
|
||||
private static final String PATH_SUB1 = "rmContainer/${node.cm:title}";
|
||||
|
||||
@Override
|
||||
protected boolean isCollaborationSiteTest()
|
||||
@@ -181,19 +181,19 @@ public class FileToActionTest extends BaseRMTestCase
|
||||
public void testCreate() throws Exception
|
||||
{
|
||||
initRecord();
|
||||
createRecord(PATH_CREATE, "newrmfolder");
|
||||
createRecord(PATH_CREATE, "newRmFolder");
|
||||
}
|
||||
|
||||
public void testCreateSub() throws Exception
|
||||
{
|
||||
initRecord();
|
||||
createRecord(PATH_SUB1, "mytestvalue", "rmcontainer/mytestvalue");
|
||||
createRecord(PATH_SUB1, "mytestvalue", "rmContainer/mytestvalue");
|
||||
}
|
||||
|
||||
public void testCreatePath() throws Exception
|
||||
{
|
||||
initRecord();
|
||||
createRecord(LONG_PATH_CREATE, "newrmfolder", "rmcontainer/one/two/three/four/newrmfolder");
|
||||
createRecord(LONG_PATH_CREATE, "newRmFolder", "rmContainer/one/two/three/four/newRmFolder");
|
||||
}
|
||||
|
||||
private void createRecord(String path, String name)
|
||||
|
Reference in New Issue
Block a user