Project

General

Profile

« Previous | Next » 

Revision 5598c832

Added by Andreas Kohlbecker almost 3 years ago

ref #9685 adapting tests

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/FootnoteTest.java
75 75
        assertEquals(5, footnotes.size());
76 76
        assertEquals("1. Editorial note on Nodosilinea radiophila", footnotes.get(0).getText());
77 77
        assertEquals("2. editorial note on the fieldunit", footnotes.get(1).getText());
78
        assertEquals("3. Art. 77.7 Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 22",
78
        assertEquals("3. Art. 77.7; Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 22",
79 79
                footnotes.get(2).getText());
80
        assertEquals("4. Art. 99.9 Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 11",
80
        assertEquals("4. Art. 99.9; Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 11",
81 81
                footnotes.get(3).getText());
82 82
        assertEquals("5. Editorial annotation on Nodosilinea sensensia (Blanco) Heidari & Hauer ex Lem",
83 83
                footnotes.get(4).getText());
......
107 107
        assertEquals(6, footnotes.size());
108 108
        assertEquals("1. Editorial note on Nodosilinea radiophila",
109 109
                footnotes.get(0).getText());
110
        assertEquals("2. Art. 77.7 Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 22",
110
        assertEquals("2. Art. 77.7; Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 22",
111 111
                footnotes.get(1).getText());
112
        assertEquals("3. Art. 99.9 Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 11",
112
        assertEquals("3. Art. 99.9; Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 11",
113 113
                footnotes.get(2).getText());
114 114
        assertEquals("4. Editorial annotation on Nodosilinea sensensia (Blanco) Heidari & Hauer ex Lem",
115 115
                        footnotes.get(3).getText());
src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/NameRelationshipsTest.java
78 78
        List<BaseElement> footnotes = regItem.getRegistrationFootnotes();
79 79
        assertEquals(9, footnotes.size());
80 80
        assertEquals(
81
                "1. Art. 99.9 Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 11",
81
                "1. Art. 99.9; Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 11",
82 82
                footnotes .get(0).getText());
83 83
        assertEquals(
84 84
                "2. Editorial annotation on Nodosilinea sensensia (Blanco) Heidari & Hauer ex Lem",
85 85
                footnotes .get(1).getText());
86 86
        assertEquals(
87
                "3. Art. 77.7 Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 22",
87
                "3. Art. 77.7; Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 22",
88 88
                footnotes .get(2).getText());
89 89
        assertEquals(
90 90
                "4. Editorial note on Nodosilinea radiophila",
......
99 99
                "7. Editorial annotation on Nodosilinea sensensia, Species solaris",
100 100
                footnotes .get(6).getText());
101 101
        assertEquals(
102
                "8. Art. 88.9 Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 33",
102
                "8. Art. 88.9; Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 33",
103 103
                footnotes .get(7).getText());
104 104
        assertEquals(
105 105
                "9. Editorial annotation on Nodosilinea sensensi",
......
119 119
        List<BaseElement> footnotes = p.getHomotypicalGroupFootNotes();
120 120
        assertEquals(7, footnotes.size());
121 121
        assertEquals(
122
                "1. Art. 99.9 Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 11",
122
                "1. Art. 99.9; Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 11",
123 123
                footnotes .get(0).getText());
124 124
        assertEquals(
125 125
                "2. Editorial annotation on Nodosilinea sensensia (Blanco) Heidari & Hauer ex Lem",
......
134 134
                "5. Editorial annotation on Nodosilinea blockensis, New Species in the solar system",
135 135
                footnotes.get(4).getText());
136 136
        assertEquals(
137
                "6. Art. 88.9 Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 33",
137
                "6. Art. 88.9; Turland, N.J., Wiersema, J.H., Barrie, F.R. & al., International Code of Nomenclature for algae, fungi, and plants (Shenzhen Code) adopted by the Nineteenth International Botanical Congress Shenzhen, China, July 2017: 33",
138 138
                footnotes.get(5).getText());
139 139
        assertEquals(
140 140
                "7. Editorial annotation on Nodosilinea sensensi",

Also available in: Unified diff