[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Thu Apr 12 00:57:32 UTC 2007


gordonp
Wed Apr 11 20:57:32 EDT 2007
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/test
In directory dev.open-bio.org:/tmp/cvs-serv30632/src/main/ca/ucalgary/services/test

Modified Files:
	ACDServiceTestCase.java 
Log Message:
Now correctly tests the command-line servlet tester class
moby-live/Java/src/main/ca/ucalgary/services/test ACDServiceTestCase.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/test/ACDServiceTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/test/ACDServiceTestCase.java	2007/03/12 14:33:38	1.1
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/test/ACDServiceTestCase.java	2007/04/12 00:57:32	1.2
@@ -9,6 +9,7 @@
 import ca.ucalgary.seahawk.services.MobyClient;
 
 import org.biomoby.service.test.MobyServletTestCase;
+import org.biomoby.service.test.ServletTester;
 import org.biomoby.shared.MobyDataType;
 import org.biomoby.shared.data.*;
 
@@ -25,9 +26,6 @@
     private final static String ACDTEST_BINARY_DATA2 = "ca/ucalgary/services/test/mobyTest2.png";
     private final static String MOBY_PNG_DATATYPE = "b64_Encoded_PNG";
 
-    // Sync with acdweb.xml's example EMBOSS service
-    //private final static String ACDSERVLET_TEST_URL = "http://moby.ucalgary.ca:8089/transeq";  
-
     public ACDServiceTestCase(String name){
 	super(name);
     }
@@ -45,10 +43,6 @@
 	return ACDTEST_CLASS_NAME;
     }
 
-//     protected String getExampleServlet(){
-// 	return ACDSERVLET_TEST_URL;
-//     }
-
     /**
      * Loads a binary file, then tests it against a regex, creates a MOBY object, and
      * then the new object is compared to the original file data (they should be
@@ -154,7 +148,7 @@
  	suite.addTest(new ACDServiceTestCase("testMain"));
  	suite.addTest(new ACDServiceTestCase("testBinaryRegex"));
  	suite.addTest(new MobyServletTestCase("testSecondaryParams"));
- 	//suite.addTest(new MobyServletTestCase("testServletTester"));
+ 	suite.addTest(new MobyServletTestCase("testServletTester"));
         return suite;
     }
 




More information about the MOBY-guts mailing list