mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Attempted build fix. 50% chance of it working
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -80,13 +80,14 @@ public class ModuleManagementToolTest extends TestCase
|
|||||||
files.add("/images/test.jpg");
|
files.add("/images/test.jpg");
|
||||||
files.add("/jsp/test.jsp");
|
files.add("/jsp/test.jsp");
|
||||||
files.add("/css/test.css");
|
files.add("/css/test.css");
|
||||||
|
files.add("/extra.txt");
|
||||||
checkForFileExistance(warLocation, files);
|
checkForFileExistance(warLocation, files);
|
||||||
|
|
||||||
// Check the intstalled files
|
// Check the intstalled files
|
||||||
InstalledFiles installed0 = new InstalledFiles(warLocation, "test");
|
InstalledFiles installed0 = new InstalledFiles(warLocation, "test");
|
||||||
installed0.load();
|
installed0.load();
|
||||||
assertNotNull(installed0);
|
assertNotNull(installed0);
|
||||||
assertEquals(7, installed0.getAdds().size());
|
assertEquals(8, installed0.getAdds().size());
|
||||||
assertEquals(1, installed0.getMkdirs().size());
|
assertEquals(1, installed0.getMkdirs().size());
|
||||||
assertEquals(1, installed0.getUpdates().size());
|
assertEquals(1, installed0.getUpdates().size());
|
||||||
String backup = null;
|
String backup = null;
|
||||||
@@ -132,6 +133,7 @@ public class ModuleManagementToolTest extends TestCase
|
|||||||
List<String> files3 = new ArrayList<String>(2);
|
List<String> files3 = new ArrayList<String>(2);
|
||||||
files3.add("/scripts/test.js");
|
files3.add("/scripts/test.js");
|
||||||
files3.add("/jsp/test.jsp");
|
files3.add("/jsp/test.jsp");
|
||||||
|
files3.add("/extra.txt");
|
||||||
files3.add(backup);
|
files3.add(backup);
|
||||||
checkForFileNonExistance(warLocation, files3);
|
checkForFileNonExistance(warLocation, files3);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user