Bug 5755 Open Type dialog is missing types
I can't find any of the classes in some of my packages in the Open Type(Ctrl- Shift-T) dialog. They just aren't there... Class files exist for them. 20011106
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/JavaModelUtilTest.java
JavaProjectHelper.delete(fJProject1);
		JavaProjectHelper.delete(fJProject2);
	}
	private void assertElementName(String name, IJavaElement elem, int type) {
		assertNotNull(name, elem);
		assertEquals(name + "-name", name, elem.getElementName());
		assertTrue(name + "-type", type == elem.getElementType());
	}
	public void testFindType() throws Exception {
		IType type= JavaModelUtil.findType(fJProject1, "junit.extensions.ExceptionTestCase");
		assertElementName("ExceptionTestCase", type, IJavaElement.TYPE);
		type= JavaModelUtil.findType(fJProject1, "junit.samples.money.IMoney");
		assertElementName("IMoney", type, IJavaElement.TYPE);	
		type= JavaModelUtil.findType(fJProject1, "junit.tests.TestCaseTest.TornDown");
		assertElementName("TornDown", type, IJavaElement.TYPE);
		
		type= JavaModelUtil.findType(fJProject1, "mylib.Foo");
		assertElementName("Foo", type, IJavaElement.TYPE);
		
		type= JavaModelUtil.findType(fJProject1, "mylib.Foo.FooInner");
		assertElementName("FooInner", type, IJavaElement.TYPE);
		
		type= JavaModelUtil.findType(fJProject1, "mylib.Foo.FooInner.FooInnerInner");
		assertElementName("FooInnerInner", type, IJavaElement.TYPE);
		
		type= JavaModelUtil.findType(fJProject1, "pack1.ReqProjType");
		assertElementName("ReqProjType", type, IJavaElement.TYPE);
		
		type= JavaModelUtil.findType(fJProject1, "pack1.ReqProjType.Inner");
		assertElementName("Inner", type, IJavaElement.TYPE);