TS 60 ProjectsProperties
Apisupport Properties Test Specification for NetBeans 6.0
Author: Petr Zajac
Last update: 07/24/2007
Introduction: Test specs for Module project, Module suite prperties
Contents |
Test suite: APISUPPORT properties
Purpose:
Setup: Show properties for module project. When are all action finished click to ok button.
- Project folder field
- Check the read only project folder field
- EXPECTED RESULT: Contains the root folder of project
- Module suiite field
- Check the module suite field
- EXPECTED RESULT: It is :
- For standalone module the module Suite field is not present
- For module in Module suite - contains the suite folder
- Source level field
- Add a javaclass which support jdk1.5 to project
- Try compile the projet for different source levels
- EXPECTED RESULT:
- The compilation must fail when is selected the jdk 1.4 source level
- The compilation pass when is selected the jdk 1.5 source level
- Change platform
- Change platform in libraries panel. Use also Manage platforms Button to customize available platforms.
- EXPECTED RESULT:
- The platform is changed for standalone module.
- The combo box and Manage Platforms button are disabled when the project is in Module suite
- Add Module to classpath
- Select default platform for module (run ide) in libraries panel
- Click to Add button
- Select FileSystem API module. Try also Filter field:
classname - LocalFileSystem
package name - org.openide.filesystems
JAR paths - org-openide-filesystems.jar
display name - File System API
code base name - org.openide.filesystems
- EXPECTED RESULT: The module was added to classpath. Create a java class in the project and try add org.openide.LocalFileSystem lfs line to test classpath consintency.
- Description in add module
- Select default platform for module (run ide) in libraries panel
- Click to Add button
- Select FileSystem API module.
- EXPECTED RESULT: The description text area contains information about FileSystem API (OpenIDE-Module-Long-Description)
- Show javadoc in add module
- Select default platform for module (run ide) in libraries panel
- Click to Add button
- Select FileSystem API module.
- click to show javadoc in orter to show javadoc for selected module in external browser. The java doc must be present in platform.
- EXPECTED RESULT: The javadoc for FileSystem module was shown if the javadoc is present in platform. When the javadoc is not present
in the platform the Show javadoc button is disabled
- Remove module
- Select a module added by previous testcase (FileSystem API).
- Click to remove button
- EXPECTED RESULT: The module was removed from classpath. Create a java class in the project and try add org.openide.LocalFileSystem lfs line to test classpath consintency
The compilation of the file fails.
- Edit module dependecy
- Add FileSystem API to classpath (use Add Module to classpath testcase)
- Select the File System API in libraries panel.
- Click to Edit... button
- EXPECTED RESULT: Code base Name field contains:
- Code Name Base- org.openide.filesystems
- JAR - .../platform6/core/org-openide-filesystems.jar
- Majore release version is empty
- Specification version is selected and the value is 6.2
- Include API Packages is selected
- The packages lsit contains org.openide.filesystems value
- (Check if Show javadoc button works)
- Implementation version in edit module
- Edit module (see Edit module dependency)
- Select the implementation version (The specification version field is disabled)
- EXPECTED RESULT: Check the project.xml. rund-pendency tag contains empty implementation-version tag
- Change specification version in edit module
- Edit module (see Edit module dependency)
- Select specification version radio button
- Change the specification version value
- EXPECTED RESULT: Check the project.xml file. It contains dependecy code-name-base=org.openide.filesystems
- Release version in edit module
- Edit module (see Edit module dependency)
- Select specification version radio button
- Change the release version value
- EXPECTED RESULT: Check the project.xml file. It contains dependecy code-name-base=org.openide.filesystems
- Required tokens in Libraries panel
- Add / remove required token to Required token list
- EXPECTED RESULT: Check it in Module manifest file (OpenIDE-Module-Requires: token1, token2)
- Display - display name
- Change the display name in Display category
- EXPECTED RESULT: Display name was changed. Check it in Projects View and in Bundle.properties (OpenIDE-Module-Name)
- Display - Display category
- Change the Category. Select variant in como or type new category
- EXPECTED RESULT: Check it in Bundle.properties (OpenIDE-Module-Display-Category)
- Display - Short description
- Change the Short description
- EXPECTED RESULT: Check it in Bundle.properties (OpenIDE-Module-Short-Description)
- Display - Long description
- Change the Long Description text area
- EXPECTED RESULT: Check it in Bundle.properties (OpenIDE-Module-Long-Description)
- API Versioning - Code Name base
- Select the API versioning category
- EXPECTED RESULT: Check the code name base in project.xml. Value of project
- API Versioning - Major release version
- Type value to major release version (XXX)
- EXPECTED RESULT: Check it in Important Files
- API Versioning - Specification version
- Type value to specification version
- EXPECTED RESULT:
- Check it in Important Files
- API Versioning - Implementation Version
- type implementtion version
- EXPECTED RESULT: check it in module manifest
- API Versioning - Automatical Implementation Version
- type implementtion version (Append automaticall impl version field is enabled)
- select Append automaticall impl version field
- EXPECTED RESULT: check it in module manifest, the Specification version was removed from manifest
- API Versioning - module type
- Select module type (Regular, Autoload, Eager)
- EXPECTED RESULT: Regular Module, Autoload Module, and Eager Module are bound to is.autoload and is.eager in project.properties
- API Versioning - public packages
- Create few packages in module project
- Show API persioning panel in project propertis. -> There will be visible only packages which contains at least one class
- Try select public packages
- EXPECTED RESULT: Check the selected public packages in project.xml
- API Versioning - friends modules
- try add few names of friend modules to friend modules list
- change some public packages and check
- EXPECTED RESULT: Check it in project.xml.
- API Versioning - provided tokens
- type some provided tokens to privided tokens field
- EXPECTED RESULT: check it in manifest file
- Build - generate debug info
- select/unselect generate debug info
- EXPECTED RESULT: check it in debugger
- Build - deprecated apis
- select/unselect Report uses of deprecated API
- EXPECTED RESULT: Check it in compilation
- Build/Packaging - needs restart on install
- select/unselect Needs Restart on Install
- build NBM for project
- install the NBM using update center
- EXPECTED RESULT: The installation needs/ doesn't need restart of IDE
- Build/Packaging - Must be installed globally
- select Must be installed globally
- build NBM
- install it using update center
- EXPECTED RESULT: the module will be copied to installation of ide
- Build/Packaging - License
- browse or type file name in to License field
- EXPECTED RESULT: The file must exists. You can check the license during installation from NBM
- Build/Packaging - Homepage
- Type homepage url into Homepage field
- EXPECTED RESULT: Home Page should be a URL (or blank). Bound to nbm.homepage
- Build/Packaging - Author
- Type author name to author field
- EXPECTED RESULT: Author may be any text (or blank). Bound to nbm.module.author.
- Build/javadoc - javadoc Title
- Type javadoc Title to javadoc title field
- EXPECTED RESULT: Javadoc Title is bound to javadoc.title. If no packages are marked as public in the API Versioning panel, a warning label should be displayed at the bottom of this panel:
Generated: Tue Dec 19 16:34:59 CET 2006

