cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Openide/Core Modules Test Specification for NetBeans 4.1

Author: Petr Zajac
Last update: 04/19/2005
Introduction:

Table of Contents

Test suite: Openide/Core Module Tests

Purpose: Check Openide/Core modules settings.
Setup: Start IDE with clear userdir, choose SDI mode from Setup Wizard.

#Test case [automated]Description
1Add Module1. Open Options dialog and select Ide Configuration ->System->Modules node.
2. Perform Add->Module.. action from popup menu.
3. Select any correct netbeans module "name".jar in filechooser.
EXPECTED RESULT: Check, if module is correctly installed and can be found in modules folder.
2Add Module from NBM1. Open Options dialog and select Ide Configuration ->System->Modules node.
2. Perform Add->Module form NBM File.. action from popup menu.
3. Select any correct netbeans "name".nbm module in filechooser (You can download it from NetBeans Autoupdate center).
4. AutoUpdate center wizard is shown. Check if module list contains your new module "name".
5. Click to next button.
6. Accept license. Download Modules panel shown.
7. Click to the Next button.
8. Click to finish button
EXPECTED RESULT: Module is installed. Check if module is intalled correctly
3Sorting modules by category1. Open Options dialog and select Ide Configuration ->System->Modules node.
2. Set "Sorted" property to "By Category". This value is default after ide installation.
EXPECTED RESULT: "Modules" node has many subfolders -- module categories. Open any category of Modules node and test if module property "Display Category" has the same value as title of category.
4Sorting modules by name1. Open Options dialog and select Ide Configuration->System->Modules node.
2. Set "Sorted" property to "By Name".
EXPECTED RESULT: All modules in "Modules" node are sorted alphabetically.
5Sorting modules by enabled status1. Open Options dialog and select Ide Configuration->System->Modules node.
2. Set "Sorted" property to "By Enabled Status".
EXPECTED RESULT: All disabled modules in "Modules" node are located behind enabled.
6Enable/Disable simple module1. Open Options dialog and select Ide Configuration ->System->Modules node.
2. Select "Form Editor" module. "Form Editor" is in java category.
3. Disable selected module from its property sheet. Icon of disabled module is gray. Disabled functionality "Form Editor" module can be simply tested. "GUI Edititng" workspace is not shown in Top Manager window.
4. Enable "Form Editor" module.
EXPECTED RESULT: Icon of enabled module is blue and "GUI Editing" workspace is shown.
7Disable module with depedency1. Open Options dialog and select Ide Configuration ->System->Modules node. "Java Source Files", "Bean Patterns", "Form Editor" and "Javadoc" modules are enabled.
2. Disable "Java Source Files" module. "Disabled Modules Used by Others" dialog shown. The first list named "In order to disable the following modules" contains "Java Source Files" item. The second list named you must also disable these modules contains "Bean Patterns", "Form Editor" and "Javadoc" modules.
3. Click to ok button.
EXPECTED RESULT: "Java Source Files", "Bean Patterns", "Form Editor" and "Javadoc" modules are disable.
8Enable module with dependency1. Open Options dialog and select Ide Configuration ->System->Modules node. "Java Source Files" and "Bean Patterns" modules are disabled
2. After Enable "Beans Patterns" module "Enabling module depending on other" dialog is shown. Upper list contains "Bean Pattern", Lower list contains "Java Source File" module.
3. Click to Ok button,
EXPECTED RESULT: "Java Source Files" and "Beans Patterns" modules enabled.
9Disable/Enable module category1. Open Options dialog and select Ide Configuration ->System->Modules node.
2. Set sorting modules by "Category".
3. Enable all modules in "Java" category.
4. Select "Java" module category. Property Enabled has value "true".
5. Set property "Enabled" of "Java" module category to "False". The modules in Java category are disabled. See to category contents.
6. Set Property "Enabled" of "Java" module category do "True". The modules in Java Category are enabled. See to the category contents.
7. Disable "Beans Pattern" module.
EXPECTED RESULT: The "Java" category property is "boolean".



Generated: Tue Apr 19 18:05:43 CEST 2005
Companion
Projects:
MySQL Database Server   GlassFish Community: an Open Source Application Server   Open Solaris  Open JDK: an Open SourceJDK   Mobile & Embedded Community     Sponsored by 
Sponsored by Sun Microsystems