TS 60 NBPlatform

NBPM Test Specification for NetBeans 6.0

Author: Petr Zajac
Last update: 08/01/2005
Introduction: Netbeans platform manager (NBPM) should be opened by menu Tools| Netbeans Platform Manager

Contents


Test suite: NetBeans Platform Manager

Purpose:
Setup: There are no specials steps to configure the NetBeans IDE for testing NBPM.

  1. Check default platform
    1. Open NBPM window
    2. Select the (default) platform
    • EXPECTED RESULT: Check:
              The Remove button is disabled.
              The selected platform is the same build like running IDE
              The Modules tab contains all modules of run IDE
              The Sources tab is empty 
              The javadoc tab is empty 
              Check the platform name field
              Check the Platform folder field


  1. Javadoc for platform
    1. Open NBPM window
    2. Select the (default) platform
    3. Add zipped javadoc for NetBeans Build (it is on the same place, where is zipped netbeans distribution)
    4. Close the window
    5. Create new standalone module project with the default platform
    6. Add dependency to "File System API" module in library tab of project properties
    7. Create a new Class in project .
    8. Show javadoc in code completion for org.openide.filesystems.Repository.getDefault method.
    • EXPECTED RESULT: The javadoc for Repository.getDefault method shown.
  1. Add source for platfrom (zip)
    1. Open NBPM window
    2. Select the (default) platform
    3. Add zipped sources for NetBeans Build (it is on the same place, where is zipped netbeans distribution)
    4. Add dependency to "File System API" module in library tab of project properties
    5. Create a new Class in project .
    6. Type org.openide.filesystems.Repository and try Go to sources in editor (ALT + O).
    • EXPECTED RESULT: The Repository.java file was opened in editor ( bug #61187)
  1. Add source for platform (folder)
    1. Open NBPM window
    2. Select the (default) platform
    3. Add netbeans cvs root folder to sources tab (after cvs co -dP standard)
    4. Add dependency to "File System API" module in library tab of project properties
    5. Create a new Class in project .
    6. Type org.openide.filesystems.Repository and try Go to sources in editor (ALT + O).
    • EXPECTED RESULT: The Repository.java file was opened in editor ( bug #61187)
  1. Add platform
    1. Open NBPM window
    2. Click to Add platform button (the next and finish button is disabled)
    3. Select a root folder of netbeans distribution
    4. (The next and finish button is enabled)
    5. Check the platform name field on the right side)
    6. Click to next button
    7. (The finish button is enabled)
    8. Clear the Platform name field (The finish button is disabled)
    9. Set the platform name "My platform" (The finish button is enabled)
    10. Click to finish button
    • EXPECTED RESULT: The"My platform" was added to platform manager
  1. Add platform 2
    1. Try Add platform scenario once more with the same name
    • EXPECTED RESULT: The Finish button is disabled because there is not possible to add two platform with the same name.
  1. Remove platform
    1. Create a standalone netbeans module with non default platform ("my platform")
    2. Open NBPM window
    3. Remove "my platform"
    • EXPECTED RESULT: The opened project has state "missing deps", similar to J2se project when is missing library for project.
      (Test this scenario also after netbeans restart )


Generated: Tue Dec 19 16:32:42 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