if (!fTestIsRunning) { fTestIsRunning= false; testEnded(testCaseElement); }
		public void testFailed(TestCaseElement testCaseElement, TestElement.Status status, String trace, String expected, String actual) {			if (isAutoScroll()) {				fTestViewer.registerFailedForAutoScroll(testCaseElement);			}			fTestViewer.registerViewerUpdate(testCaseElement);			String testId= testCaseElement.getId();			String testName= testCaseElement.getTestName();					    TestRunInfo testInfo= getTestInfo(testId);		    if (testInfo == null) {		        testInfo= new TestRunInfo(testId, testName);		        fTestInfos.put(testId, testInfo);		    }		    testInfo.setTrace(trace);		    testInfo.setStatus(status.getOldCode());		    if (expected != null && expected.length() != 0) {				testInfo.setExpected(expected.substring(0, expected.length()-1));			}		    if (actual != null && actual.length() != 0)		        testInfo.setActual(actual.substring(0, actual.length()-1));		    //		    if (status == ITestRunListener.STATUS_ERROR)//		        fErrorCount++;//		    else//		        fFailureCount++;		    fFailures.add(testInfo);		    // show the view on the first error only		    if (fShowOnErrorOnly && (getErrorsPlusFailures() == 1)) 		        postShowTestResultsView();		    		    // [Bug 35590] JUnit window doesn't report errors from junit.extensions.TestSetup [JUnit]		    // when a failure occurs in test setup then no test is running		    // to update the views we artificially signal the end of a test run		    if (!fTestIsRunning) {				fTestIsRunning= false;				testEnded(testCaseElement);			}		}