Project

General

Profile

« Previous | Next » 

Revision 9dc896c9

Added by Andreas Müller almost 7 years ago

fix #6368 rename table and class TaxonNameBase

View differences:

cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/excel/stream/ExcelStreamImportTest.java
107 107
//		printDataSet(System.out, new String[]{"ANNOTATION"});
108 108
		boolean result = defaultImport.invoke(configurator).isSuccess();
109 109
		assertTrue("Return value for import.invoke should be true", result);
110
		commitAndStartNewTransaction(new String[]{"TAXONNAMEBASE", "ANNOTATION"});
110
		commitAndStartNewTransaction(new String[]{"TAXONNAME", "ANNOTATION"});
111 111
		assertEquals("Number of TaxonNames should be 10", 10 /*TODO */, nameService.count(null));
112 112
		List<Classification> treeList = classificationService.list(null, null,null,null,null);
113 113
		assertEquals("Number of classifications should be 1", 1, treeList.size());
......
231 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
//		TaxonNameBase nameUsedInSource = source.getNameUsedInSource();
234
//		TaxonName nameUsedInSource = source.getNameUsedInSource();
235 235
//		assertNotNull("Name used in source should not be null", nameUsedInSource);
236 236
//		assertEquals("Name used in source title should be ", "Abies", nameUsedInSource.getTitleCache());
237 237
//

Also available in: Unified diff