Revision 6dc32b87
Added by Andreas Müller over 9 years ago
cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/excel/stream/ExcelStreamImportTest.java | ||
---|---|---|
228 | 228 |
// Reference ref = source.getCitation(); |
229 | 229 |
// assertNotNull("Citation should not be null", ref); |
230 | 230 |
// assertNotNull("Authorship should not be null", ref.getAuthorship()); |
231 |
// assertEquals("Source author should be 'Meyer et. al.'", "Meyer et. al.",ref.getAuthorTeam().getTitleCache());
|
|
231 |
// assertEquals("Source author should be 'Meyer et. al.'", "Meyer et. al.",ref.getAuthorship().getTitleCache());
|
|
232 | 232 |
// assertEquals("Publication title should be 'My first book'", "My first book", ref.getTitle()); |
233 | 233 |
// assertEquals("Publication year should be '1987'", "1987", ref.getYear()); |
234 | 234 |
// TaxonNameBase nameUsedInSource = source.getNameUsedInSource(); |
... | ... | |
252 | 252 |
// ref = source.getCitation(); |
253 | 253 |
// assertNotNull("Citation should not be null", ref); |
254 | 254 |
// assertNotNull("Authorship should not be null", ref.getAuthorship()); |
255 |
// assertEquals("Source author should be 'Theys, A.'", "Theys, A.",ref.getAuthorTeam().getTitleCache());
|
|
255 |
// assertEquals("Source author should be 'Theys, A.'", "Theys, A.",ref.getAuthorship().getTitleCache());
|
|
256 | 256 |
// assertEquals("Publication title should be 'The ultimate book'", "The ultimate book", ref.getTitle()); |
257 | 257 |
// assertEquals("Publication year should be '2011'", "2011", ref.getYear()); |
258 | 258 |
// nameUsedInSource = source.getNameUsedInSource(); |
Also available in: Unified diff
rename Reference.authorTeam -> authorship #4432