Revision 983575e5
Added by Andreas Kohlbecker over 8 years ago
src/test/java/org/bgbm/biovel/drf/checklist/BgbmEditChecklistTest.java | ||
---|---|---|
11 | 11 |
import org.bgbm.biovel.drf.client.ServiceProviderInfo; |
12 | 12 |
import org.bgbm.biovel.drf.input.DRFCSVInputParser; |
13 | 13 |
import org.bgbm.biovel.drf.input.DRFInputException; |
14 |
import org.bgbm.biovel.drf.query.RestClient; |
|
14 | 15 |
import org.bgbm.biovel.drf.tnr.msg.Query; |
15 | 16 |
import org.bgbm.biovel.drf.tnr.msg.TnrMsg; |
16 | 17 |
import org.bgbm.biovel.drf.utils.BiovelUtils; |
... | ... | |
63 | 64 |
//List<TnrMsg> tnrMsgs = parser.parse(BiovelUtils.getResourceAsString("/org/bgbm/biovel/drf/tnr/nameCompleteOnly.csv","UTF-8")); |
64 | 65 |
TnrMsg tnrMsg = TnrMsgUtils.mergeTnrMsgs(tnrMsgs); |
65 | 66 |
String json = JSONUtils.convertObjectToJson(ci); |
66 |
BgbmEditClient bec = new BgbmEditClient(json);
|
|
67 |
BaseChecklistClient<RestClient> bec = new BgbmEditClient(json);
|
|
67 | 68 |
|
68 | 69 |
|
69 | 70 |
for(Query query : tnrMsg.getQuery()) { |
Also available in: Unified diff
avoiding duplicate enties and other improvements