Revision 19617222
Added by Andreas Müller almost 3 years ago
cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/cdmLight/out/CdmLightExportTest.java | ||
---|---|---|
123 | 123 |
String taxonStr = new String(taxon); |
124 | 124 |
String notExpected = "\"9182e136-f2e2-4f9a-9010-3f35908fb5e0\""; |
125 | 125 |
Assert.assertFalse("Result must not contain root taxon", taxonStr.startsWith(notExpected)); |
126 |
String expected = "\"b2c86698-500e-4efb-b9ae-6bb6e701d4bc\",\"4096df99-7274-421e-8843-211b603d832e\",\"CdmLightExportTest Classification\",\"3483cc5e-4c77-4c80-8cb0-73d43df31ee3\",\"9182e136-f2e2-4f9a-9010-3f35908fb5e0\",\"4b6acca1-959b-4790-b76e-e474a0882990\",\"My sec ref.\"";
|
|
126 |
String expected = "\"b2c86698-500e-4efb-b9ae-6bb6e701d4bc\",\"4096df99-7274-421e-8843-211b603d832e\",\"CdmLightExportTest Classification\",\"3483cc5e-4c77-4c80-8cb0-73d43df31ee3\",\"9182e136-f2e2-4f9a-9010-3f35908fb5e0\",\"4b6acca1-959b-4790-b76e-e474a0882990\",\"My sec ref\""; |
|
127 | 127 |
Assert.assertTrue(taxonStr.contains(expected)); |
128 | 128 |
|
129 | 129 |
byte[] reference = data.get(CdmLightExportTable.REFERENCE.getTableName()); |
... | ... | |
218 | 218 |
String taxonStr = new String(taxon); |
219 | 219 |
String notExpected = "\"9182e136-f2e2-4f9a-9010-3f35908fb5e0\""; |
220 | 220 |
Assert.assertFalse("Result must not contain root taxon", taxonStr.startsWith(notExpected)); |
221 |
String expected = "\"b2c86698-500e-4efb-b9ae-6bb6e701d4bc\",\"4096df99-7274-421e-8843-211b603d832e\",\"CdmLightExportTest Classification\",\"3483cc5e-4c77-4c80-8cb0-73d43df31ee3\",\"9182e136-f2e2-4f9a-9010-3f35908fb5e0\",\"4b6acca1-959b-4790-b76e-e474a0882990\",\"My sec ref.\"";
|
|
221 |
String expected = "\"b2c86698-500e-4efb-b9ae-6bb6e701d4bc\",\"4096df99-7274-421e-8843-211b603d832e\",\"CdmLightExportTest Classification\",\"3483cc5e-4c77-4c80-8cb0-73d43df31ee3\",\"9182e136-f2e2-4f9a-9010-3f35908fb5e0\",\"4b6acca1-959b-4790-b76e-e474a0882990\",\"My sec ref\""; |
|
222 | 222 |
Assert.assertTrue(taxonStr.contains(expected)); |
223 | 223 |
|
224 | 224 |
byte[] reference = data.get(CdmLightExportTable.REFERENCE.getTableName()); |
Also available in: Unified diff
ref #9638 remove trailing dots from ref caches (cont.)