Bug 300012 [CommonNavigator] CNF test improvements
Various improvements and corrections.
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/PipelineChainTest.java
}
	
	
	
	public void XXXtestInterceptRefreshOnChildTypeChangeWithLabel() throws CoreException
	{
		_initContentWithLabel();
		_testInterceptRefreshOnChildTypeChange();
	}
	
	private void _testInterceptRefreshOnChildTypeChange() throws CoreException {
		
		final IFile file2 = _p2.getFile("file2.txt");
		
		IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
			
			public void run(IProgressMonitor monitor) throws CoreException {
				file2.delete(true, new NullProgressMonitor());
				file2.create(null, true, null);
			}
		};
		
		TestPipelineProvider.reset();
		ResourcesPlugin.getWorkspace().run(runnable, new NullProgressMonitor());
		
		assertEquals("Wrong query sequence for interceptRefresh/update", "ACGFBDE", 
				TestPipelineProvider.UPDATES.get(file2));
	}
}