Project

General

Profile

« Previous | Next » 

Revision ca2ed7a5

Added by Andreas Kohlbecker almost 6 years ago

ref #7766 adapting test to modified data - 2.

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/MisappliedNamesTest.java
79 79
        // Test also invalid designation which is rendered with the misapplied names
80 80
        assertEquals("–\nOssaea maculata sec. Lem2, rel. sec. A&S1", p.getMisappliedName(6).getText());
81 81

  
82
        assertEquals("≜⊃\nTrichocentrum undulatum (Sw.) Ackerman & M. W. Chase sec. Kohlbecker 2016-20183", p.getTaxonRelationships(1).getText());
83
        assertEquals("∅ Achilllea santolina Lag. sec. Testor 2018+4", p.getTaxonRelationships(1).getText());
84

  
85

  
86 82
        List<BaseElement> footnotes = ElementUtils.findFootNotes(p.getTaxonRelationships());
87
        assertEquals(4, footnotes.size());
83
        assertEquals(2, footnotes.size());
88 84
        assertEquals("1. A&S, Plantas vasculares de Oz", footnotes.get(0).getText());
89 85
        assertEquals("2. Lem, New Species in the solar system", footnotes.get(1).getText());
90
        assertEquals("3. Kohlbecker, .....TODO .... 2016-2018", footnotes.get(0).getText());
91
        assertEquals("4. Testor ... TODO ... 2018+", footnotes.get(1).getText());
92 86
        // "Species solaris" must not be in the footnotes as it has the same title as the short citation
93 87

  
94 88
    }

Also available in: Unified diff