public static void main(final String args[]) throws IOException {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       i++;
       try {
         duration = Integer.parseInt(args[i]);
       } catch (final Exception ex) {
         ex.printStackTrace();
       }
     } else if (args[i].equals("-period")) {
       i++;
       try {
         period = Integer.parseInt(args[i]);
       } catch (final Exception ex) {
         ex.printStackTrace();
       }
     } else if (args[i].equals("-testUnsafe")) {
       testEvenUnsafeSwapGLContext = true;
     }
   }
   /**
    * BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
    * System.err.println("Press enter to continue"); System.err.println(stdin.readLine());
    */
   org.junit.runner.JUnitCore.main(TestGLContextDrawableSwitch02AWT.class.getName());
 }
 public static void main(String args[]) throws IOException {
   System.err.println("main - start");
   boolean wait = false;
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       durationPerTest = MiscUtils.atoi(args[++i], (int) durationPerTest);
     }
     if (args[i].equals("-wait")) {
       wait = true;
     }
   }
   if (wait) {
     while (-1 == System.in.read()) ;
     TestGLSLShaderState01NEWT tst = new TestGLSLShaderState01NEWT();
     try {
       tst.testShaderState01PerformanceDouble();
     } catch (Exception e) {
       e.printStackTrace();
     }
   } else {
     String tstname = TestGLSLShaderState01NEWT.class.getName();
     org.junit.runner.JUnitCore.main(tstname);
   }
   System.err.println("main - end");
 }
Пример #3
0
  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(String args[]) throws IOException {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       i++;
       duration = MiscUtils.atol(args[i], duration);
     }
   }
   org.junit.runner.JUnitCore.main(TestTGATextureFromFileNEWT.class.getName());
 }
 public static void main(final String args[]) throws IOException {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       i++;
       duration = MiscUtils.atol(args[i], duration);
     }
   }
   org.junit.runner.JUnitCore.main(TestTessellationShader01GL4NEWT.class.getName());
 }
Пример #6
0
 public static void main(String args[]) throws IOException {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       duration = MiscUtils.atoi(args[++i], (int) duration);
     }
   }
   String tstname = TestBug692GL3VAONEWT.class.getName();
   org.junit.runner.JUnitCore.main(tstname);
 }
Пример #7
0
 public static void main(String args[]) throws IOException {
   ManualTest = args.length > 0;
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       i++;
       Duration = atoi(args[i]);
     } else if (args[i].equals("-fontFile")) {
       i++;
       fontFileName = args[i];
     } else if (args[i].equals("-fontSet")) {
       i++;
       fontSet = atoi(args[i]);
     } else if (args[i].equals("-fontFamily")) {
       i++;
       fontFamily = atoi(args[i]);
     } else if (args[i].equals("-fontStyle")) {
       i++;
       fontStylebits = atoi(args[i]);
     } else if (args[i].equals("-fontSize")) {
       i++;
       fontSizeFixed = atoi(args[i]);
     } else if (args[i].equals("-smsaa")) {
       i++;
       SceneMSAASamples = atoi(args[i]);
     } else if (args[i].equals("-gmsaa")) {
       i++;
       GraphMSAASamples = atoi(args[i]);
     } else if (args[i].equals("-gvbaa")) {
       i++;
       GraphVBAASamples = atoi(args[i]);
     } else if (args[i].equals("-textAnim")) {
       TextAnim = true;
     } else if (args[i].equals("-vsync")) {
       i++;
       SwapInterval = MiscUtils.atoi(args[i], SwapInterval);
     } else if (args[i].equals("-wait")) {
       WaitStartEnd = true;
     }
   }
   System.err.println(
       "Font [set "
           + fontSet
           + ", family "
           + fontFamily
           + ", style "
           + fontStylebits
           + ", size "
           + fontSizeFixed
           + "], fontFileName "
           + fontFileName);
   System.err.println("Scene MSAA Samples " + SceneMSAASamples);
   System.err.println("Graph MSAA Samples " + GraphMSAASamples);
   System.err.println("Graph VBAA Samples " + GraphVBAASamples);
   System.err.println("swapInterval " + SwapInterval);
   String tstname = TestTextRendererNEWT00.class.getName();
   org.junit.runner.JUnitCore.main(tstname);
 }
Пример #8
0
 public static void main(String args[]) {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       duration = atoi(args[++i]);
     }
   }
   System.out.println("durationPerTest: " + duration);
   org.junit.runner.JUnitCore.main(TestSWTEclipseGLCanvas01GLn.class.getName());
 }
 public static void main(final String[] args) throws IOException {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       if (++i < args.length) {
         durationPerTest = atoi(args[i]);
       }
     }
   }
   org.junit.runner.JUnitCore.main(TestMultipleNewtCanvasAWT.class.getName());
 }
Пример #10
0
 public static void main(final String[] args) {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       durationPerTest = MiscUtils.atoi(args[++i], 500);
     }
   }
   System.out.println("durationPerTest: " + durationPerTest);
   final String tstname = TestMultisampleES2NEWT.class.getName();
   org.junit.runner.JUnitCore.main(tstname);
 }
