Author: scooter
Date: 2012-09-11 21:11:36 -0700 (Tue, 11 Sep 2012)
New Revision: 30352
Modified:
core3/impl/trunk/io-impl/performance/src/main/java/org/cytoscape/io/read/sif/PerfTest.java
Log:
Fix breakage from commit #30349
Modified:
core3/impl/trunk/io-impl/performance/src/main/java/org/cytoscape/io/read/sif/PerfTest.java
===================================================================
---
core3/impl/trunk/io-impl/performance/src/main/java/org/cytoscape/io/read/sif/PerfTest.java
2012-09-11 23:56:10 UTC (rev 30351)
+++
core3/impl/trunk/io-impl/performance/src/main/java/org/cytoscape/io/read/sif/PerfTest.java
2012-09-12 04:11:36 UTC (rev 30352)
@@ -19,6 +19,7 @@
import org.cytoscape.model.CyEdge;
import org.cytoscape.model.CyNetwork;
import org.cytoscape.model.CyNetworkFactory;
+import org.cytoscape.model.CyNetworkManager;
import org.cytoscape.model.CyNode;
import org.cytoscape.model.NetworkTestSupport;
import org.cytoscape.property.CyProperty;
@@ -49,6 +50,7 @@
protected ReadUtils readUtil;
protected CyLayoutAlgorithmManager layouts;
protected CyRootNetworkManager rootMgr;
+ protected CyNetworkManager netMgr;
private Properties properties;
@@ -64,6 +66,7 @@
NetworkTestSupport nts = new NetworkTestSupport();
netFactory = nts.getNetworkFactory();
rootMgr = nts.getRootNetworkFactory();
+ netMgr = nts.getNetworkManager();
properties = new Properties();
CyProperty<Properties> cyProperties = new
SimpleCyProperty<Properties>("Test", properties, Properties.class,
DO_NOT_SAVE);
@@ -78,7 +81,7 @@
private SIFNetworkReader readFile(String file) throws Exception {
InputStream is = getClass().getResource("/testData/sif/" +
file).openStream();
final CyEventHelper eventHelper = mock(CyEventHelper.class);
- SIFNetworkReader snvp = new SIFNetworkReader(is, layouts,
viewFactory, netFactory, eventHelper);
+ SIFNetworkReader snvp = new SIFNetworkReader(is, layouts,
viewFactory, netFactory, eventHelper, netMgr, rootMgr);
new TaskIterator(snvp);
snvp.run(taskMonitor);
--
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.