Changes between Version 2 and Version 3 of PromotEditorTest
- Timestamp:
- Jun 23, 2009, 4:58:52 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PromotEditorTest
v2 v3 6 6 -> Open the Visual Editor for the browser tree node "cell" by double click. 7 7 8 Setup A is applied to tests 1., 2., 3., 8 Setup A is applied to tests 1., 2., 3., 4., 5., 7., 9., 9 9 10 1. Open the menu "Model" -> "Save as", type in the dialog "cell2" and click to the button "OK". A new class appears in the browser tree with name "cell2" with the same mdl-code like cell. 10 1. Open the menu "Model" -> "Save as", type in the dialog "cell2" and click to the button "OK". A new class appears in the browser tree with name "cell2" with the same mdl-code like cell. !!! Save changes has to be tested. !!! 11 11 2. Click to "X" in the upper right corner or choose the menu action "Model" -> "Close" and the editor disappears. 12 12 3. Open the browser tree for "struct-library" and "compound" Drag from the ProMoTTreeNode "drug" to the Modules-palette and release. The class is now available in the Palette. [[BR]] Drag from the ProMoTTreeNode "nucleus" to the !ConstructionArea and release. A new Slot with name "nucleus0" is created at the coordinates where released. … … 14 14 5. Setup A and test 3 -> then click with right mouse button to the class "drug" in the Modules-palette and choose delete. The class disappears. 15 15 6. Disposing a slot in the !ConstructionArea of the !PaletteWindow is tested in the junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/vizedit/cmds/CmdDisposeTest.java] 16 7. Open a further Visual Editor for the class of a slot16 7. Double click to the class nucleus and a new visual editor with the corresponding class opens. 17 17 8. Rename a connected slot is tested in junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdRenameTest.java], missing test for unconnected 18 9. Connect two slots19 10. Translate a slot18 9. Insert a "kinase" and an "and-2" slot by drag and drop from the Modules-palette, then drag an edge from the port of "kinase" to the "input1" port of "and-2". A new link with a linknode placed at the "kinase"-port will be created. 19 10. Press the mouse over the slot named "nucleus" and move the mouse around, mouse release will place the "nucleus" slot at another place. Now press the cursor-key and the selected slot will also move. 20 20 11. Propagate a terminal from a slots port (logical gate terminal, logical compound terminal, dynamic terminals) 21 21 12. Copy&Paste a selection of slots (inside one/ between two editors)