Code example for TestResult

Methods: endTest, runProtected, startTest

0
	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); 
	} 
 
	public void runBare() throws Throwable { 
		// add ConditionalTestCase behaviour 
 
		// getName will return the name of the method being run