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
assertTrue("First item needs to be project", items[0].getData().equals(
				_p1));
		assertEquals("ws1", _commonNavigator.getWorkingSetLabel());
	}
	
	
	public void testTopLevelWorkingSet() throws Exception {
		WorkingSetActionProvider provider = (WorkingSetActionProvider) TestAccessHelper
				.getActionProvider(_contentService, _actionService,
						WorkingSetActionProvider.class);
		IExtensionStateModel extensionStateModel = _contentService
				.findStateModel(WorkingSetsContentProvider.EXTENSION_ID);
		extensionStateModel.setBooleanProperty(
				WorkingSetsContentProvider.SHOW_TOP_LEVEL_WORKING_SETS, true);
		IWorkingSet workingSet = new WorkingSet("ws1", "ws1",
				new IAdaptable[] { _p1 });
		IPropertyChangeListener l = provider.getFilterChangeListener();
		PropertyChangeEvent event = new PropertyChangeEvent(this,
				WorkingSetFilterActionGroup.CHANGE_WORKING_SET, null,
				workingSet);
		l.propertyChange(event);
		
		_viewer.expandAll();
		
		TreeItem[] items = _viewer.getTree().getItems();
		
		
		assertTrue("First item needs to be working set", items[0].getData()