Author: scooter
Date: 2011-06-15 16:17:32 -0700 (Wed, 15 Jun 2011)
New Revision: 25773

Modified:
   
cytoscape/trunk/application/src/test/java/cytoscape/data/readers/CytoscapeSessionReaderTest.java
Log:
Make sure to start a new session before invoking the reader


Modified: 
cytoscape/trunk/application/src/test/java/cytoscape/data/readers/CytoscapeSessionReaderTest.java
===================================================================
--- 
cytoscape/trunk/application/src/test/java/cytoscape/data/readers/CytoscapeSessionReaderTest.java
    2011-06-15 22:58:50 UTC (rev 25772)
+++ 
cytoscape/trunk/application/src/test/java/cytoscape/data/readers/CytoscapeSessionReaderTest.java
    2011-06-15 23:17:32 UTC (rev 25773)
@@ -69,6 +69,8 @@
        
        
        public void testNestedNetworkReconstruction1() throws Exception {
+               Cytoscape.createNewSession();
+
                invokeReader("src/test/resources/testData/NNFData/t3.cys");
                
                //Check all networks are available.
@@ -76,6 +78,7 @@
                
                CyNetwork targetNet = null;
                for (CyNetwork net:networks) {
+                       System.out.println("Network: "+net.getTitle());
                        if (net.getTitle().equals("Module_Overview")) {
                                targetNet = net;
                        }
@@ -96,6 +99,8 @@
        }
        
        public void testNestedNetworkReconstruction2() throws Exception {
+               Cytoscape.createNewSession();
+
                invokeReader("src/test/resources/testData/NNFData/t4.cys");
                
                //Check all networks are available.

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to