Bug 299210 [CommonNavigator] Test improvements
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/jst/JstPipelineTest.java
.getContentProvider().getClass().getClassLoader());
	}
	/*
	 * This sort of approximates the JST/JDT pipeline relationship. The thing
	 * this is mainly testing for is the case where the JST NCE provides JDT
	 * objects as the content, and the JDT label provider does not get invoked
	 * for those objects.
	 */
	public void testJstPipeline() throws Exception {
		_contentService.bindExtensions(new String[] {
				COMMON_NAVIGATOR_RESOURCE_EXT, COMMON_NAVIGATOR_JAVA_EXT,
				TEST_CONTENT_JST }, false);
		
		
		assertEquals(
				"There should be two visible extensions for the pipeline viewer.",
				3, _contentService.getVisibleExtensionIds().length);
		_contentService.getActivationService().activateExtensions(
				new String[] { COMMON_NAVIGATOR_RESOURCE_EXT,
						COMMON_NAVIGATOR_JAVA_EXT, TEST_CONTENT_JST }, true);
		refreshViewer();
		
		_viewer.setSelection(new StructuredSelection(_project
				.getFile(".project")), true); 
		TreeItem[] rootItems = _viewer.getTree().getItems();
		assertEquals(
				"There should be one item.", _projectCount, rootItems.length); 		
		assertTrue(
				"The root object should be an IJavaProject, which is IAdaptable.", rootItems[0].getData() instanceof IAdaptable); 
		IProject adaptedProject = (IProject) ((IAdaptable) rootItems[_projectInd]