[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Thu Jul 3 16:29:26 UTC 2008


gordonp
Thu Jul  3 12:29:26 EDT 2008
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util/test
In directory dev.open-bio.org:/tmp/cvs-serv24943/src/main/ca/ucalgary/services/util/test

Modified Files:
	WSDLConfigTestCase.java 
Log Message:
Refactored and added implicit collection support
moby-live/Java/src/main/ca/ucalgary/services/util/test WSDLConfigTestCase.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util/test/WSDLConfigTestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util/test/WSDLConfigTestCase.java	2008/06/30 17:42:29	1.2
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util/test/WSDLConfigTestCase.java	2008/07/03 16:29:26	1.3
@@ -39,7 +39,7 @@
 
     private final static int NUM_OUTPUTS = 1;
     private final static String OUTPUT_NAME1 = "return";
-    private final static String OUTPUT_TYPE1 = "return:GeneId";
+    private final static String OUTPUT_TYPE1 = "return:Collection(GeneId)";  //should be collection due to XSD array type of return
     private final static String OUTPUT_XSDTYPE1 = "typens:ArrayOfstring";
     private final static String OUTPUT_SCHEMA_MAPPING1 = "urn:lsid:bioxml.info:mobyLiftingSchemaMapping:string2GeneId";
 
@@ -247,8 +247,8 @@
     public static Test suite() {
 
 	TestSuite suite = new TestSuite();
- 	//suite.addTest(new WSDLConfigTestCase("testParsingBasic"));
- 	//suite.addTest(new WSDLConfigTestCase("testMetadata"));
+ 	suite.addTest(new WSDLConfigTestCase("testParsingBasic"));
+ 	suite.addTest(new WSDLConfigTestCase("testMetadata"));
  	suite.addTest(new WSDLConfigTestCase("testIOSpecs"));
 	
         return suite;




More information about the MOBY-guts mailing list