388 Class<?> fxClass = null;
389 try {
390 fxClass = Class.forName(FX_MARKER_CLASS);
391 } catch (ClassNotFoundException ex) {
392 // do nothing
393 }
394 if (fxClass != null) {
395 FXLauncherTest fxt = new FXLauncherTest();
396 fxt.run(args);
397 if (testExitValue > 0) {
398 System.out.println("Total of " + testExitValue
399 + " failed. Test cases covered: "
400 + FXLauncherTest.testcount);
401 System.exit(1);
402 } else {
403 System.out.println("All tests pass. Test cases covered: "
404 + FXLauncherTest.testcount);
405 }
406 } else {
407 System.err.println("Warning: JavaFX components missing or not supported");
408 System.err.println(" test passes vacuosly.");
409 }
410 }
411 }
|
388 Class<?> fxClass = null;
389 try {
390 fxClass = Class.forName(FX_MARKER_CLASS);
391 } catch (ClassNotFoundException ex) {
392 // do nothing
393 }
394 if (fxClass != null) {
395 FXLauncherTest fxt = new FXLauncherTest();
396 fxt.run(args);
397 if (testExitValue > 0) {
398 System.out.println("Total of " + testExitValue
399 + " failed. Test cases covered: "
400 + FXLauncherTest.testcount);
401 System.exit(1);
402 } else {
403 System.out.println("All tests pass. Test cases covered: "
404 + FXLauncherTest.testcount);
405 }
406 } else {
407 System.err.println("Warning: JavaFX components missing or not supported");
408 System.err.println(" test passes vacuously.");
409 }
410 }
411 }
|