5556575859606162636465
public File getSourceWorkspacePath() { return new File(super.getSourceWorkspacePath(), PROJECT_BASE); } public void run(final TestResult result) { Protectable p = new Protectable() { public void protect() throws Exception { setUpSuite(); CodeAssistProjectTests.super.run(result); tearDownSuite(); }
157158159160161162163164165166167
} public void run( TestResult result ) { result.startTest( this ); Protectable p= new Protectable() { public void protect() throws Throwable { runBare(); } }; result.runProtected( this, p);
160161162163164165166167168169170
} public void run( TestResult result ) { System.out.println(document); result.startTest( this ); Protectable p= new Protectable() { public void protect() throws Throwable { DomTestXml.this.runBare(); } }; result.runProtected( this, p);
176177178179180181182183184185186
// 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(); } });
93949596979899100101102103
try { osgiTestExtensions.osgiSetUp(); try { // use TestResult method to bypass the setUp/tearDown methods result.runProtected(rawTest, new Protectable() { public void protect() throws Throwable { osgiTestExtensions.osgiRunTest(); }
154155156157158159160161162163164
* * @see TestSetup#run(TestResult) */ public void run(final TestResult theResult) { Protectable p = new Protectable() { public void protect() throws Exception { try {
1314151617181920212223
public TestSetup(Test test) { super(test); } public void run(final TestResult result) { Protectable p= new Protectable() { public void protect() throws Exception { setUp(); basicRun(result); tearDown(); }