blob: 239850f6d9195c34eaa32bac6ac8033624990033 (plain
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Test Scenario: Bookmarks View</title>
Purpose: To test the Bookmark view in Eclipse. We will open the view,
add a number of bookmarks to some files, open the source file for each
bookmark and then delete those bookmarks.
Install Eclipse Platform.</li>
Create a java project containing three java files and a text file.</li>
Start the workbench.</li>
Invoke Perspective > Show View > Bookmarks and verify that the Bookmarks
Select a java file in the navigator and invoke Edit > Add Bookmark.
Verify that a new bookmark appears in the Bookmarks view for the selected
Double click the bookmark in the bookmarks view and verify that an editor
opens on the source file.</li>
Select the 10th line of text in the editor and invoke Add Bookmark in the
context menu. A dialog should appear where you can type the bookmark
label. Enter "Line 10" and press OK. Verify that another bookmark
appears in the Bookmarks view with the label "Line 10". A bookmark
icon should also appear in the editor to the left of line 10.</li>
Close the editor.</li>
Select "Line 10" in the bookmarks view and press the "Go to File" button
in the toolbar. Verify that an editor opens on the source file and
that line 10 is selected.</li>
Right click on the bookmark icon in the editor and invoke "Remove Bookmark".
Verify that the bookmark disappears in the editor and the bookmarks view.</li>
In the navigator select all three java files, verify that "Add Bookmark"
is enabled, and then invoke it. Verify that 3 bookmarks are appear
in the bookmarks view.</li>
Select a project, folder, or any combination of project | folder with file.
Verify that "Add Bookmark is disabled.</li>
Go to the bookmarks view and invoke "Select All" from the context menu.
Verify that everything is selected.</li>
Then press "Return" in the bookmarks view and verify that all of the bookmarks
are opened in editors.</li>
Invoke "Delete" in the bookmarks view and verify that all bookmarks are