fixing minor bug in test
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Tue, 3 Feb 2015 14:44:02 +0000 (15:44 +0100)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Tue, 3 Feb 2015 14:44:02 +0000 (15:44 +0100)
14 files changed:
src/main/java/org/bgbm/biovel/drf/tnr/msg/AtomisedName.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/Classification.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/NameType.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/ObjectFactory.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/Query.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/Response.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/Source.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/Synonym.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/Taxon.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/TaxonBase.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/TaxonName.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/TnrMsg.java
src/main/java/org/bgbm/biovel/drf/tnr/msg/package-info.java
src/test/java/org/bgbm/biovel/drf/tnr/msg/WoRMSClientTest.java

index cc25ad5d63f7b53fa89a3769567b3296ca82ce4b..77c89a3d4f8203f7aa19aa3aff673ee186272dea 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index af8deecfb95f1e78580966bbb1720aed18d57c72..693c8ff40c90e1192c778b27858d86b04b74deef 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index 12faae03498f0bcaf875e88aa63c01ab78dceb73..523e76c76e84cf291acc23c5367ece6e0b0f91bd 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index 54e1f20ba5f0e47db8a4b102e1d562d359479cc5..f0339687fe5ca90a96bf720299ea6fa57092f752 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index 08658fad2e3844ee9a6169c5a36434562042b0ff..d03ae796c7e58281b961b85113875f50e3590a90 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index 26fa694d35da664059d8100bb83cc8a7914e427c..54187ca7d056c37921cd6c7be420ce5d178ad703 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index dda8fb6121463e70e6357fd8bbca984288ba2578..b191a6ee43dece48a267a8da5c4304df11409ac5 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index 67862290c447b41a6dad4c13104a93915cdb517c..5911e0faef3cfa6632eb8503bcdc706cea862c65 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index 7c4945f4abc55728be2a51102c4d9865645d022e..82a268f9ded19441cf4edcc03f55a362f2477abc 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index 7d388743e1ec168e51b1b9c086c58bfd724c649a..6804b7dc6b76825dc2cafa1049e96d99b8b27065 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index a6e8f7713a692dd9fa73c1a1364b644bd3136690..888f2c2bbbae59752c63b4bed0df05f96896eb10 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index 1ac7733ce215e03cc4a04d0b5ba3a529315fedd3..34f03687397adceaa2ca9c1bdf6211d5804e9265 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 
index 66a307dc2c8d1c9fab53f79b06f93e6bd7e8b942..109efac6872704f06e7a8953fb10a2652ec6b472 100644 (file)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2015.02.03 at 03:30:44 PM CET 
+// Generated on: 2015.02.03 at 03:40:53 PM CET 
 //
 
 @javax.xml.bind.annotation.XmlSchema(namespace = "http://bgbm.org/biovel/drf/tnr/msg", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
index 97d9faa4c9d040345943a43643da9a7fbad84aec..be8b0f798b2f484fe39b1673f3e61733ca2d96fd 100644 (file)
@@ -83,6 +83,7 @@ public class WoRMSClientTest {
         // strip off the last to characters of the names since we will do a like query
         for (TnrMsg tnrMsg : tnrMsgs) {
             String name = tnrMsg.getQuery().get(0).getRequest().getName();
+            tnrMsg.getQuery().get(0).getRequest().setSearchMode(SearchMode.scientificNameExact.toString());
             String nameTrunk = name.substring(0, name.length() - 2);
             logger.info("Querying WoRMS for name : " + nameTrunk);