FeaturesPluginsDocs & SupportCommunityPartners

Favorites test specification Test Specification for NetBeans 4.1

Author: Petr Zajac
Last update: 04/19/2005
Introduction: This test specs tests the Favorites feature. For details about this feature see to Favorite UI specification at http://ui.netbeans.org/nonav/docs/ui/favorites/favorites-ui-spec.html

Table of Contents

Test suite: Favorites

Purpose:
Setup: There is no specials steps to configure the NetBeans ide for testing Favorites.

#Test case [automated]Description
1default folders on unix1. Start ide with fresh userdir.
2. Open favorites tab from Window|Favorites menuitem.
EXPECTED RESULT: The user home folder is in the favorites.
2default folders on unix1. Start ide with fresh userdir.
2. Open favorites tab from Window|Favorites menuitem.
EXPECTED RESULT: ?
3Add a java package to the Favorites1. Open a java project.
2. Perform Tools|Add to Favorites action on a package from project.
EXPECTED RESULT: The folder of the package is added to the Favorites. The Favorites window is focused.
4Add a folder from Favorites1. Open a java project.
2. Perform Add to the Favorites action on the Favorites root node in the Favorites window.
3. A file chooser is shown. Select a folder in the file chooser a click to Add button.
EXPECTED RESULT: The folder is added to the Favorites. The Favorites window is focused.
5Add nonexistend file from Favorites1. Perform Add to the Favourites action on the Favourites root node in the Favorites window.
2. Type illegal (nonexistent) file name to the filechooser's edit field.
3. Click to Add button.
EXPECTED RESULT: The information dialog about nonexistent file is shown.
6Remove form Fovorites1. Select a item in Favorites view.
2. Perfom Remove from favorites action on selected node.
EXPECTED RESULT: The item is removed from Favorites view
7New Empty file in favorites root folder1. Select a root of mounted folder in Favorites.
2. Perform New|Empty file on the selected node.
3. The New empty file dialog is shown. Type a file with a extension and then oress the Ok button.
EXPECTED RESULT: New file is created in selected folder. The created file is opened in editor.
8New Empty file in a subfolder of root folder1. Select a subfolder in mounted folder.
2. Perform New|Empty file on the selected node.
3. The New empty file dialog is shown. Type a file with a extension and then press the Ok button.
EXPECTED RESULT: New file is created in selected folder. The created file is opened in editor.
9New folder in favorites folder1. Select a root of mounted folder in Favorites.
2. Perform New|Folder on the selected node.
3. The New folder dialog is shown. Type a name of new folder and then push the Ok button.
EXPECTED RESULT: New folder is created in the selected folder.
10Ignored files1. Change the Ignored Files property in Ide Configuration|System settings.
2. See to the Favorites.
EXPECTED RESULT: The files have to be filter in favorites folder.



Generated: Tue Apr 19 18:05:37 CEST 2005
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by