List of usage examples for junit.framework TestResult startTest
public void startTest(Test test)
From source file:org.eclipse.gemini.blueprint.test.AbstractOsgiTests.java
/** * {@inheritDoc}/*from w ww . j a v a 2s . c o m*/ * * <p/> Replacement run method. Gets a hold of the TestRunner used for running this test so it can populate it with * the results retrieved from OSGi. */ public final void run(TestResult result) { // get a hold of the test result originalResult = result; result.startTest(osgiJUnitTest); result.runProtected(osgiJUnitTest, new Protectable() { public void protect() throws Throwable { AbstractOsgiTests.this.runBare(); } }); result.endTest(osgiJUnitTest); // super.run(result); }