Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
DSDP/MTJ/Tests/Manual
This is the MTJ Manual Test Plan. Tasks are outlined very briefly only. Feel free to do some exploratory testing around the suggested items, or suggest new test cases.
Contents
- 1 Standard usability tests
- 1.1 Preferences Pages
- 1.2 Import Device Wizard
- 1.3 Device Editor
- 1.4 MIDlet Project
- 1.4.1 New MIDlet Project Wizard
- 1.4.2 New Java ME MIDlet Wizard
- 1.4.3 New Java ME MIDlet From Template Wizard
- 1.4.4 Project Properties
- 1.4.5 Jad Editor
- 1.4.6 Localization Data Editor
- 1.4.7 Java Editor
- 1.4.8 Build Editor
- 1.4.9 Project's Context Sensitive Menu
- 1.4.10 Run/Debug Dialog
- 1.4.11 Localization Support
- 2 User and Legal Documentation
Standard usability tests
When testing, make sure that the settings changed were correctly applied, producing the expected behavior. E.g. If you select an specific device to run a MIDlet in a run dialog, make sure that you run the MIDlet and the device running is the selected one.
Preferences Pages
- Walk through all of the preferences items in "Mobile Tools for Java" category and change their values
- Check: The outcome is what you expect?
- Check: Are the Preferences documented sufficiently?
- Check: The preferences can be restored to default values?
- Walk through all of the preferences items in "Mobile Tools for Java" category and change their values
Device Management Page
Editors Page
- Check: Can change the configuration of the 'Localization Data Highlighting'
- Check: The configuration of the 'Localization Data Highlighting' reflects on the editor
New MIDlet Project Page
- Resource folder field
- Check: Can specify a resource folder name
- Check: If you specify a folder name, the next project you create uses it as resource folder?
- Resource folder field
Over the Air Page
- Check: Can change settings and the changes work as expected?
Packaging Page
- Check: Can add/remove "Excluded Manifest Entries"
Obfuscation Page
- Check: Can configure Proguard settings
Preverification Page
- Check: "Use Built-in preverifier" can't be selected
Signing Page
- Check: Can select keystore from external folder
- Check: Keystore password dialog is opened
- Check: Can enter Keystore password on dialog
- Check: Can save password on workspace Keyring
- Check: Keystore password dialog is opened
- Check: Can change Keystore password
- Check: Keystore password dialog is opened
- Check: Can enter new keystore password on dialog
- Check: Can select "Ok" button to perform operation
- Check: Can select "Cancel" button to cancel operation
- Check: Keystore password dialog is opened
- Check: Can select "prompt for password when required" option
- Check: When selected passwords text fields are disabled
- Check: Can select "save password in workspace keyring" option
- Check: When selected passwords text fields are enabled
- Check: Lists all aliases from the selected keystore
- Check: When alias is selected key data is displayed
- Check: Can create a new key pair
- Check: Generate KeyPair dialog is opened
- Check: All fields on the dialog are enabled
- Check: Can create key pair by selecting "Ok" button
- Check: Can cancel operation by selecting "Cancel" button
- Check: Generate KeyPair dialog is opened
- Check: Can delete key pair
- Check: Can generate Certificate Signing Request (CSR)
- Check: A dialog for selecting a target folder is opened
- Check: A file with the <alias-name>.csr name is generated on the folder selected on the previous step.
- Check: Can Import Certificate
- Check: A dialog for selecting the certificate file is opened
- Check: The certificate is imported
- Check: Can Import Certificate Response
- Check: A dialog for selecting the certificate response file is opened
- Check: The certificate is imported
- Check: Can set keystore provider
- Check: Can set keystore type
- Check: Can select keystore from external folder
Import Device Wizard
- Check: The Finish button is disabled before finding a device?
- Check: The Select All and Deselect All buttons are disabled before finding a device?
- Check: The Refresh button is disabled before specifying the search directory?
- Check: Choosing a folder without any device inside and pressing Refresh will result in no devices found (the device list will remain empty)
- Check: Choosing a folder with devices inside and pressing Refresh will result in the device list filled with the devices found
- Check: Pressing Finish button after finding at least one device, will add the device list to the Device Management Page
Device Editor
- Basic Page
- Check: fields can be edited and the changes reflect in the Device Management Page
- Libraries Page
- Check: can add and remove libraries
- Check: can define javadoc for library
- Check: can define source for library
- Basic Page
- Properties Page
- Check: Can not edit, add or remove properties.
- Properties Page
MIDlet Project
New MIDlet Project Wizard
- Check: "Java ME" category exists
- "Java ME" Category
- Check: MIDlet Project in category
- MIDlet Suite Properties
- Check: Can manage Devices
- Check: Can change Application descriptor name
- Check: The Next and Finish buttons must be disabled in invalid scenarios, such as:
- A configuration is added and Application descriptor field is empty
- A configuration is added but Application descriptor field has an invalid value (i.e. something.txt)
- No configuration is added and Application descriptor field is empty
- No configuration is added and Application descriptor field has valid value (i.e. something.jad)
- Check: When one or more configuration is added and Application descriptor field has valid value (i.e. something.jad) the Next and Finish buttons must be enabled
- "Java ME" Category
- Select a Library
- Check: Can select a library
- Check: Can deselect a library
- Check: Can view the details of a library
- Check: The Sample library is available to be selected
- Check: All libraries that use properly the Extension Point available in org.eclipse.mtj.core.library Plug-in are available to be selected
- Select a Library
- Java settings
- Check: Can edit Java settings
- Libraries Tab
- Check: "Java ME Library" corresponds to the device selected in previous page.
- Check: If another device is selected, the change is reflected in "Java ME Library"
- Java settings
- Check: The wizard can be canceled at any time.
- Check: The user can go back to the previous wizard page at any time
- Check: The wizard can be finished after filling the project name and specifying a device.
New Java ME MIDlet Wizard
- Check: Can create a new MIDlet
- Check: Can create a new MIDlet automatically adding it to the Application Descriptor
- Check: Can create a new MIDlet without adding it to the Application Descriptor
- Check: Can create a new MIDlet changing other settings
- Check: Cannot create a new MIDlet with a previously existing MIDlet name in the same project/package.
New Java ME MIDlet From Template Wizard
- Page 1
- Check: Can create a new MIDlet based on the template
- Check: Can create a new MIDlet automatically adding it to the Application Descriptor
- Check: Can create a new MIDlet without adding it to the Application Descriptor
- Check: Can change the MIDlet template.
- Check: The custom fields change on the page 2 when different templates are selected.
- Check: The details and permissions change when a new template is selected.
- Page 1
- Page 2
- Check: Finish Button is initially disabled.
- Check: The Finish button is not enabled unless the package name has valid format.
- Check: The Finish button is not enabled unless a source folder is selected.
- Check: The Finish button is not enabled unless the MIDlet name is set.
- Check: The code generated by the default values will compile and run.
- Page 2
- Splash MIDlet Template
- Check: The template generates a MIDlet with the user defined name.
- Check: The template generates a Spash.java Class.
- Check: The template generates a splash_128x160.png image on the "res" folder.
- Check: The template generates a splash_176x220.png image on the "res" folder.
- Check: The template generates a splash_240x320.png image on the "res" folder.
- Splash MIDlet Template
- Display Manager Template
- Check: The template generates a MIDlet with the user defined name.
- Check: The template generates a DisplayManager.java Class.
- Display Manager Template
- Image Downloader Template
- Check: The template generates a MIDlet with the user defined name.
- Check: The template generates a DownloadListener.java Class.
- Check: The template generates a DownloadManager.java Class.
- Image Downloader Template
- SMS Server Template
- Check: The template generates a MIDlet with the user defined name.
- Check: The template generates a SMSListener.java Class.
- Check: The template generates a SMSServer.java Class.
- SMS Server Template
- Game Template
- Check: The template generates a MIDlet with the user defined name.
- Check: The template generates a GameEngine.java Class.
- Check: The template generates a GameModel.java Class.
- Check: The template generates a GameView.java Class.
- Game Template
Project Properties
- Check: "Mobile Tools for Java" category exists
- Check: Can manage project configurations (If active configuration switched, the change must reflect on project's "Java ME Library")
- Check: Can change JAD file name
- Check: Can change JAR file name
Library
- Check: Can select a library
- Check: Can deselect a library
- Check: Can view the details of a library
- Check: The Sample library is available to be selected
- Check: All libraries that use properly the Extension Point available in org.eclipse.mtj.core.library Plug-in are available to be selected
Signing
- Check: Can enable/disable project specific settings
- Check: Can select keystore from project
- Check: Keystore password dialog is opened
- Check: Can enter Keystore password on dialog
- Check: Can save password on workspace Keyring
- Check: Keystore password dialog is opened
- Check: Can select keystore from external folder
- Check: Keystore password dialog is opened
- Check: Can enter Keystore password on dialog
- Check: Can save password on workspace Keyring
- Check: Keystore password dialog is opened
- Check: Can change Keystore password
- Check: Keystore password dialog is opened
- Check: Can enter new keystore password on dialog
- Check: Can select "Ok" button to perform operation
- Check: Can select "Cancel" button to cancel operation
- Check: Keystore password dialog is opened
- Check: Can select "prompt for password when required" option
- Check: When selected passwords text fields are disabled
- Check: Can select "save password in workspace keyring" option
- Check: When selected passwords text fields are enabled
- Check: Can select "save password as part of project" option
- Check: When selected passwords text fields are enabled
- Check: Lists all aliases from the selected keystore
- Check: When alias is selected key data is displayed
- Check: Can create a new key pair
- Check: Generate KeyPair dialog is opened
- Check: All fields on the dialog are enabled
- Check: Can create key pair by selecting ok button
- Check: Can cancel operation by selecting cancel button
- Check: Generate KeyPair dialog is opened
- Check: Can delete key pair
- Check: Can generate Certificate Signing Request (CSR)
- Check: A dialog for selecting a target folder is opened
- Check: A file with the <alias-name>.csr name is generated on the folder selected on the previous step.
- Check: Can Import Certificate
- Check: A dialog for selecting the certificate file is opened
- Check: The certificate is imported
- Check: Can Import Certificate Response
- Check: A dialog for selecting the certificate response file is opened
- Check: The certificate is imported
- Check: Can set keystore provider
- Check: Can set keystore type
Obfuscation
- Check: If "Enable project specific settings" is enabled, these settings must override the default configuration
- Check: Can configure obfuscation settings
Packaging
- Check: If "Enable project specific settings" is enabled, these settings must override the default configuration
- Check: Can configure packaging settings
Preverification
- Check: If "Enable project specific settings" is enabled, these settings must override the default configuration
- Check: Can configure preverification settings
Jad Editor
- Check: Any property edited by the Jad Editor must be updated in the <project_jad_file>.jad
- Overview Page
- Check: Can manage configurations on Runtime section.
- MIDlets Page
- Optional Properties Page
- Over the Air Properties Page
- Push Registry Page
- Used Defined Properties Page
- Signing Page
- Check: Can enable/disable project signing.
- Check: Lists all aliases from the configured keystore.
- Check: Can manage JAD permissions:
- Check: Can order;
- Check: Can add;
- Check: Can remove;
- Check: Can scan code to resolve permissions;
- Overview Page
- Check: Any property edited by the Jad Editor must be updated in the <project_jad_file>.jad
Localization Data Editor
- *If the Localization is enabled.
- Check: Is possible to configure the Localization Data on the xml file.
- Check: Is possible to configure the Localization Data using the Localization Data Editor.
- Check: Is possible to configure the Localization Data on the generated classes (L10nConstants.java and L10nResources.java).
- Check: Is possible to configure the Localization Data on the generated properties file (one file for each locale).
- Check: Any property edited on the Localization Data must be updated in all places that the information is displayed (xml file, generated classes, properties file and Localization Data Editor).
Java Editor
- Library
- Check: Classes with NON_ACCESSIBLE access rule* of selected libraries can not be used
- Check: Classes with DISCOURAGED access rule* of selected libraries can be used but a warning must appear
- Check: Classes with ACCESSIBLE access rule* of selected libraries can be used
- Check: Classes with no access rule* of selected libraries can be used
- Check: Libraries that were not selected can not be used
- * The Access Rules are defined in the plugin.xml file
- Library
Build Editor
- Check: All available configurations are listed on the runtime configuration list
- Check: All available content under all source folders are presented on the resources tree
- Check: Only the selected resources for the runtime configuration is checked
- Check: New runtime configurations have all resources available included
- Check: Source page and the main page are always synchronized
- Check: The built packages MUST reflect only the content of the build.properties if any property for the specific runtime is set.
Project's Context Sensitive Menu
- MIDlet Project
- Check: Can create package
- Check: If "Proguard" is correctly configured, can create obfuscated package
- Check: If "Antenna" is correctly configured, can export Antenna build files.
- Regular Java Project/Other Project
- Check: Can convert to MIDlet Project
- MIDlet Project
Run/Debug Dialog
- MIDlet tab
- Check: Can change project
- Check: Can run a MIDlet specifying the MIDlet class
- Check: Can run a MIDlet Suite specifying the JAD URL
- Check: Can run a MIDlet Suite emulating "Over the Air" deployment
- Emulation tab
- Check: Can set a specific device to run/debug
- Check: If "Specific Device" is selected, can manage devices
- MIDlet tab
Localization Support
- Add Localization Option
- Check: Select the MIDlet project pop up menu and verify if the "Add Localization" option inside the "Mobile Tools for Java" sub menu is shown
- Check: Select the "Add Localization" option and verify if the Localization Wizard is shown
- Add Localization Option
- Localization Wizard
- Check: Verify that the "Finish" button is disabled
- Select: Browse for a folder where the properties files will be saved
- Check: Verify that the "Finish" button is still disabled
- Select: Browse for a package where the Localization API classes will be saved
- Check: Verify that the "Finish" button is enabled
- Select: Press "Finish" button
- Check: Check that the L10nResources.java source file is stored at the package previously selected
- Check: Repeat all steps above and press "Cancel" button
- Check: No changes must be made to the project
- Localization Wizard
User and Legal Documentation
Verify User Docs
- Walk through tutorial, Context Help, Check Links, Search feature
Verify Legal
- Feature Descriptions, Licenses in all source features, Overall license