Test: updated test ToolTest.j. Added tests for capp_lint and objj

This commit is contained in:
Alexandre Wilhelm committed 2014-11-03 19:55:02 -08:00
1 parent 4d77e7dd6b
commit 7abcc42a42
1 file changed
+12
+12
View File
@@ -29,6 +29,18 @@ function cleanup() {
status = OS.system(["flatten", "-f", "ToolsTestApp", "FlattenTestApp"].map(OS.enquote).join(" ") + " > /dev/null");
[self assert:0 equals:status message:"flatten failed"];
status = OS.system(["objj", "ToolsTestApp/AppController.j"]);
[self assert:0 equals:status message:"objj failed"];
status = OS.system(["objj", "ToolsTestApp/AppController.j", "ToolsTestApp/AppController.j"]);
[self assert:0 equals:status message:"objj failed with several files"];
status = OS.system(["objj", "-I", "ToolsTestApp/Frameworks", "ToolsTestApp/AppController.j"]);
[self assert:0 equals:status message:"objj failed with options -I"];
status = OS.system(["capp_lint", "ToolsTestApp/AppController.j"]);
[self assert:0 equals:status message:"capp lint failed"];
}
- (void)tearDown