private void notifyTestReran(final String testId, final String className, final String testName, final int statusCode, final String trace) { for (int i= 0; i < fListeners.length; i++) { final ITestRunListener listener= fListeners[i]; Platform.run(new ListenerSafeRunnable() { public void run() { if (listener instanceof ITestRunListener3 ) ((ITestRunListener3)listener).testReran(testId, className, testName, statusCode, trace, fExpectedResult, fActualResult); else listener.testReran(testId, className, testName, statusCode, trace); } }); }
private void notifyTestReran(String testId, String className, String testName, String status) { int statusCode= ITestRunListener.STATUS_OK; if (status.equals("FAILURE")) statusCode= ITestRunListener.STATUS_FAILURE; else if (status.equals("ERROR")) statusCode= ITestRunListener.STATUS_ERROR;  String trace= ""; if (statusCode != ITestRunListener.STATUS_OK) trace = fFailedRerunTrace.toString();  notifyTestReran(testId, className, testName, statusCode, trace);
	private void notifyTestReran(final String testId, final String className, final String testName, final int statusCode, final String trace) {		for (int i= 0; i < fListeners.length; i++) {			final ITestRunListener listener= fListeners[i];			Platform.run(new ListenerSafeRunnable() { 				public void run() {				    if (listener instanceof ITestRunListener3 ) 				        ((ITestRunListener3)listener).testReran(testId, className, testName, statusCode, trace, fExpectedResult, fActualResult);				    else						listener.testReran(testId, className, testName, statusCode, trace);				}			});		}	}