use of org.junit.runner.notification.Failure in project GNS by MobilityFirst.
the class BatchCreateOpsFail method main.
/**
*
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
Util.assertAssertionsEnabled();
processArgs(args);
Result result = JUnitCore.runClasses(BatchCreateOpsFail.class);
for (Failure failure : result.getFailures()) {
System.out.println(failure.getMessage());
failure.getException().printStackTrace();
}
}
use of org.junit.runner.notification.Failure in project GNS by MobilityFirst.
the class SequentialCreateFieldTimeout method main.
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
Util.assertAssertionsEnabled();
Result result = JUnitCore.runClasses(GNSClientCapacityTest.class);
for (Failure failure : result.getFailures()) {
System.out.println(failure.getMessage());
failure.getException().printStackTrace();
}
}
use of org.junit.runner.notification.Failure in project GNS by MobilityFirst.
the class ServerIntegrationTest method main.
/**
*
* @param args
*/
public static void main(String[] args) {
Result result = JUnitCore.runClasses(ServerIntegrationTest.class);
System.out.println("\n\n-----------Completed all " + result.getRunCount() + " tests" + (result.getFailureCount() > 0 ? "; the following " + result.getFailureCount() + " tests failed:" : " successfully") + "--------------");
for (Failure failure : result.getFailures()) {
System.out.println(failure.toString() + "\n");
}
}
use of org.junit.runner.notification.Failure in project GNS by MobilityFirst.
the class SubGuidDeletesTest method main.
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
Util.assertAssertionsEnabled();
processArgs(args);
Result result = JUnitCore.runClasses(SubGuidDeletesTest.class);
for (Failure failure : result.getFailures()) {
System.out.println(failure.getMessage());
failure.getException().printStackTrace();
}
}
use of org.junit.runner.notification.Failure in project GNS by MobilityFirst.
the class TestActiveCodeRemoteQueryClient method main.
/**
* @param args
*/
public static void main(String[] args) {
Result result = JUnitCore.runClasses(TestActiveCodeRemoteQueryClient.class);
for (Failure failure : result.getFailures()) {
System.out.println(failure.getMessage());
failure.getException().printStackTrace();
}
}
Aggregations