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/WorkingSetTest.java
IWorkbenchPage activePage = activeWindow.getActivePage();
		IWorkingSet[] activeWorkingSets = activePage.getWorkingSets();
		activePage.setWorkingSets(new IWorkingSet[] { workingSet });
		extensionStateModel.setBooleanProperty(
				WorkingSetsContentProvider.SHOW_TOP_LEVEL_WORKING_SETS, true);
		refreshViewer();
		TreeItem[] items = _viewer.getTree().getItems();
		assertTrue("First item needs to be working set", items[0].getData()
				.equals(workingSet));
		extensionStateModel.setBooleanProperty(
				WorkingSetsContentProvider.SHOW_TOP_LEVEL_WORKING_SETS, false);
		refreshViewer();
		items = _viewer.getTree().getItems();
		assertTrue("First item needs to be project", items[0].getData().equals(
				_p1));
		extensionStateModel.setBooleanProperty(
				WorkingSetsContentProvider.SHOW_TOP_LEVEL_WORKING_SETS, true);
		refreshViewer();
		items = _viewer.getTree().getItems();
		assertTrue("First item needs to be working set", items[0].getData()
				.equals(workingSet));
		
		
		activePage.setWorkingSets(activeWorkingSets);
	}
	
	public void testMultipleWorkingSets() throws Exception {
		
		
		INavigatorContentExtension ce = _contentService