Bug 128048 [junit] Clear history action in JUnit view has misleading name
I20060215-0010 Clear history action suggests that past (already terminated) testruns are cleared from the testrun history, but instead the action terminates and removes all active and inactive testruns. I suggest to either implement the action to only clear terminated testruns from the history or rename it to something like "Terminate All and Remove" with an icon resembling the ones from debug.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
}
		
		Integer layoutFailures= memento.getInteger(TAG_LAYOUT_FAILURES);
		if (layoutFailures != null)
			fLayoutFailures= layoutFailures.intValue();
		Integer layoutAll= memento.getInteger(TAG_LAYOUT_ALL);
		if (layoutAll != null)
			fLayoutAll= layoutAll.intValue();
		
		String failuresOnly= memento.getString(TAG_FAILURES_ONLY);
		boolean showFailuresOnly;
		if (failuresOnly == null) {
			Integer page= memento.getInteger(TAG_PAGE);
			showFailuresOnly= page == null || page.intValue() == 0;
		} else {
			showFailuresOnly= failuresOnly.equals("true"); 
		}
		fFailuresOnlyFilterAction.setChecked(showFailuresOnly);
		setShowFailuresOnly(showFailuresOnly);
	}
	
	/**
	 * Stops the currently running test and shuts down the RemoteTestRunner
	 */
	public void stopTest() {
		if (fTestRunSession != null) {
			setContentDescription(JUnitMessages.TestRunnerViewPart_message_stopping);
			fTestRunSession.stopTestRun();
		}
	}