[
http://jira.jboss.com/jira/browse/JBIDE-1356?page=comments#action_12393105 ]
Victor Rubezhny commented on JBIDE-1356:
----------------------------------------
Test Case:
==========
EXECUTE: Open New Seam Runtime dialog (Window->Preferences->JBoss
Tools->Web->Seam->Add)
ASSERT: In the "New Seam Runtime" dialog appeared the fields are in the
following order:
- Home Folder text field with "Browse..." button
- Name text field
- Version combo-box with with value "1.2" set by default
EXECUTE: Press "Browse..." button. In the "Browse for folder" dialog
appeared select folder that contains the Seam 2.0 runtime and press "Ok" button
ASSERT: The Home Folder field is fulfilled with the path to the folder selected
ASSERT: The Name field is fulfilled with the name of the selected folder
ASSERT: The Version field is fulfilled with the verion 2.0 (taken from lib/jboss-seam.jar
in the folder selected)
ASSERT: No error messages in the dialog title
EXECUTE: Press "Finish"
ASSERT: New Seam runtime item is added to the Seam preference page
EXECUTE: Select the seam runtime (created in previous steps) and press "Edit"
button.
ASSERT: See "Edit Seam Runtime" dialog appeared with the fields fulfield with
the values defined for the runtime.
EXECUTE: Press "Browse..." button next to "Home Folder" field. In the
"Browse for folder" dialog appeared select folder that contains the Seam 1.2
runtime and press "Ok" button
ASSERT: Only the "Home Folder" field is changed to the new path. All other
fields are unchanged.
ASSERT: Error message on incompatible version of selected seam runtime appeared.
EXECUTE: Select the value "1.2" in the Verion field.
ASSERT: Error message is disappeared. Finish button is enabled.
EXECUTE: Press "Finish" button
ASSERT: New Seam runtime item is modified in the Seam preference page
New Seam Runtime dialog improvements
------------------------------------
Key: JBIDE-1356
URL:
http://jira.jboss.com/jira/browse/JBIDE-1356
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Affects Versions: 2.0.0.CR1
Reporter: Denis Golovin
Assigned To: Victor Rubezhny
Fix For: 2.0.1
Attachments: SeamRuntimeListFieldEditor.java.patch
1. Dialog fields should be reordered:
- Home Folder
- Name
- Version
2. When Home folder is filled other fields should get values by default
- Name - seam home folder name
- Version - compatible version defined based on version from jboss-seam.jar
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira