Project

General

Profile

« Previous | Next » 

Revision 0928b8c3

Added by Andreas Müller about 4 years ago

cleanup

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/strategy/parser/NonViralNameParserImplTest.java
55 55
import eu.etaxonomy.cdm.model.reference.ReferenceType;
56 56
import eu.etaxonomy.cdm.model.term.DefaultTermInitializer;
57 57
import eu.etaxonomy.cdm.strategy.exceptions.StringNotParsableException;
58

  
58 59
/**
59
 * @author a.mueller
60
 * Tests for {@link NonViralNameParserImpl}.
60 61
 *
62
 * @author a.mueller
61 63
 */
62 64
public class NonViralNameParserImplTest {
65

  
63 66
    private static final NomenclaturalCode ICNAFP = NomenclaturalCode.ICNAFP;
64 67
    private static final NomenclaturalCode ICZN = NomenclaturalCode.ICZN;
65 68

  
......
1548 1551
        String strBookSection2 = "Hieracium vulgatum subsp. acuminatum (Jord.) Zahn in Schinz & Keller, Fl. Schweiz, ed. 2, 2: 288. 1905-1907";
1549 1552
        String strBookSection2NoComma = "Hieracium vulgatum subsp. acuminatum (Jord.) Zahn in Schinz & Keller, Fl. Schweiz ed. 2, 2: 288. 1905-1907";
1550 1553
        INonViralName nameBookSection2 =
1551
            parser.parseReferencedName(strBookSection2, null, null);
1554
              parser.parseReferencedName(strBookSection2, null, null);
1552 1555
        assertFalse(nameBookSection2.hasProblem());
1553 1556
        nameBookSection2.setFullTitleCache(null, false);
1554 1557
        assertEquals(strBookSection2NoComma.replace(" ed.", ", ed."), nameBookSection2.getFullTitleCache());

Also available in: Unified diff