Revision 9803e871
Added by Andreas Kohlbecker almost 4 years ago
src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/NameRelationshipsTest.java | ||
---|---|---|
78 | 78 |
List<BaseElement> footnotes = regItem.getRegistrationFootnotes(); |
79 | 79 |
assertEquals(4, 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 |
"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", |
|
84 |
"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",
|
|
85 | 85 |
footnotes .get(1).getText()); |
86 | 86 |
assertEquals( |
87 |
"3. 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", |
|
87 |
"3. 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",
|
|
88 | 88 |
footnotes .get(2).getText()); |
89 | 89 |
assertEquals( |
90 | 90 |
"4. Lem, Nonsens species of the developers Vol1. 2001", |
... | ... | |
102 | 102 |
List<BaseElement> footnotes = p.getHomotypicalGroupFootNotes(); |
103 | 103 |
assertEquals(3, footnotes.size()); |
104 | 104 |
assertEquals( |
105 |
"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", |
|
105 |
"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",
|
|
106 | 106 |
footnotes .get(0).getText()); |
107 | 107 |
assertEquals( |
108 |
"2. 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", |
|
108 |
"2. 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",
|
|
109 | 109 |
footnotes.get(1).getText()); |
110 | 110 |
assertEquals( |
111 | 111 |
"3. Lem, Nonsens species of the developers Vol1. 2001", |
Also available in: Unified diff
adding missing space in citation - adapting tests