Author: kono
Date: 2010-11-04 13:58:34 -0700 (Thu, 04 Nov 2010)
New Revision: 22722

Modified:
   
cytoscape/trunk/coreplugins/BioMartClient/src/test/java/edu/ucsd/bioeng/idekerlab/biomartclient/tests/BiomartStubTest.java
   
cytoscape/trunk/coreplugins/BioMartClient/src/test/java/edu/ucsd/bioeng/idekerlab/biomartclient/tests/QueryBuilderUtilTest.java
Log:
Deprecated method calls removed.

Modified: 
cytoscape/trunk/coreplugins/BioMartClient/src/test/java/edu/ucsd/bioeng/idekerlab/biomartclient/tests/BiomartStubTest.java
===================================================================
--- 
cytoscape/trunk/coreplugins/BioMartClient/src/test/java/edu/ucsd/bioeng/idekerlab/biomartclient/tests/BiomartStubTest.java
  2010-11-04 18:15:17 UTC (rev 22721)
+++ 
cytoscape/trunk/coreplugins/BioMartClient/src/test/java/edu/ucsd/bioeng/idekerlab/biomartclient/tests/BiomartStubTest.java
  2010-11-04 20:58:34 UTC (rev 22722)
@@ -1,17 +1,10 @@
 package edu.ucsd.bioeng.idekerlab.biomartclient.tests;
 
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
 import java.io.File;
+import java.util.Map;
 
 import junit.framework.TestCase;
 import edu.ucsd.bioeng.idekerlab.biomartclient.BiomartStub;
-import edu.ucsd.bioeng.idekerlab.biomartclient.utils.Attribute;
-import edu.ucsd.bioeng.idekerlab.biomartclient.utils.Dataset;
-import edu.ucsd.bioeng.idekerlab.biomartclient.utils.Filter;
-import edu.ucsd.bioeng.idekerlab.biomartclient.utils.XMLQueryBuilder;
 
 public class BiomartStubTest extends TestCase {
 
@@ -20,7 +13,7 @@
        protected void setUp() throws Exception {
                super.setUp();
                File f = new File("./src/test/resources/mart.registry.xml");
-               stub = new BiomartStub(f.toURL().toString());
+               stub = new BiomartStub(f.toURI().toURL().toString());
                stub.getRegistry();
        }
 

Modified: 
cytoscape/trunk/coreplugins/BioMartClient/src/test/java/edu/ucsd/bioeng/idekerlab/biomartclient/tests/QueryBuilderUtilTest.java
===================================================================
--- 
cytoscape/trunk/coreplugins/BioMartClient/src/test/java/edu/ucsd/bioeng/idekerlab/biomartclient/tests/QueryBuilderUtilTest.java
     2010-11-04 18:15:17 UTC (rev 22721)
+++ 
cytoscape/trunk/coreplugins/BioMartClient/src/test/java/edu/ucsd/bioeng/idekerlab/biomartclient/tests/QueryBuilderUtilTest.java
     2010-11-04 20:58:34 UTC (rev 22722)
@@ -1,13 +1,10 @@
 package edu.ucsd.bioeng.idekerlab.biomartclient.tests;
 
-import java.io.BufferedReader;
-import java.util.List;
-import java.util.Map;
 import java.io.File;
 
+import junit.framework.TestCase;
 import edu.ucsd.bioeng.idekerlab.biomartclient.BiomartStub;
 import edu.ucsd.bioeng.idekerlab.biomartclient.utils.QueryBuilderUtil;
-import junit.framework.TestCase;
 
 public class QueryBuilderUtilTest extends TestCase {
 
@@ -17,7 +14,7 @@
        protected void setUp() throws Exception {
                super.setUp();
         File f = new File("./src/test/resources/mart.registry.xml");
-        stub = new BiomartStub(f.toURL().toString());
+        stub = new BiomartStub(f.toURI().toURL().toString());
        }
 
        protected void tearDown() throws Exception {

-- 
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