Project

General

Profile

« Previous | Next » 

Revision 0017ece1

Added by Katja Luther almost 3 years ago

adapt tests for cdmLightExport

View differences:

cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/cdmLight/out/CdmLightExportTest.java
251 251
            String homotypicGroupString = new String(homotypicGroup);
252 252
            Assert.assertNotNull("Reference table must not be null", homotypicGroup);
253 253
            if (config.isAddHTML()){
254
                expected ="\"<i>Genus</i> <i>species</i> subsp. <i>subspec</i> Mill., The book of botany 3: 22. (1804)\",\"\",\"\",\"<i>Genus</i> <i>species</i> subsp. <i>subspec</i> Mill., The book of botany 3: 22. (1804)\",\"\",\"\"";
254
                expected ="\"<i>Genus</i> <i>species</i> subsp. <i>subspec</i> Mill., The book of botany 3: 22. 1804\",\"\",\"\",\"<i>Genus</i> <i>species</i> subsp. <i>subspec</i> Mill., The book of botany 3: 22. 1804 My sec ref\",\"\",\"\"";
255 255
            }else{
256
                expected ="\"Genus species subsp. subspec Mill., The book of botany 3: 22. (1804)\",\"\",\"\",\"Genus species subsp. subspec Mill., The book of botany 3: 22. (1804)\",\"\",\"\"";
256
                expected ="\"Genus species subsp. subspec Mill., The book of botany 3: 22. (1804)\",\"\",\"\",\"Genus species subsp. subspec Mill., The book of botany 3: 22. (1804) My sec ref\",\"\",\"\"";
257 257
            }
258 258
            Assert.assertTrue(homotypicGroupString.contains(expected));
259 259
        }

Also available in: Unified diff