Outline View
Purpose: To test the Outline view in Eclipse. The Outline view is
just a container for the pages contributed by open editors. Therefore,
this test will focus on the creation, show, and closure of those pages.
Setup:
-
Install Eclipse Platform.
-
Create a java project containing three java files and a text file.
Method:
-
Start the workbench.
-
If any editor is open close it.
-
Verify that the Outline view is empty and contains the text "An Outline
is not available".
-
Open an editor on a java file. Verify that a java page appears in the outline
view. If you select items in this page the scroll and selected text
within the editor should change.
-
Open a second file in a java editor. Verify that a second java page
appears in the outline view.
-
If you switch between the two editors the visible page should change.
-
Open a .txt file in a text editor. When this editor is active the
outline view will be empty and contain the standard empty text as described
in step 2.
-
If you switch between a text and java editor the visible page should change.
Verify that the toolbar and menu items in the outline also chnage.
The java editor has Field and Member toolbar items.
-
Close one editor. If another editor is activated verify that its
outline page is now visible. If no editor is activated verify that
the outline is empty.
-
Close the last editor and verify that the default blank page is visible
in the outline.