wiki:PromotExplorerTest

Version 5 (modified by mirschel, 16 years ago) (diff)

--

ProMoT Visual Explorer Detailed Tests

Setup A: applies to tests: 11, 12-15, 22-25
Start ProMoT server and GUI -> load the logical library Promot/trunk/promot/kb/SignalTransd/structure/struct-ana-library.mdl -> load the logical toymodel from tutorial Promot/trunk/promot/kb/SignalTransd/structure/toymodel_tutorial/LOAD_toymodel.mdl -> Open the Visual Explorer for the browser tree node "struct-model" --> "toymodel" --> "whole_model" by right mouse click --> context menu --> Visual Explorer.

Setup B: applies to tests: -20
Start ProMoT server and GUI -> load Promot/trunk/promot/kb/practical-bio/LOAD.mdl which includes the library (reduced-library) for dynamic modeling -> Open the Visual Explorer for the browser tree node "dynamic-model" --> "mapk_modules" --> "mapkc" by right mouse click --> context menu --> Visual Explorer.

JUnit Tests

  1. Import node and edge attributes
    Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav.data.io.AttributeReaderTest.java
    Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav.data.io.DelimitedTextReaderTest.java
    Check that two files (edge attributes, node attributes) are loaded properly. The attributes should be mapped to the existing nodes and edges in the graph correctly.

  1. Load global scenarios
    Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/visual/VisualPropertyTest.java
    Check that the global scenario file (.PromotVizScenarios) is at the given location and calculators are loaded properly from the file.
  1. Scenarios: Logical Network Parser
    Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/data/logical/LogicalNetworkParserTest.java
    Check that part of the logical network parser, especially parsing of DUMMY element and NOT element.

Tests

  1. Import/export layout
  2. Export graphics
  3. Export logical model
  1. Edit scenario: new/copy/rename/remove/mappings
  2. Save scenarios (to USER_HOME)
  3. Load local scenarios
  4. Exit with/without dialog

Visual inspection

  1. Apply orthogonal layout to network: all edges represented by polylines must draw orthogonally.
  2. Grid layer on/off: a grid overlaying the entire canvas must be switched on/off
  3. Squiggle layer on/off: with option on and pressed left mouse button, a line is drawn, can be switched on/off
  4. Status layer on/off: with option on, a text box appears in the left lower corner showing the name of the current scenario and the current navigation mode, can be switched on/off
  5. Overview layer on/off: with option on, a overview window of the entire canvas appears in the left lower corner, can be switched on/off
  6. Legend layer on/off/correct mappings, visual inspection
  7. Navigation mode: Interactive Mode
  8. Navigation mode: Hierarchy Mode
  9. Navigation mode: Fisheye Mode
  10. Navigation mode: Focus Mode
  11. Editing mode: move/resize all/resize border/edit edge handles
  12. Show (all) icons: on/off: with option on, all icons are shown also for complex modules, can be toggled on/off
  13. Show (all) details: on/off: with option off, the content (nodes, edges, icons, labels) disappears, can be toggled on/off
  14. Show (all) labels: on/off: with option off, labels of all nodes (also in hierarchy) disappear, can be toggled on/off
  15. Show (all) label boxes: on/off: with option on, all label boxes of nodes (also in hierarchy) are drawn, option is disabled if 19 is off, can be toggled on/off
  16. Edge: Go to source
  17. Edge: Go to target

Not tested/not critical/trivial

  1. Search for node/edge in network
  2. Statistics dialog