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
.equals(workingSet));
		assertEquals("ws1", _commonNavigator.getWorkingSetLabel());
		
		
		TreeItem projectItem = items[0].getItem(0);
		assertEquals("p1", projectItem.getText());
		
	}
	
	
	public void testTopLevelChange() throws Exception {
		IExtensionStateModel extensionStateModel = _contentService
				.findStateModel(WorkingSetsContentProvider.EXTENSION_ID);
		
		
		INavigatorContentExtension ce = _contentService
				.getContentExtensionById(WorkingSetsContentProvider.EXTENSION_ID);
		ce.getContentProvider();
		IWorkingSet workingSet = new WorkingSet("ws1", "ws1",
				new IAdaptable[] { _p1 });
		WorkingSetActionProvider provider = (WorkingSetActionProvider) TestAccessHelper
				.getActionProvider(_contentService, _actionService,
						WorkingSetActionProvider.class);
		IPropertyChangeListener l = provider.getFilterChangeListener();
		PropertyChangeEvent event = new PropertyChangeEvent(this,
				WorkingSetFilterActionGroup.CHANGE_WORKING_SET, null,
				workingSet);
		l.propertyChange(event);
		IWorkbenchWindow activeWindow = PlatformUI.getWorkbench()
				.getActiveWorkbenchWindow();