Changes between Version 20 and Version 21 of PromotEditorTest


Ignore:
Timestamp:
Jul 27, 2009, 3:12:29 PM (16 years ago)
Author:
mirschel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PromotEditorTest

    v20 v21  
    66The Functionality needed for the setups, described in the following should be tested
    77in browser tests, see: [wiki:testplan])[[BR]] [[BR]]
    8 
    98
    109'''Setup A: ''' applied to tests 1, 2, 3, 4, 5, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 [[BR]]
     
    3130 2. Click to "X" in the upper right corner or choose the menu action "Model" -> "Close" and the editor disappears. [[BR]][[BR]]
    3231 3. Open the browser tree for "struct-library" and "compound"
    33     * Drag from the ProMoTTreeNode "drug" to the Modules-palette and release. The class is now available in the Palette.
    34     * Drag from the ProMoTTreeNode "nucleus" to the !ConstructionArea and release. A new Slot with name "nucleus0" is created at the coordinates where released.[[BR]][[BR]] 
    35  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.[[BR]][[BR]]
     32    * Drag from the ProMoTTreeNode "drug" to the Modules-palette and drop. The class is now available in the Palette.
     33    * Drag from the ProMoTTreeNode "nucleus" to the !ConstructionArea and drop. A new Slot with name "nucleus0" is created at the coordinates where dropped.[[BR]][[BR]] 
     34 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 dropped.[[BR]][[BR]]
    3635 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.[[BR]][[BR]]
    3736 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][[BR]][[BR]]
     
    5453      There is also a !LinkNode created for the link between the storage and the adapter and placed on the storage terminal.[[BR]][[BR]]
    5554 12. !EditDetailsDialog (see [wiki:ProMoTVarEditorTest detailed tests])[[BR]][[BR]]
    56  13. Open the !EditDetailsDialog for the slot "not_r1_r2_a2", add a documentation string and set the 'ignore_in_export' variable to the value '1', save and close (see test 12). Then select the slots "!r1", "!r2", "not_r1_r2_a2", "not_lr" and "a2" and press 'Ctrl + C' and 'Ctrl + V'. The slots "!r10", "!r20", "not_lr0"  "not_r1_r2_a20" and "a20" are created and connected like the original. Check via the !EditDetailsDialog or in the mdl that "not_r1_r2_a20" has the value '1' for the variable 'ignore_in_export' and the same documentation string like "not_r1_r2_a2". Open the visual editor for the class "nucleus" and also press 'Ctrl + V', the slots are created, check again the names variables and documentation.[[BR]][[BR]]
     55 13. Open the !EditDetailsDialog for the slot "not_r1_r2_a2", add a documentation string and set the 'ignore_in_export' variable to the value '1', save and close (see test 12). Then select the slots "!r1", "!r2", "not_r1_r2_a2", "not_lr" and "a2" and the links between them and press 'Ctrl + C' and 'Ctrl + V'. The slots "!r10", "!r20", "not_lr0"  "not_r1_r2_a20" and "a20" are created and connected like the original. Check via the !EditDetailsDialog or in the mdl that "not_r1_r2_a20" has the value '1' for the variable 'ignore_in_export' and the same documentation string like "not_r1_r2_a2". Open the visual editor for the class "nucleus" and also press 'Ctrl + V', the slots are created, check again the names variables and documentation.[[BR]][[BR]]
    5756 14. Open the visual editor for the class "nucleus", open the !EditDetailsDialog for the slot "k3p1_k3p2_tf1" and change the variable "ignore_in_export" to the value "1", the variable "output.a" to the value "2" and add a documentation String. Save and close the dialog and the editor for "nucleus". Select the slot "nucleus" and choose from the menu 'Tools'->'Elevate Module Content'. Three slots named "k3p1_k3p2_tf1" "tf1" and "drain" are created and the ports of the gate are connected to the gates "k3p1" and "k3p2". The class nucleus is deleted. Now open the !EditDetailsDialog and check if the docu and variables are transfered.[[BR]][[BR]]
    5857 15. Edit the variables and docu of "not_r1_r2_a2" like in test 13. Select the slots "!r1", "!r2", "not_r1_r2_a2", "not_lr" and "a2" and choose from the menu 'Tools'->'Create Class From Selection', press OK in the class name dialog. The new class with the name "new_submodule_of_cell" is created and contains the selected slots, check via !EditDetailsDialog or in the mdl that the variables and docu for "not_r1_r2_a2" is transfered and the previously selected slots are deleted from the class cell.[[BR]][[BR]]