Revision 0c763d5f
Added by Andreas Müller almost 3 years ago
cdmlib-model/src/test/java/eu/etaxonomy/cdm/strategy/parser/NonViralNameParserImplTest.java | ||
---|---|---|
2812 | 2812 |
nameStr = "Phytophthora multivesiculata Ilieva, Man in 't Veld, Veenbaas-Rijks & Pieters"; |
2813 | 2813 |
name = parser.parseFullName(nameStr); |
2814 | 2814 |
Assert.assertFalse("Name should be parsable", name.isProtectedTitleCache()); |
2815 |
assertEquals("Ilieva, Man in 't Veld, Veenbaas-Rijks & al.",
|
|
2815 |
assertEquals("Ilieva, Man in 't Veld, Veenbaas-Rijks & Pieters",
|
|
2816 | 2816 |
name.getCombinationAuthorship().getTitleCache()); |
2817 | 2817 |
assertEquals("Ilieva, Man in 't Veld, Veenbaas-Rijks & Pieters", |
2818 | 2818 |
name.getCombinationAuthorship().getNomenclaturalTitle()); |
... | ... | |
2820 | 2820 |
nameStr = "Thymus \u00D7 herberoi De la Torre, Vicedo, Alonso & Paya"; |
2821 | 2821 |
name = parser.parseFullName(nameStr); |
2822 | 2822 |
Assert.assertFalse("Name should be parsable", name.isProtectedTitleCache()); |
2823 |
assertEquals("De la Torre, Vicedo, Alonso & al.", |
|
2823 |
//TODO may become ... Alonso & al. again in future |
|
2824 |
assertEquals("Thymus \u00D7herberoi De la Torre, Vicedo, Alonso & Paya", name.getTitleCache()); |
|
2825 |
assertEquals("De la Torre, Vicedo, Alonso & Paya", |
|
2824 | 2826 |
name.getCombinationAuthorship().getTitleCache()); |
2825 | 2827 |
assertEquals("De la Torre, Vicedo, Alonso & Paya", |
2826 | 2828 |
name.getCombinationAuthorship().getNomenclaturalTitle()); |
Also available in: Unified diff
ref #9624, ref #7305, ref #9326 refactor team formatting all over cdmlib (including et al. handling for biblio references)