public virtual Result run(Request request, JUnitCore core) { core.addListener(this.fHistory.listener()); return core.run(this.sortRequest(request).getRunner()); }
public static void runMainAndExit(JUnitSystem system, params string[] args) { Result result = new JUnitCore().runMain(system, args); system.exit(!result.wasSuccessful() ? 1 : 0); }