Revision 9fda2b40
Added by Andreas Müller over 9 years ago
cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/excel/taxa/NormalExplicitImportTest.java | ||
---|---|---|
203 | 203 |
DescriptionElementSource source = textData.getSources().iterator().next(); |
204 | 204 |
Reference<?> ref = source.getCitation(); |
205 | 205 |
assertNotNull("Citation should not be null", ref); |
206 |
assertNotNull("AuthorTeam should not be null", ref.getAuthorship());
|
|
206 |
assertNotNull("Authorship should not be null", ref.getAuthorship());
|
|
207 | 207 |
assertEquals("Source author should be 'Meyer et. al.'", "Meyer et. al.",ref.getAuthorship().getTitleCache()); |
208 | 208 |
assertEquals("Publication title should be 'My first book'", "My first book", ref.getTitle()); |
209 | 209 |
assertEquals("Publication year should be '1987'", "1987", ref.getYear()); |
... | ... | |
227 | 227 |
source = textData.getSources().iterator().next(); |
228 | 228 |
ref = source.getCitation(); |
229 | 229 |
assertNotNull("Citation should not be null", ref); |
230 |
assertNotNull("AuthorTeam should not be null", ref.getAuthorship());
|
|
230 |
assertNotNull("Authorship should not be null", ref.getAuthorship());
|
|
231 | 231 |
assertEquals("Source author should be 'Theys, A.'", "Theys, A.",ref.getAuthorship().getTitleCache()); |
232 | 232 |
assertEquals("Publication title should be 'The ultimate book'", "The ultimate book", ref.getTitle()); |
233 | 233 |
assertEquals("Publication year should be '2011'", "2011", ref.getYear()); |
Also available in: Unified diff
rename Reference.authorTeam -> authorship #4432