NBPM Test Specification for NetBeans 4.2
Author: Petr Zajac
Last update: 08/01/2005
Introduction: Netbeans platform manager (NBPM) should be opened by menu Tools| Netbeans Platform Manager
Table of Contents
|
Purpose:
Setup:
There is no specials steps to configure the NetBeans ide for testing NBPM.
| # | Test case [automated] | Description |
| 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 runned IDE
The Sources tab is empty
The javadoc tab is empty
Check the platform name field
Check the Platform folder field
|
| 2 | 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. |
| 3 | 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) |
| 4 | Add source for platfrom (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) |
| 5 | Add platform | 1.
Open NBPM window 2.
Click to Add platfrom button (the next and finish button is disabled) 3.
Select a root folde 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 |
| 6 | Add platform 2 | 1.
Try Add platform scenarion once more with the same name
|
|
EXPECTED RESULT:
The Finish button is enabled because there is not posible to add two platform with the same name. |
| 7 | Remove platform[TODO] | 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 "mising deps", similiar to J2se project when is missing library for project.
(Test this scenario also after netbeans restart ) |
|
Generated: Fri Aug 12 01:37:09 CEST 2005