Beispiel #1
0
 private static STClass[] sodaTestCases() {
   STClass[] commonCases = commonTestCases();
   STClass[] collectionCases = collectionTestCases();
   STClass[] allCases = new STClass[commonCases.length + collectionCases.length];
   System.arraycopy(commonCases, 0, allCases, 0, commonCases.length);
   System.arraycopy(collectionCases, 0, allCases, commonCases.length, collectionCases.length);
   return allCases;
 }
Beispiel #2
0
 protected void completed() {
   time = System.currentTimeMillis() - time;
   System.out.println(name() + " completed. " + time + " ms");
   System.out.println("Test cases: " + testCases);
 }
Beispiel #3
0
 public static void main(String[] args) {
   time = System.currentTimeMillis();
   SodaTest st = new SodaTest();
   st.run(CLASSES, ENGINES, quiet);
   st.completed();
 }