| # | Test case | Description |
| 1 | Test Component Palette - Small Palette |
1. Invoke popup menu over Selection button in the toolbar on the top of the Designer. 2. Push Show Add Button.
|
|
|
RESULT:
The button with '+' icon appears in the toolbar. |
| 2 | Add beans to Component Palette category from JAR file |
1. Push "Palette Manager" icon in the form designer toolbar. 2. Press "Add drom JAR..." button. 3. Select resource (.jar file) that contains the beans and press 'Next'. 4. Select first bean, hold Shift and select last bean - all beans are selected. 5. Push 'Next'. 6. Select category Beans. 7. Push Finish and Close the Palette Manager.
|
|
|
RESULT:
Palette Beans contains all added beans. |
| 3 | Test Selection mode |
1. Push Selection Mode. 2. Click in Form Designer.
|
|
|
RESULT:
JFrame in Form Designer and the same node (JFrame) is selected in Component Inspector. |
| 4 | Test Add mode |
1. Push Add Mode. 2. From opened popup menu select Swing -> JButton.
|
|
|
RESULT:
On the right of status label there is icon of JButton and label JButton. |
| 5 | Test Connection mode |
1. Push Connection Mode. 2. Click in Component Inspector on JFrame. 3. Click in Form Designer on jButton1.
|
|
|
RESULT:
Dialog Connection Wizard arise. Close it. |
| 6 | Switching categories |
1. Switch to category Swing. 2. Switch to category AWT. 3. Switch to category Beans. 4. Switch to category Layouts.
|
|
|
RESULT:
All categories contain appropriate components. |
| 7 | Show names of components |
1. Invoke popup menu over component JLabel from category Swing. 2. Select Show Component Names.
|
|
|
RESULT:
Names and Icons of components from selected category is shown. |
| 8 | Selecting components |
1. Select randomly all components in Component Palette from all categories.
|
|
|
RESULT:
Each component is selected, previously selected component is unselected. Selection Mode is unselected too. When add mode is on, the selected component icon and name is shown in designers' toolbar (on the right). |
| 9 | Selecting components, Names |
1. Invoke popup menu over component Label from category AWT. 2. Select Show Names. 3. Select randomly all components in Component Palette from all categories.
|
|
|
RESULT:
Each component is selected, previously selected component is unselected. Selection Mode is unselected. |
| 10 | Delete component |
1. Invoke popup menu on component Button from Component Palette category AWT. 2. Push Delete. 3. In opened dialog Confirm Palette Removal push Ok.
|
|
|
RESULT:
Category AWT doesn't contain component Button. |
| 11 | Move Left/Right components |
1. Invoke popup menu on component ButtonGroup from Component Palette category Swing. 2. Push Change Components Order. 3. Select the ButtonGroup and press Move Up. 4. Invoke popup menu on component JRadioButton from Component Palette category Swing. 5. Push Change Components Order. 6. Select the JRadioButton and push Move Down. 7. Push OK.
|
|
|
RESULT:
Category Swing contains components in this order : JLabel, JButton, JToggleButton, JCheckBox, ButtonGroup, JComboBox, JRadioButton, .... |
| 12 | Cut/Paste component |
1. Invoke popup menu on component JInternalFrame from Component Palette category Swing. 2. Push Cut. 3. Invoke popup menu on category Beans. 4. Push Paste.
|
|
|
RESULT:
Category Swing doesn't contain component JInternalFrame but category Swing contains it. |
| 13 | Copy/Paste component |
1. Invoke popup menu on component Button from Component Palette category AWT. 2. Push Copy. 3. Invoke popup menu on category Beans. 4. Push Paste.
|
|
|
RESULT:
Category AWT contains component Button and category Beans contains it, too. |
| 14 | Move/Delete/Rename categories |
1. Push Swing in palette. 2. Invoke popup menu on category AWT from Component Palette. 3. Push Change Categories Order. 4. Select the Swing and press Move Down. 5. Push OK. 6. Invoke popup menu on category AWT from Component Palette. 7. Push rename. 8. Type 'AWTrename'. 9. Invoke popup menu on category Layouts from Component Palette. 10. Push delete and press OK.
|
|
|
RESULT:
Category Layouts is missed, category AWT has changed name, Swing is one position down. |
| 15 | Check tooltips of components |
1. Try all components in all categories.
|
|
|
RESULT:
Correct tooltip must appear. |