Bug 342685 EditorWithStateTest and WorkingSetTest fail on Java 7
The EditorWithStateTest test fails on Java 7. See attached test results. The reason is that the test assumes to run in a certain order but that is not guaranteed by JUnit.
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/NavigatorTestBase.java
protected NavigatorActionService _actionService;
	protected boolean _initTestData = true;
	protected static final boolean DEBUG = false;
	protected void setUp() throws Exception {
		if (_navigatorInstanceId == null) {
			throw new RuntimeException("Set the _navigatorInstanceId in the constructor");
		}
		
		if (!_navigatorInstanceId.equals(ProjectExplorer.VIEW_ID))
			EditorTestHelper.showView(ProjectExplorer.VIEW_ID, false);
		TestContentProviderPipelined.resetTest();
		TestContentProviderResource.resetTest();
		TestSorterData.resetTest();
		TestSorterResource.resetTest();
		TestLabelProvider.resetTest();
		TestDragAssistant.resetTest();
		TestEmptyContentProvider.resetTest();
		if (_initTestData) {
			clearAll();
			TestWorkspace.init();
			IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
			_project = root.getProject("Test"); 
			_expectedChildren.add(_project.getFolder("src")); 
			_expectedChildren.add(_project.getFolder("bin")); 
			_expectedChildren.add(_project.getFile(".project")); 
			_expectedChildren.add(_project.getFile(".classpath"));  
			_expectedChildren.add(_project.getFile("model.properties")); 
			_p1 = ResourcesPlugin.getWorkspace().getRoot().getProject("p1");
			_p1.open(null);
			_p2 = ResourcesPlugin.getWorkspace().getRoot().getProject("p2");