mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fixed test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2451 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -47,11 +47,11 @@ public class RuntimeExecutableContentTransformerTest extends BaseAlfrescoTestCas
|
|||||||
RuntimeExec transformCommand = new RuntimeExec();
|
RuntimeExec transformCommand = new RuntimeExec();
|
||||||
Map<String, String> commandMap = new HashMap<String, String>(5);
|
Map<String, String> commandMap = new HashMap<String, String>(5);
|
||||||
commandMap.put("Linux", "mv -f ${source} ${target}");
|
commandMap.put("Linux", "mv -f ${source} ${target}");
|
||||||
commandMap.put("*", "cmd /c copy /Y \"${source}\" \"${target}\"");
|
commandMap.put(".*", "cmd /c copy /Y \"${source}\" \"${target}\"");
|
||||||
transformCommand.setCommandMap(commandMap);
|
transformCommand.setCommandMap(commandMap);
|
||||||
|
transformCommand.setErrorCodes("1, 2");
|
||||||
transformer.setTransformCommand(transformCommand);
|
transformer.setTransformCommand(transformCommand);
|
||||||
transformer.setMimetypeService(serviceRegistry.getMimetypeService());
|
transformer.setMimetypeService(serviceRegistry.getMimetypeService());
|
||||||
transformer.setErrorCodes("1, 2");
|
|
||||||
|
|
||||||
// initialise so that it doesn't score 0
|
// initialise so that it doesn't score 0
|
||||||
transformer.init();
|
transformer.init();
|
||||||
|
Reference in New Issue
Block a user