Bug 217801 [CommonNavigator] Capability filtering of commonWizard extensions uses wrong identifier
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/PipelineTest.java
updateFilters.execute(null, null);
	}
	public void testNavigatorRootContents() throws Exception {
		assertEquals(
				"There should be no visible extensions for the pipeline viewer.", 0,
				contentService.getVisibleExtensionIds().length);
		contentService.bindExtensions(
				new String[] { COMMON_NAVIGATOR_RESOURCE_EXT, COMMON_NAVIGATOR_JAVA_EXT }, false);
		assertEquals(
				"There should be two visible extension for the pipeline viewer.", 2,
				contentService.getVisibleExtensionIds().length);
		contentService.getActivationService().activateExtensions(
				new String[] { COMMON_NAVIGATOR_RESOURCE_EXT, COMMON_NAVIGATOR_JAVA_EXT }, true);
		viewer.refresh();
		
		
		viewer
				.setSelection(new StructuredSelection(project
						.getFile(".project")), true); 
		TreeItem[] rootItems = viewer.getTree().getItems();
		
		assertEquals("There should be one item.", 1, rootItems.length); 		
		
		assertTrue("The root object should be an IJavaProject, which is IAdaptable.", rootItems[0].getData() instanceof IAdaptable); 
		IProject adaptedProject = (IProject) ((IAdaptable)rootItems[0].getData()).getAdapter(IProject.class); 
		assertEquals(project, adaptedProject);
		
		IFolder sourceFolder = project.getFolder(new Path("src"));
		viewer.add(project, sourceFolder);