@Override protected void runTest() { String path = getContext().getFilesDir().getPath() + "/config_files"; Tester tester = new Tester(); List<String> list = new LinkedList<String>( Arrays.asList( new String[] { "tester", "--verbose", "--config", path, "--suite", mSuite, "--test", mTest })); String[] array = list.toArray(new String[list.size()]); Assert.assertTrue(tester.run(array) == 0); }
/** Main method instantiates test and run test-cases. */ public static void main(String... args) throws Exception { Tester tester = new RepeatingTypeAnnotations(); tester.run(args); }
public static void main(String[] args) throws Exception { Tester tester = new Tester(); tester.run("C:\\Temp\\serialFile.ser"); }