Changes between Version 1 and Version 2 of PromotEditorTest


Ignore:
Timestamp:
Jun 23, 2009, 4:50:05 PM (16 years ago)
Author:
kolczyk
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PromotEditorTest

    v1 v2  
    11= ProMoT Visual Editor =
    22
    3  1. Save a model (as)
    4  2. Close the editor
    5  3. Drag&Drop a class from the !BrowserTree to the Modules-palette/ !ConstructionArea
    6  4. Drag&Drop a class from the Modules-palette to the !ConstructionArea
    7  5. Delete a class in the Modules-palette
     3Setup A for tests: (functionality needed for the setup should be tested in browser tests, see: [wiki:testplan])[[BR]]
     4Start ProMoT server and GUI -> load the logical library [source:/Promot/trunk/promot/kb/SignalTransd/structure/struct-ana-library.mdl]
     5-> load the logical toymodel from tutorial [source:/Promot/trunk/promot/kb/SignalTransd/structure/toymodel_tutorial/LOAD_toymodel.mdl]
     6-> Open the Visual Editor for the browser tree node "cell" by double click.
     7
     8Setup A is applied to tests 1., 2., 3.,
     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.
     11 2. Click to "X" in the upper right corner or choose the menu action "Model" -> "Close" and the editor disappears.
     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. 
     13 4. Drag from the class "source" in the Modules-palette to the !ConstructionArea, a new instance is created with name "source0" at the coordinates where released.
     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.
    815 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]
    916 7. Open a further Visual Editor for the class of a slot