Community
Participate
Working Groups
I don't have an isolated test case, but here is what I'm seeing. 1) create a project with the junit.jar as an external library 2) find the type junit.framework.TestCase 3) ask the type for its super type hierarchy: ITypeHierarchy typeHier= type.newSupertypeHierarchy(null); ->get back an empty type hierarchy Executing the same code with the junit source code loaded return the correct type hierarchy. This problem block the user from creating a TestCase using the JUnit TestCase wizard. I've disabled the code that tests for a subclass for now.
I could not reproduce in build 20020521. Asking the binary type TestCase (in external jar junit.jar) for its super type hierarchy returns the following hierarchy: Focus: junit.framework.TestCase Super types: TestCase [in TestCase.class [in junit.framework [in D:\eclipse\sdk\eclipse\plugins\org.junit_3.7.0\junit.jar [in Test]]]] Test [in Test.class [in junit.framework [in D:\eclipse\sdk\eclipse\plugins\org.junit_3.7.0\junit.jar [in Test]]]] Assert [in Assert.class [in junit.framework [in D:\eclipse\sdk\eclipse\plugins\org.junit_3.7.0\junit.jar [in Test]]]] Object [in Object.class [in java.lang [in D:\ive04292002 \ive\lib\jclMax\classes.zip [in Test]]]] Sub types: TestCase [in TestCase.class [in junit.framework [in D:\eclipse\sdk\eclipse\plugins\org.junit_3.7.0\junit.jar [in Test]]]] Do you have more details?
cannot reproduce in F1 anymore - closing
Cannot reproduce either.