FeaturesPluginsDocs & SupportCommunityPartners

Apisupport Properties Test Specification for NetBeans 4.2

Author: Petr Zajac
Last update: 08/01/2005
Introduction: Test specs for Module project, Module suite prperties

Table of Contents

Test suite: APISUPPORT properties

Purpose:
Setup: Show properties for module project. When are all action finished click to ok button.

#Test case [automated]Description
1Project folder field1. Check the read only project folder field
EXPECTED RESULT: Contains the root folder of project
2Module suiite field1. 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
3Source level field1. Add a javaclass which support jdk1.5 to project
2. Try compile the projet for different source levels
EXPECTED RESULT: The compilation must falis when is selected the jdk 1.4 source level The compilation pass when is selected the jdk 1.5 source level
4Change platform1. Change platform in libraries panel. Use also Manage platforms Button to customize available platforms.
EXPECTED RESULT: The platform is changed for standalone module. The combobox and Manage Platforms button are disabled when the project is in Module suite
5Add Module to classpath1. Select default platform for module (run ide) in libraries panel
2. Click to Add button
3. 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.
6Description in add module1. Select default platform for module (run ide) in libraries panel
2. Click to Add button
3. Select FileSystem API module.
EXPECTED RESULT: The description text area contains information about FileSystem API (OpenIDE-Module-Long-Description)
7Show javadoc in add module1. Select default platform for module (run ide) in libraries panel
2. Click to Add button
3. Select FileSystem API module.
4. 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
8Remove module1. Select a module added by previous testcase (FileSystem API).
2. 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.
9Edit module dependecy1. Add FileSystem API to classpath (use Add Module to classpath testcase)
2. Select the File System API in libraries panel.
3. 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)
10Implementation version in edit module1. Edit module (see Edit module dependency)
2. Select the implementation version (The specification version field is disabled)
EXPECTED RESULT: Check the project.xml. rund-pendency tag contains empty implementation-version tag
11Change specification version in edit module1. Edit module (see Edit module dependency)
2. Select specification version radio button
3. Change the specification version value
EXPECTED RESULT: Check the project.xml file. It contains dependecy[code-name-base=org.openide.filesystems]|rundependency|specification-version with changed value
12Release version in edit module1. Edit module (see Edit module dependency)
2. Select specification version radio button
3. Change the release version value
EXPECTED RESULT: Check the project.xml file. It contains dependecy[code-name-base=org.openide.filesystems]|rundependency|release-version with changed value
13Required tokens in Libraries panel1. Add / remove required token to Required token list
EXPECTED RESULT: Check it in Module manifest file (OpenIDE-Module-Requires: token1, token2)
14Display - display name1. 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)
15Display - Display category1. Change the Category. Select variant in como or type new category
EXPECTED RESULT: Check it in Bundle.properties (OpenIDE-Module-Display-Category)
16Display - Short description1. Change the Short description
EXPECTED RESULT: Check it in Bundle.properties (OpenIDE-Module-Short-Description)
17Display - Long description1. Change the Long Description text area
EXPECTED RESULT: Check it in Bundle.properties (OpenIDE-Module-Long-Description)
18API Versioning - Code Name base1. Select the API versioning category
EXPECTED RESULT: Check the code name base in project.xml. Value of project|configuration|code-name-base element
19API Versioning - Major release version1. Type value to major release version (XXX)
EXPECTED RESULT: Check it in Important Files|Module Manifest file. OpenIDE-Module: code-base-name/(XXX). It may be blank or nonnegative integer.
20API Versioning - Specification version1. Type value to specification version
EXPECTED RESULT: Check it in Important Files|Module Manifest file. OpenIDE-Module-Specification-Version: (XXX). Check it also in project.properties - spec.version.base
21API Versioning - Implementation Version1. type implementtion version
EXPECTED RESULT: check it in module manifest
22API Versioning - Automatical Implementation Version1. type implementtion version (Append automaticall impl version field is enabled)
2. select Append automaticall impl version field
EXPECTED RESULT: check it in module manifest, the Specification version was removed from manifest
23API Versioning - module type1. 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
24API Versioning - public packages1. Create few packages in module project
2. Show API persioning panel in project propertis. -> There will be visible only packages which contains at least one class
3. Try select public packages
EXPECTED RESULT: Check the selected public packages in project.xml
25API Versioning - friends modules1. try add few names of friend modules to friend modules list
2. change some public packages and check
EXPECTED RESULT: Check it in project.xml.
26API Versioning - provided tokens1. type some provided tokens to privided tokens field
EXPECTED RESULT: check it in manifest file
27Build - generate debug info1. select/unselect generate debug info
EXPECTED RESULT: check it in debugger
28Build - deprecated apis1. select/unselect Report uses of deprecated API
EXPECTED RESULT: Check it in compilation
29Build/Packaging - needs restart on install1. select/unselect Needs Restart on Install
2. build NBM for project
3. install the NBM using update center
EXPECTED RESULT: The installation needs/ doesn't need restart of IDE
30Build/Packaging - Must be installed globally1. select Must be installed globally
2. build NBM
3. install it using update center
EXPECTED RESULT: the module will be copied to installation of ide
31Build/Packaging - License1. browse or type file name in to License field
EXPECTED RESULT: The file must exists. You can check the license during installation from NBM
32Build/Packaging - Homepage1. Type homepage url into Homepage field
EXPECTED RESULT: Home Page should be a URL (or blank). Bound to nbm.homepage
33Build/Packaging - Author1. Type author name to author field
EXPECTED RESULT: Author may be any text (or blank). Bound to nbm.module.author.
34Build/javadoc - javadoc Title1. 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: Thu Sep 15 18:02:49 CEST 2005
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by