Cytoscape 2.7 - Test Plan
Nested Network Related Tests
*****QA Note: Finished executing the following tests on Feb 11' 10. All tests passed.********
- 1) load an NNF file, e.g. .../testData/NNFData/good3.nnf, 2) right-click on a node with a nested network and select "Delete nested network", 3) after clicking on the network view the node should be displayed w/o the nested network graphic
- 1) load an NNF file, e.g. .../testData/NNFData/good3.nnf, 2) delete one of the networks that acts a a nested network for a node in a different network, e.g. M3, 3) the node that previously depicted the M3 network as a child should now be rendered w/o any nested network graphic
- Add/Delete/Go-to nested network
Set nested network for a node: 1) Right-click a node, 2) Select menu item “Nested Network” -> “Set Nested Network”, 3) Select a network from the Dialog as Nested network for current node point to and click OK button. 4) Select the node and check with the attribute browser, there should be an attribute “has_nested_network” with value “yes” for this node. There should also be another attribute “nested_network_id” with value equal to the name of the nested network ID
Go to nested network from a node: 1) Right-click on a node (point to nested network), select “Nested network” -> “Go to nested network”, the nested network the node point to will show up on the screen.
Delete nested network from a node: 1) Right-click on a node (point to nested network), 2) select “Nested network” -> “Delete”. 3) Check the Node Attribute browser, the attribute value “has_nested_network” for selected node should be empty.
- Edit nested network 1: 1) Go to Cytoscape editor by clicking on the “Editor” tab on the control panel at the left-side of the main window. There should be a nested panel with title “Add a Nested Network” on the Editor panel.
- Edit nested network 2: 1) Drag the network icon onto a node. A dialog “Set nested network for ...” will show up, 2) select a network on the list and click OK, 3) the node should now contain a nested network image
- Edit nested network 3: 1) Drag the network icon onto the empty area of a network view canvas. 2) A dialog “Set nested network for new node” will show up, 3) select a network on the list and click OK, 4) new node should be created that contains the selected nested network should appear on the canvas.
- Like the previous test but this time, check “Specify Identifier” on the "Editor" panel first. This time, after selecting the nested network, an new dialog box asking for the node identifier should pop up.
- From the main menu select "File/Import/Network (multiple file types)..." and try to import various good and bad files from .../testData/NNFData/. Observe to see if the results seem consistent w/ the file contents
- 1) create a network using the network editor or load an existing network from a file. 2) right click on any node and set the nested network to the one that the node is contained in. 3) The node should now display the special icon (has "me", "myself" and "I" as labels on 3 nodes) that indicates a self-referential nested network
In any network view: 1) Right-click on a node (point to nested network), 2) select “Nested network” -> “Set Nested Network”, 3) Select the network that the node is a part of. This should result in the node showing an icon with 3 nodes labelled "me", "I" and "myself pointing to each other.