Changes between Version 14 and Version 15 of PromotExplorerTest
- Timestamp:
- Jul 17, 2009, 10:47:43 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PromotExplorerTest
v14 v15 3 3 '''Setup A: ''' [[BR]] 4 4 Model type: 'Logical Model'. [[BR]] 5 Test to be applied: 1, 4, 5, 6, 11, 12-15, 22-25, 26-27[[BR]]5 Test to be applied: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12-16, 17-21, 22-25, 26-27, 28, 29, 30 [[BR]] 6 6 Start ProMoT server and GUI -> load the logical library [source:/Promot/trunk/promot/kb/SignalTransd/structure/struct-ana-library.mdl] 7 7 -> load the logical toymodel from tutorial [source:/Promot/trunk/promot/kb/SignalTransd/structure/toymodel_tutorial/LOAD_toymodel.mdl] … … 10 10 '''Setup B: ''' [[BR]] 11 11 Model type: 'Dynamical Model'. [[BR]] 12 Tests to be applied: None[[BR]]12 Tests to be applied: 2, 5, 8, 9, 10, 29[[BR]] 13 13 Start ProMoT server and GUI -> load [source:/Promot/trunk/promot/kb/practical-bio/LOAD.mdl] which includes the library (reduced-library) for dynamic modeling 14 14 -> Open the Visual Explorer for the browser tree node 'dynamic-model' --> 'mapk_modules' --> 'mapkc' by right mouse click --> context menu --> Visual Explorer. … … 16 16 '''Setup C: ''' [[BR]] 17 17 Model type: 'SBML Model'. [[BR]] 18 Tests to be applied: None[[BR]]18 Tests to be applied: 2, 5, 8, 9, 10, 29 [[BR]] 19 19 Start ProMoT server and GUI -> import a biomodels.org model (e.g. BIOMD0000000001.xml) 20 20 -> Open the Visual Explorer for the browser tree node 'sbml-model' --> 'name of model' by right mouse click --> context menu --> Visual Explorer. … … 22 22 '''Setup D: ''' [[BR]] 23 23 Model type: 'Unknown Model'. [[BR]] 24 Tests to be applied: None[[BR]]24 Tests to be applied: 2, 5, 8, 9, 10, 29 [[BR]] 25 25 Start ProMoT server and GUI -> load [source:/Promot/trunk/promot/kb/practical/LOAD.mdl] which loads the 'tank' model -> Open the Visual Explorer for the browser tree node 'tank-plant' --> 'mc-tank-plant' by right mouse click --> context menu --> Visual Explorer. 26 26 27 27 === JUnit Tests === 28 28 29 1. Import node and edge attributes [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav .data.io.AttributeReaderTest.java] [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav.data.io.DelimitedTextReaderTest.java][[BR]] 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.29 1. Import node and edge attributes [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/data/io/AttributeReaderTest.java] [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/data/io/DelimitedTextReaderTest.java][[BR]] 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. 30 30 31 2. Load global scenarios [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/visual/VisualPropertyTest.java] [[BR]] Check that the global scenario file (.!PromotVizScenarios) is at the given location and calculators are loaded properly from the file. 31 2. Load global scenarios [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/visual/VisualPropertyTest.java] [[BR]] Check that the global scenario file (.!PromotVizScenarios) is at the given location and calculators are loaded properly from the file. Test is independent of the model type. 32 32 33 33 3. Scenarios: Logical Network Parser [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/data/logical/LogicalNetworkParserTest.java] [[BR]] Check that part of the logical network parser, especially parsing of DUMMY element and NOT element. … … 89 89 28. Search for node/edge in network [[BR]] 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. 90 90 91 29. Check model type [[BR]] Check the correct interpretation of the loaded model. [[BR]] 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'. [[BR]] 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'. [[BR]] 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'. [[BR]] 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'. 91 29. Check model type [[BR]] Check the correct interpretation of the loaded model. Four cases:[[BR]] 92 1. 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'. 93 2. 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'. 94 3. 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'. 95 4. 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'. 92 96 93 97 === Not tested / not critical / trivial ===