TS 60 ModuleSystem

Openide/Core Modules Test Specification for NetBeans 4.1

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

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.
           


  1. Add Module
    1. Open Options dialog and select
           Ide Configuration ->System->Modules node.
    1. Perform Add->Module.. action from popup menu.
    2. Select any correct netbeans module "name".jar in filechooser.
    • EXPECTED RESULT: Check, if module is correctly installed and can be found
          in  modules folder.  
 
  1. Add Module from NBM
    1. 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).  
    1. AutoUpdate center wizard is shown. Check if module
       list contains your new module "name".  
    1. Click to next button.
    2. Accept license. Download Modules panel shown.
    3. Click to the Next button.
    4. Click to finish button
    • EXPECTED RESULT: Module is installed. Check if module is intalled correctly
  1. Sorting modules by category
    1. 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.
 
  1. Sorting modules by name
    1. 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.
  1. Sorting modules by enabled status
    1. 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.
  1. Enable/Disable simple module
    1. 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.   
    1. Enable "Form Editor" module.
    • EXPECTED RESULT: Icon of enabled module is blue and "GUI Editing" workspace is
       shown.  
 
  1. Disable module with depedency
    1. Open Options dialog and select Ide Configuration ->System->Modules node.
    "Java Source Files", "Bean Patterns", "Form Editor" and "Javadoc" modules are enabled. 
    1. 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.  
    1. Click to ok button.
    • EXPECTED RESULT: "Java Source Files", "Bean Patterns", "Form Editor" and "Javadoc"
      modules are disable.  
 
  1. Enable module with dependency
    1. Open Options dialog and select Ide Configuration ->System->Modules
     node. "Java Source Files" and "Bean Patterns"  modules are disabled 
    1. 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.
    1. Click to Ok button,
    • EXPECTED RESULT: "Java Source Files" and "Beans Patterns" modules enabled.
  1. Disable/Enable module category
    1. 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. 
    1. Set Property "Enabled" of "Java" module category do "True".
     The modules in Java Category are enabled. See to the category contents.
    1. Disable "Beans Pattern" module.
    • EXPECTED RESULT: The "Java" category property is "boolean".



Generated: Thu Dec 14 15:18:37 CET 2006

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo