Changes between Version 26 and Version 27 of PromotExplorerTest


Ignore:
Timestamp:
Aug 20, 2010, 11:35:24 AM (15 years ago)
Author:
mirschel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PromotExplorerTest

    v26 v27  
    2828
    2929 1. Parsing of delimited text file [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/test/DelimitedTextReaderTest.java][[BR]]
    30     Check correct parsing of delimited text file, delimiter is <TAB>
    31 
     30    Check correct parsing of delimited text file, delimiter is <TAB> [[BR]][[BR]]
    3231 2. Import node and edge attributes [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/test/AttributeReaderTest.java] [[BR]]
    33     Check that two external files (edge attributes, node attributes) are loaded properly. The attributes should be mapped to the existing nodes and edges in the graph correctly.
    34  
     32    Check that two external files (edge attributes, node attributes) are loaded properly. The attributes should be mapped to the existing nodes and edges in the graph correctly.[[BR]][[BR]]
    3533 3. Parsing and calculation of logical parameter 'Multiple Level' [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/test/LogicalParameterMultipleLevelTest.java] [[BR]]
    36     Check that the logical parameter 'Multiple Level' is correctly parsed and calculated
    37 
     34    Check that the logical parameter 'Multiple Level' is correctly parsed and calculated[[BR]][[BR]]
    3835 4. Scenarios: Logical Network Parser [[BR]] [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/viznav/test/LogicalNetworkParserTest.java] [[BR]]
    3936    Check that part of the logical network parser, especially parsing of DUMMY element and NOT element.
     
    4744=== Tests ===
    4845
    49  4. Import/export layout [[BR]] Save layout (Model --> Export --> Export Layout) in a file (e.g. layout.graphml) in your home directory, change editing mode to 'Editing', move the compounds 'lig1' and 'ph2' slightly, move the edge handle of inhibition edge '!r1-->not_r1_r2_a2' slightly, import layout (Model --> Import --> Import Layout) from a file (e.g. layout.graphml). The positions of the compounds 'lig1' and 'ph2' and edge handle of inhibition edge '!r1-->not_r1_r2_a2' should be the same as before. [[BR]] --> TODO: use JUnit test.
     46 7. Import/export layout [[BR]] Save layout (Model --> Export --> Export Layout) in a file (e.g. layout.graphml) in your home directory, change editing mode to 'Editing', move the compounds 'lig1' and 'ph2' slightly, move the edge handle of inhibition edge '!r1-->not_r1_r2_a2' slightly, import layout (Model --> Import --> Import Layout) from a file (e.g. layout.graphml). The positions of the compounds 'lig1' and 'ph2' and edge handle of inhibition edge '!r1-->not_r1_r2_a2' should be the same as before. [[BR]] --> TODO: use JUnit test.
    5047
    51  5. Import/export attributes [[BR]] Save node attribute 'Map Number' (Model --> Export --> Export Attributes) in a file (e.g. node_attrs.txt) in your home directory, edit file node_attrs.txt by changing in the first line 'Map Number' to 'Test' and in the second line '1' to '5', import attribute file (Model --> Import --> Import Attributes). Copy the 'Logical Network Scenario' and for 'Node Fill Color' set the map attribute to 'Test'. Two row should appear showing the values '1' and '5'. Now set for value '1' a blue color, for value '5' a red color. The node 'k1' in the module 'cell' should be colored red, all other nodes should colored blue [[BR]] --> TODO: use JUnit test.
     48 8. Import/export attributes [[BR]] Save node attribute 'Map Number' (Model --> Export --> Export Attributes) in a file (e.g. node_attrs.txt) in your home directory, edit file node_attrs.txt by changing in the first line 'Map Number' to 'Test' and in the second line '1' to '5', import attribute file (Model --> Import --> Import Attributes). Copy the 'Logical Network Scenario' and for 'Node Fill Color' set the map attribute to 'Test'. Two row should appear showing the values '1' and '5'. Now set for value '1' a blue color, for value '5' a red color. The node 'k1' in the module 'cell' should be colored red, all other nodes should colored blue [[BR]] --> TODO: use JUnit test.
    5249 
    53  6. Export graphics [[BR]] Open export dialog (Model --> Export --> Export Graphics), a dialog should appear with six options for formats (eps, ps, svg, emf, png, gif), export the view with each of the formats using default options. The results should look like the view in the Visual Explorer but without any layers (status, overview, grid)
    54  
    55  7. Export logical model [[BR]] Output logical model with default options, click button 'Generate Model', export should perform without errors, check resulting files, click button 'Close' should exit the dialog. [[BR]] -->  TODO: use JUnit test.
    56  
    57  7. Edit scenarios, new/copy/rename/remove/mappings [[BR]]
     50 9. Export graphics [[BR]] Open export dialog (Model --> Export --> Export Graphics), a dialog should appear with six options for formats (eps, ps, svg, emf, png, gif), export the view with each of the formats using default options. The results should look like the view in the Visual Explorer but without any layers (status, overview, grid)
     51 10. Export logical model [[BR]] Output logical model with default options, click button 'Generate Model', export should perform without errors, check resulting files, click button 'Close' should exit the dialog. [[BR]] -->  TODO: use JUnit test. [[BR]]
     52 11. Edit scenarios, new/copy/rename/remove/mappings [[BR]]
    5853 
    5954 8. Load user-defined (local) scenarios [[BR]] Load user-defined scenarios from USER_HOME. Check console output. Two cases: