cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Test Specification for

Author: Tomas Musil
Last update: 12.09.2005
Introduction: This testspec tests basics of Window component wizard. You need to create a module project. (e.g. File | New project, NB plugin module - module project, choose standalone module, and default platform (IDE))

Table of Contents

Test suite: Window Component Wizard

Purpose: Window component allows you create your own windows.
Setup: To enter this wizard, choose File| New file. In project combo, select your module. Choose "Netbeans Module devlopment", "Window component". Click NEXT

#Test case [automated]Description
1Placement of window1. Choose on step two Explorer window position.
EXPECTED RESULT: You are able to select between various positions of your new window.
2Open at startup1. Check Open at startup checkbox in step two
EXPECTED RESULT: If checked, the new window will be opened after run of your module.
3Class name prefix, wrong name1. Enter non java identifier (e.g. use spaces,forbidden characters, etc) into Class name prefix textfield
EXPECTED RESULT: You get message about invalid class name, Finish button is disabled.
4Class name prefix1. Enter java identifier (e.g. MyWindow) into Class name prefix textfield
EXPECTED RESULT: Finish button is enabled, no warning displayed
5Icon selection1. Browse and select some 16x16 icon that will be associated with this window (you'll see it in Window menu).
EXPECTED RESULT: GIF and PNG images can be chosen.
6Package selection1. Select some existing package in editable Pacakage combobox
2. If you want to create new package, you can edit combobox and enter new package name. You should be informed if you enter invalid package name. (see issue 64135)
EXPECTED RESULT: Source code for your window will be generated into this package.
7Final test of appearance1. After you've finished wizard, invoke popup on your module, select Run project
EXPECTED RESULT: Module is running. See if your window is present in explorer position (i.e.where project and files views are by default), if in menu Window is item representing your window (and has appropriate icon that you've selected)



Generated: Mon Sep 12 16:51:22 CEST 2005
Companion
Projects:
MySQL Database Server   GlassFish Community: an Open Source Application Server   Open Solaris  Open JDK: an Open SourceJDK   Mobile & Embedded Community     Sponsored by 
Sponsored by Sun Microsystems