Bug 70570 Show Junit view on error preference totally broken [JUnit]
R3.0 The state of the Java > JUnit > "Show Junit results view only if errors or failures occur" has no effect at all i.e. the view opens whether this preference is checked or not (minor detail: if JUnit is a fast view then the pref seems to work). While this is not yet a major bug it unfortunately also affects whether the JUnit view's title (progress) gets updated: there's a missing ! and hence it does not update the title when I uncheck this preference. The only time when the icon update should not be done is when the JUnit view hasn't been created yet.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
private StopAction fStopAction;
	
	private class StopAction extends Action {
		public StopAction() {
			setText(JUnitMessages.getString("TestRunnerViewPart.stopaction.text"));
			setToolTipText(JUnitMessages.getString("TestRunnerViewPart.stopaction.tooltip"));
			setDisabledImageDescriptor(JUnitPlugin.getImageDescriptor("dlcl16/stop.gif")); 
			setHoverImageDescriptor(JUnitPlugin.getImageDescriptor("elcl16/stop.gif")); 
			setImageDescriptor(JUnitPlugin.getImageDescriptor("elcl16/stop.gif")); 
		}
		public void run() {
			stopTest();
			setEnabled(false);
		}
	}
	private class RerunLastAction extends Action {
		public RerunLastAction() {
			setText(JUnitMessages.getString("TestRunnerViewPart.rerunaction.label")); 
			setToolTipText(JUnitMessages.getString("TestRunnerViewPart.rerunaction.tooltip")); 
			setDisabledImageDescriptor(JUnitPlugin.getImageDescriptor("dlcl16/relaunch.gif")); 
			setHoverImageDescriptor(JUnitPlugin.getImageDescriptor("elcl16/relaunch.gif")); 
			setImageDescriptor(JUnitPlugin.getImageDescriptor("elcl16/relaunch.gif")); 
		}
		
		public void run(){
			rerunTestRun();
		}
	}
	
	private class ToggleOrientationAction extends Action {