Пример #11
0
  public static void main(String[] _) {

// Here you can add a comma-separated list of JUnit test classes if you'd like
// to run the tests specified in them. For instance, if you have the classes
// FirstTest and SecondTest you'd like run, add the following:

    org.junit.runner.JUnitCore.main(
      PositionTest.class.getName(),
      ExpressionTest.class.getName()
    );
  }
Пример #12
0
 public static void main(final String args[]) {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       i++;
       try {
         duration = Integer.parseInt(args[i]);
       } catch (final Exception ex) {
         ex.printStackTrace();
       }
     }
   }
   org.junit.runner.JUnitCore.main(TestTiledRendering2NEWT.class.getName());
 }
 public static void main(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("-keyFrame")) {
       keyFrame = true;
     } else if (args[i].equals("-noSnapshot")) {
       doSnapshot = false;
     }
   }
   org.junit.runner.JUnitCore.main(TestGLReadBuffer01GLCanvasAWT.class.getName());
 }
 public static void main(final String args[]) throws IOException {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       i++;
       try {
         // duration = Integer.parseInt(args[i]);
       } catch (final Exception ex) {
         ex.printStackTrace();
       }
     }
   }
   final String tstname = TestGLContextSurfaceLockNEWT.class.getName();
   org.junit.runner.JUnitCore.main(tstname);
 }
Пример #15
0
 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());
 }
Пример #16
0
  public static void main(String args[]) throws IOException, InterruptedException {
    String tstname = TestRecursiveLock01.class.getName();
    org.junit.runner.JUnitCore.main(tstname);

    /**
     * BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
     * System.err.println("Press enter to continue"); System.err.println(stdin.readLine());
     * TestRecursiveLock01 t = new TestRecursiveLock01();
     * t.testLockedObjectThreading5x1000x10000N_Int01_Unfair();
     *
     * <p>t.testLockedObjectThreading5x1000x10000N_Int01_Fair();
     * t.testLockedObjectThreading5x1000x10000N_Java5_Fair();
     * t.testLockedObjectThreading5x1000x10000N_Int01_Unfair();
     * t.testLockedObjectThreading5x1000x10000N_Java5_Unfair();
     */
  }
Пример #17
0
 public static void main(final String args[]) {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       i++;
       try {
         duration = Integer.parseInt(args[i]);
       } catch (final Exception ex) {
         ex.printStackTrace();
       }
     }
   }
   /**
    * BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
    * System.err.println("Press enter to continue"); System.err.println(stdin.readLine());
    */
   org.junit.runner.JUnitCore.main(TestSharedContextVBOES2AWT3.class.getName());
 }
Пример #18
0
 public static void main(final String args[]) {
   for (int i = 0; i < args.length; i++) {
     if (args[i].equals("-time")) {
       i++;
       try {
         duration = Integer.parseInt(args[i]);
       } catch (final Exception ex) {
         ex.printStackTrace();
       }
     } else if (args[i].equals("-vsync")) {
       i++;
       swapInterval = MiscUtils.atoi(args[i], swapInterval);
     } else if (args[i].equals("-es2")) {
       forceES2 = true;
     } else if (args[i].equals("-ffpemu")) {
       forceFFPEmu = true;
     }
   }
   org.junit.runner.JUnitCore.main(TestGearsES1NEWT.class.getName());
 }
Пример #19
0
 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);
 }
Пример #20
0
 public static void main(String[] args) throws Exception {
   org.junit.runner.JUnitCore.main(FileIOTest.class.getName());
 }
 public static void main(String[] args) {
   String[] args2 = {GraphTest_RemoveNodes.class.getName()};
   JUnitCore.main(args2);
 }
Пример #22
0
 public static void main(String[] args) {
   JUnitCore.main(ATest4.class.getName());
 }
Пример #23
0
 public static void main(String args[]) {
   org.junit.runner.JUnitCore.main("aud.test.QueueTest");
 }
Пример #24
0
 public static void main(String[] args) throws Exception {
   org.junit.runner.JUnitCore.main(CrudBasicTransformTest.class.getName());
 }
Пример #25
0
 public static void main(String args[]) {
   org.junit.runner.JUnitCore.main("Testing.NBHM_Tester.NBHMID_Tester2");
 }
Пример #26
0
 public static void main(String args[]) {
   org.junit.runner.JUnitCore.main("is.ru.stringcalculator.CalculatorTest");
 }
Пример #27
0
 /** @param args */
 public static void main(String[] args) {
   // TODO Auto-generated method stub
   JUnitCore.main("mirae.test.UserDAOTest");
 }
Пример #28
0
 public static void main(final String args[]) throws IOException {
   final String tstname = TestGLDebug00NEWT.class.getName();
   org.junit.runner.JUnitCore.main(tstname);
 }
 public static void main(String args[]) throws Exception {
   String testName = TestNewtEventModifiersAWTCanvas.class.getName();
   org.junit.runner.JUnitCore.main(testName);
 }
Пример #30
0
 public static void main(String args[]) {
   org.junit.runner.JUnitCore.main("nzilbb.ag.test.TestAnchor");
 }