Code example for TestCase

Methods: getClassrun

0
         
        while (fTests.size() != 0 && !result.shouldStop()) {
            TestCase test = (TestCase)fTests.elementAt(i);
             
            Thread.currentThread().setContextClassLoader(
                    test.getClass().getClassLoader());
             
            test.run(result);
 
            /* 
            if (fVictim != null) { 
                TestResult dummy = fVictim.run(); 
                 
                if (dummy.failureCount() != 0) { 
                    result.addError(fTests.elementAt(i), new RuntimeException( 
                            "Probable side effect",   
                            ((TestFailure)dummy.failures().nextElement()). 
                            thrownException())); 
                } else if (dummy.errorCount() != 0) { 
                    result.addError(fTests.elementAt(i), new RuntimeException( 
Connect your IDE to all the code out there  Get Codota for Java