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:

  1. Install Eclipse Platform.
  2. Create a java project containing three java files and a text file.
Method:
  1. Start the workbench.
  2. If any editor is open close it.
  3. Verify that the Outline view is empty and contains the text "An Outline is not available".
  4. 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.
  5. Open a second file in a java editor.  Verify that a second java page appears in the outline view.
  6. If you switch between the two editors the visible page should change.
  7. 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.
  8. 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.
  9. 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.
  10. Close the last editor and verify that the default blank page is visible in the outline.