User: user57
Date: 01/07/09 19:34:03
Modified: src/main/org/jboss/test/bmp/test Main.java
Log:
o changed all deploy tests to deploy as a test and to not call System.exit().
this should allow reports to be generated for tests that fail to deploy.
o modified run_tests.xml basic-security-tests to not-halt on error, so that
test-and-report will produce reports even if the security tests fail.
Revision Changes Path
1.4 +15 -18 jbosstest/src/main/org/jboss/test/bmp/test/Main.java
Index: Main.java
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/bmp/test/Main.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Main.java 2001/07/06 02:29:19 1.3
+++ Main.java 2001/07/10 02:34:03 1.4
@@ -143,24 +143,21 @@
m.testBMP();
}
- public static Test suite() {
- TestSuite suite = new TestSuite();
-
- try {
- String filename = "../deploy/bmp.jar";
- System.out.println("Deploying...");
- Deploy.deploy(filename);
+ /**
+ * Setup the test suite.
+ */
+ public static Test suite() {
+ TestSuite suite = new TestSuite();
+
+ // add a test case to deploy our support applications
+ String filename = "bmp.jar";
+ suite.addTest(new Deploy.Deployer(filename));
- suite.addTest(new TestSuite(Main.class));
+ suite.addTest(new TestSuite(Main.class));
- // add a test case to undeploy our support applications
- suite.addTest(new Deploy.Undeployer(filename));
- }
- catch (Throwable t) {
- t.printStackTrace();
- System.exit(0);
- }
-
- return suite;
- }
+ // add a test case to undeploy our support applications
+ suite.addTest(new Deploy.Undeployer(filename));
+
+ return suite;
+ }
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development