Version 9 (modified by mirschel, 16 years ago) (diff) |
---|
ProMoT Visual Explorer Detailed Tests
Setup A:
Model type: 'Logical Model'.
Test to be applied: 4, 5, 6, 11, 12-15, 22-25, 26-27
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:
Model type: 'Dynamical Model'.
Tests to be applied: None
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.
Setup C:
Model type: 'SBML Model'.
Tests to be applied: None
Start ProMoT server and GUI -> import a biomodels.org model (e.g. BIOMD0000000001.xml)
-> Open the Visual Explorer for the browser tree node "sbml-model" --> model by right mouse click --> context menu --> Visual Explorer.
Setup D:
Model type: 'Unknown Model'.
Tests to be applied: None
Start ProMoT server and GUI -> load Promot/trunk/promot/kb/practical/LOAD.mdl which loads the 'tank' model -> Open the Visual Explorer for the browser tree node "sbml-model" --> "mapk_modules" --> "mapkc" by right mouse click --> context menu --> Visual Explorer.
JUnit Tests
- 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.
- 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.
- 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
- Import/export layout
- Export graphics
- Export logical model
- Edit scenario: new/copy/rename/remove/mappings
- Save scenarios (to USER_HOME)
- Load local scenarios
- Exit with/without dialog
Visual inspection
- Orthogonal layout
Apply an orthogonal layout to the network, all edges represented by polylines (not straight lines) must be drawn in an orthogonal style.
- Grid layer on/off
A grid overlaying the entire canvas should appear/disappear by switching option on/off.
- Squiggle layer on/off
With option on and pressed left mouse button, a line is drawn, release mouse button should stop drawing, drawings can be switched on/off.
- Status layer on/off
With option on, a text box appears in the left lower corner showing the name of the current scenario (default: Logical Scenario) and the current navigation mode (default: Hierarchy Zoom), display can be switched on/off.
- 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.
- Legend layer on/off/correct mappings
A window should appear showing the mappings used in the current visual scenario. Press the button 'Close' to exit the dialog, can be switched on/off.
- Navigation mode: Interactive Zoom
Select navigation mode 'Interactive Zoom', in the status layer the current mode should be 'Interactive Zoom',
hold down left button + drag right should zoom into the network,
hold down left button + drag left should zoom out of the network,
hold down left button + shift + drag should move (pan) the network.
- Navigation mode: Hierarchy Zoom
Select navigation mode 'Hierarchy Zoom', in the status layer the current mode should be 'Hierarchy Zoom',
click left button on entity should zoom to focused entity in hierarchical steps,
click left button on entity should zoom to focused entity in hierarchical steps,
click left button + shift should zoom out the whole network to fit on screen.
- Navigation mode: Fisheye Zoom
Select navigation mode 'Fisheye Zoom', in the status layer the current mode should be 'Fisheye Zoom',
click left button on entity should enlarge entity and shrink all other visible entities,
click left button on entity + shift should shrink entity and enlarge all other visible entities.
- Navigation mode: Focus Zoom
Select navigation mode 'Focus Zoom', in the status layer the current mode should be 'Focus Zoom',
click left button on entity should perform a minimal zoom to focused entity.
- Editing mode: Editing (move/resize all/resize border/edit edge handles)
Select navigation mode 'Editing', in the status layer the current mode should be 'Editing',
click left button on node + drag should move the node inside bounds of parent node,
click left button on node handle + drag should resize all components of node,
click left button on node handle + shift + drag should resize only border/boundary of node,
click left button on edge handle + drag should move edge handle,
click right button on edge for context menu --> Add edge handle should add a edge handle,
click right button on edge for context menu --> Remove edge handle should delete edge handle,
click right button on edge for context menu --> Remove all edge handles should delete all edge handles in network.
- Show (all) icons on/off
With option on, all icons are shown also for complex modules, can be toggled on/off.
- Show (all) details on/off
With option off, the content (nodes, edges, icons, labels) disappears, can be toggled on/off.
- Show (all) labels on/off
With option off, labels of all nodes (also in hierarchy) disappear, can be toggled on/off.
- Show (all) label boxes on/off
With option on, all label boxes of nodes (also in hierarchy) are drawn, option is disabled if (24) is off, can be toggled on/off.
- Edge: Go to source
Choose navigation mode 'Hierarchy Zoom', click on compound 'cell' (automatic zoom to compound 'cell'), right click on reaction edge between compound 'k3p1' and compound 'ph1', choose 'Go To Source' from context menu (automatic zoom to compound 'k3p1'), compound 'k3p1' should be enlarged.
- Edge: Go to target
Choose navigation mode 'Hierarchy Zoom', click on compound 'cell' (automatic zoom to compound 'cell'), right click on reaction edge between compound 'k3p1' and compound 'ph1', choose 'Go To Target' from context menu (automatic zoom to compound 'ph1'), compound 'ph1' should be enlarged.
- Search for node/edge in network
Search for the compound 'r2' (attribute == PromotName, Case sensitive == on, Display options == Highlight, Navigation Options == Hierarchy Zoom), click button 'Search', compound 'r2' is emphasized by 'Global Highlight Node Color' (default red color) applied on the node border, display should zoom to compound 'r2', click button 'Clear' should remove the string input in the dialog and the highlight border color.
- Check model type
Check the correct interpretation of the loaded model.
Using Setup A, a logical model should be loaded, in the 'Statistics' dialog the model type should be 'Logical Model', default scenario should be 'Logical Network'.
Using Setup B, a dynamical model should be loaded, in the 'Statistics' dialog the model type should be 'Dynamical Model', default scenario should be 'Visual Editor'.
Using Setup C, a SBML model should be loaded, in the 'Statistics' dialog the model type should be 'SBML Model', default scenario should be 'SBML Model'.
Using Setup D, a unknown model type should be loaded, in the 'Statistics' dialog the model type should be 'Unknown Model', default scenario should be 'Visual Editor'.
Not tested/not critical/trivial
- Statistics dialog