Code example for TestResult

    protected TestResult createTestResult() {
        return new TestResult();
     * Provides the main entry point. First and second argument are class and 
     * method name, respectively. Third argument is the temporary file name for 
     * the result. Exits with one of the usual JUnit exit values. 
    public static void main(String args[]) {;
        CoreTestIsolator testRunner = new CoreTestIsolator();
        try { 
            TestResult r = testRunner.start(args);
            if (!r.wasSuccessful()) {