Bug 35590 JUnit window doesn't report errors from junit.extensions.TestSetup [JUnit]
The class junit.extensions.TestSetup is a decorator to set up additional fixture state once before tests are run. I have a TestSuite wrapped into a TestSetup for that purpose. The JUnit window in the Java perspective shows neither errors (exceptions) nor failures (assertions) that happen in my TestSetup.setUp() method. The only thing I get is a comment on the status line: JUnit test run finished: 1.913 seconds (Errors: 0, Failures: 1) Just FYI, my class ActivationsTest creates a TestSuite like this: public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( new ActivationsTest( "testAddAccount" ) ); suite.addTest( new ActivationsTest( "testAddAccountReserveMobile" ) ); suite.addTest( new ActivationsTest( "testReserveAvailableMobile" ) ); return new CAMTestSetup( suite, "ActivationsTest" ); }//suite()
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestHierarchyTab.java
manager.add(new RerunAction(fTestRunnerPart, getSelectedTestId(), getClassName(), getTestMethod(), ILaunchManager.DEBUG_MODE));
				} 
			}
			manager.add(new Separator());
			manager.add(new ExpandAllAction());
		}
	}	
	
	private boolean testClassExists(String className) {
		IJavaProject project= fTestRunnerPart.getLaunchedProject();
		try {
			IType type= project.findType(className);
			return type != null;
		} catch (JavaModelException e) {
			
		}
		return false;
	}
	public void newTreeEntry(String treeEntry) {
		
		int index0= treeEntry.indexOf(',');
		StringBuffer testStringBuffer= new StringBuffer(100);
		int index1= scanTestName(treeEntry, index0+1, testStringBuffer);
		int index2= treeEntry.indexOf(',', index1+1);
		String testString= testStringBuffer.toString().trim();
		String id= treeEntry.substring(0, index0);
		TestRunInfo testInfo= new TestRunInfo(id, testString);
		
		String isSuite= treeEntry.substring(index1+1, index2);
		int testCount= Integer.parseInt(treeEntry.substring(index2+1));