Revision 9fda2b40
Added by Andreas Müller over 9 years ago
cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/excel/stream/ExcelStreamImportTest.java | ||
---|---|---|
227 | 227 |
// DescriptionElementSource source = textData.getSources().iterator().next(); |
228 | 228 |
// Reference ref = source.getCitation(); |
229 | 229 |
// assertNotNull("Citation should not be null", ref); |
230 |
// assertNotNull("AuthorTeam should not be null", ref.getAuthorTeam());
|
|
230 |
// assertNotNull("Authorship should not be null", ref.getAuthorship());
|
|
231 | 231 |
// assertEquals("Source author should be 'Meyer et. al.'", "Meyer et. al.",ref.getAuthorTeam().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()); |
... | ... | |
251 | 251 |
// source = textData.getSources().iterator().next(); |
252 | 252 |
// ref = source.getCitation(); |
253 | 253 |
// assertNotNull("Citation should not be null", ref); |
254 |
// assertNotNull("AuthorTeam should not be null", ref.getAuthorTeam());
|
|
254 |
// assertNotNull("Authorship should not be null", ref.getAuthorship());
|
|
255 | 255 |
// assertEquals("Source author should be 'Theys, A.'", "Theys, A.",ref.getAuthorTeam().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()); |
Also available in: Unified diff
rename Reference.authorTeam -> authorship #4432