Project

General

Profile

« Previous | Next » 

Revision d7919b1c

Added by Andreas Müller about 7 years ago

ref #6362, ref #6365 remove occurrence of NonViralName, BotanicalName, ZoologicalName and others

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/strategy/match/DefaultMatchStrategyTest.java
32 32
import eu.etaxonomy.cdm.model.location.Point;
33 33
import eu.etaxonomy.cdm.model.location.ReferenceSystem;
34 34
import eu.etaxonomy.cdm.model.name.BotanicalName;
35
import eu.etaxonomy.cdm.model.name.IBotanicalName;
35 36
import eu.etaxonomy.cdm.model.name.Rank;
36 37
import eu.etaxonomy.cdm.model.name.TaxonNameFactory;
37 38
import eu.etaxonomy.cdm.model.reference.IBook;
......
216 217
		Assert.assertTrue("Cached book with a defined and a null edition should match", matchStrategy.invoke(book1, bookClone));
217 218

  
218 219
		matchStrategy = DefaultMatchStrategy.NewInstance(BotanicalName.class);
219
		BotanicalName botName1 = TaxonNameFactory.NewBotanicalInstance(Rank.GENUS());
220
		BotanicalName botName2 = TaxonNameFactory.NewBotanicalInstance(Rank.GENUS());
220
		IBotanicalName botName1 = TaxonNameFactory.NewBotanicalInstance(Rank.GENUS());
221
		IBotanicalName botName2 = TaxonNameFactory.NewBotanicalInstance(Rank.GENUS());
221 222
		Assert.assertNotNull("Rank should not be null", botName1.getRank());
222 223

  
223 224
		botName1.setGenusOrUninomial("Genus1");
......
347 348

  
348 349
		BotanicalName botName1 = TaxonNameFactory.NewBotanicalInstance(Rank.SPECIES());
349 350
		BotanicalName botName2 = TaxonNameFactory.NewBotanicalInstance(Rank.SPECIES());
350
		BotanicalName botName3 = TaxonNameFactory.NewBotanicalInstance(Rank.SPECIES());
351
		IBotanicalName botName3 = TaxonNameFactory.NewBotanicalInstance(Rank.SPECIES());
351 352

  
352 353
		Assert.assertFalse("Names without title should not match", matchStrategy.invoke(botName1, botName2));
353 354

  

Also available in: Unified diff