Commit 6456e4be authored by George Nash's avatar George Nash

Reduce the verbosity of the java TestRunner

Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
parent cd7b742a
Pipeline #436 passed with stage
in 6 minutes and 14 seconds
......@@ -16,67 +16,45 @@ public class TestRunner {
System.out.println("Running OCCredTest tests.");
result = junit.run(OCCredTest.class);
if (result.getFailureCount() > 0) {
System.out.println("OCCredTest Tests FAILED.");
exit_status = 1;
} else {
System.out.println("OCCredTest tests finished SUCCESSFULLY.");
}
System.out.println("Running OCEndpointTest tests.");
result = junit.run(OCEndpointTest.class);
if (result.getFailureCount() > 0) {
System.out.println("OCEndpointTest Tests FAILED.");
exit_status = 1;
} else {
System.out.println("OCEndpointTest tests finished SUCCESSFULLY.");
}
/* Currently OCMainTest contains not runnable test code.
/* Currently OCMainTest contains no runnable test code.
System.out.println("Running OCMainTest tests.");
result = junit.run(OCMainTest.class);
if (result.getFailureCount() > 0) {
System.out.println("OCMainTest Tests FAILED.");
exit_status = 1;
} else {
System.out.println("OCMainTest tests finished SUCCESSFULLY.");
}
*/
System.out.println("Running OCOwnershipTransferMethodsTest tests.");
result = junit.run(OCOwnershipTransferMethodsTest.class);
if (result.getFailureCount() > 0) {
System.out.println("OCOwnershipTransferMethodsTest Tests FAILED.");
exit_status = 1;
} else {
System.out.println("OCOwnershipTransferMethodsTest tests finished SUCCESSFULLY.");
}
System.out.println("Running OCRandom tests.");
result = junit.run(OCRandomTest.class);
if (result.getFailureCount() > 0) {
System.out.println("OCRandomTest Tests FAILED.");
exit_status = 1;
} else {
System.out.println("OCRandomTest tests finished SUCCESSFULLY.");
}
System.out.println("Running OCRepresentationTest tests.");
result = junit.run(OCRepresentationTest.class);
if (result.getFailureCount() > 0) {
System.out.println("OCRepresentationTest Tests FAILED.");
exit_status = 1;
} else {
System.out.println("OCRepresentationTest tests finished SUCCESSFULLY.");
}
System.out.println("Running OCUuidTest tests.");
result = junit.run(OCUuidTest.class);
if (result.getFailureCount() > 0) {
System.out.println("OCUuidTest Tests FAILED.");
exit_status = 1;
} else {
System.out.println("OCUuidTest tests finished SUCCESSFULLY.");
}
System.exit(exit_status);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment