Bug 299210 [CommonNavigator] Test improvements
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/jst/JstPipelineTest.java
.getData()).getAdapter(IProject.class);
		assertEquals(_project, adaptedProject);
		IFolder sourceFolder = _project.getFolder(new Path("src"));
		_viewer.add(_project, sourceFolder);
		TreeItem[] projectChildren = rootItems[_projectInd].getItems();
		if (!true)
			DisplayHelper.sleep(1000000);
		boolean foundJava = false;
		boolean foundLib = false;
		boolean foundCharset = false;
		for (int i = 0; i < projectChildren.length; i++) {
			if (projectChildren[i].getText().startsWith("Compressed Java")) {
				foundJava = true;
				_viewer.setExpandedState(projectChildren[i].getData(), true);
				TreeItem[] srcChildren = projectChildren[i].getItems();
				for (int j = 0; j < srcChildren.length; j++) {
					if (srcChildren[j].getText().startsWith(
							"Compressed Libraries"))
						foundLib = true;
					if (srcChildren[j].getText().startsWith("charsets.jar"))
						foundCharset = true;
				}
			}
		}
		assertTrue(foundJava);
		assertTrue(foundLib);
		assertTrue(foundCharset);
	}
}