Browsing Java elements using the package explorer

In this section, you will browse Java elements within the JUnit project.

  1. In the Package Explorer view, make sure the JUnit project and the source folder are expanded so you can see the packages.
  2. Expand the package junit.framework to see the Java files contained in the package.
  3. Expand the Java file TestCase.java. Note that the Package Explorer shows Java-specific sub-elements of the source code file.  The public type and its members (fields and methods) appear in the tree.

    Package Explorer

Related concepts

Java views

Related reference

Package Explorer View