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; }
protected void completed() { time = System.currentTimeMillis() - time; System.out.println(name() + " completed. " + time + " ms"); System.out.println("Test cases: " + testCases); }
public static void main(String[] args) { time = System.currentTimeMillis(); SodaTest st = new SodaTest(); st.run(CLASSES, ENGINES, quiet); st.completed(); }