Project

General

Profile

« Previous | Next » 

Revision e79b94a3

Added by Andreas Müller almost 6 years ago

fix UTF8 issue in NonViralNameParserImplTest

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/strategy/parser/NonViralNameParserImplTest.java
2285 2285
        //or even better IV. 111 (Heft 36), but this is currently not implemented
2286 2286
        assertEquals("111 (Heft 36)", ref.getInReference().getVolume());
2287 2287

  
2288
        nameStr = "Bufonia kotschyana subsp. densa Chrtek & Křísa in Acta Univ.Carol., Biol. 43(2): 105. 1999";
2288
        nameStr = "Bufonia kotschyana subsp. densa Chrtek & Krisa in Acta Univ.Carol., Biol. 43(2): 105. 1999";
2289 2289
        name = parser.parseReferencedName(nameStr);
2290 2290
        Assert.assertFalse("Name should be parsable", name.isProtectedTitleCache());
2291 2291
        String author = name.getAuthorshipCache();
2292
        assertEquals("Chrtek & Křísa", author);
2292
        assertEquals("Chrtek & Krisa", author);
2293 2293
        ref = (Reference)name.getNomenclaturalReference();
2294 2294
        Assert.assertNotNull("Nomenclatural reference should be an article and therefore have an in reference", ref.getInReference());
2295 2295
        Assert.assertEquals(ReferenceType.Journal, ref.getInReference().getType());

Also available in: Unified diff