public static void main(final String args[]) { for (int i = 0; i < args.length; i++) { if (args[i].equals("-time")) { i++; duration = MiscUtils.atol(args[i], duration); } else if (args[i].equals("-test")) { i++; testNum = MiscUtils.atoi(args[i], 0); } else if (args[i].equals("-noresize")) { rwsize = null; } else if (args[i].equals("-es2")) { forceES2 = true; } else if (args[i].equals("-gl3")) { forceGL3 = true; } else if (args[i].equals("-vsync")) { i++; swapInterval = MiscUtils.atoi(args[i], swapInterval); } } System.err.println("resize " + rwsize); System.err.println("forceES2 " + forceES2); System.err.println("forceGL3 " + forceGL3); System.err.println("swapInterval " + swapInterval); org.junit.runner.JUnitCore.main(TestBug816OSXCALayerPos01AWT.class.getName()); }
public static void main(final String args[]) { for (int i = 0; i < args.length; i++) { if (args[i].equals("-time")) { i++; duration = MiscUtils.atol(args[i], duration); } else if (args[i].equals("-noanim")) { useAnimator = false; } else if (args[i].equals("-noresize")) { doResizeTest = false; } } System.err.println("useAnimator " + useAnimator); org.junit.runner.JUnitCore.main(TestGearsNewtAWTWrapper.class.getName()); }
public static void main(String args[]) throws IOException { for (int i = 0; i < args.length; i++) { if (args[i].equals("-time")) { durationPerTest = atoi(args[++i]); } else if (args[i].equals("-wait")) { waitAdd2nd = atoi(args[++i]); } } String tstname = TestParenting03bAWT.class.getName(); /* org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(new String[] { tstname, "filtertrace=true", "haltOnError=false", "haltOnFailure=false", "showoutput=true", "outputtoformatters=true", "logfailedtests=true", "logtestlistenerevents=true", "formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter", "formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,TEST-"+tstname+".xml" } ); */ org.junit.runner.JUnitCore.main(tstname); }