Project

General

Profile

« Previous | Next » 

Revision 236ab161

Added by Andreas Müller almost 9 years ago

Rename remaining occurrences of xxxAuthorTeam #4968

Rename remaining occurrences of combinationAuthorTeam and
basionymAuthorTeam in code and other files

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/model/name/BotanicalNameTest.java
83 83
		String infraGenericEpithet = "infraGenericEpi";
84 84
		String specificEpithet = "specEpi";
85 85
		String infraSpecificEpithet = "infraSpecificEpi";
86
		TeamOrPersonBase<?> combinationAuthorTeam = Team.NewInstance();
86
		TeamOrPersonBase<?> combinationAuthorship = Team.NewInstance();
87 87
		INomenclaturalReference nomenclaturalReference = ReferenceFactory.newArticle();
88 88
		String nomenclMicroRef = "microRef";
89 89
		HomotypicalGroup homotypicalGroup = new HomotypicalGroup();
90
		BotanicalName fullName = new BotanicalName(rank, genusOrUninomial, infraGenericEpithet, specificEpithet, infraSpecificEpithet, combinationAuthorTeam, nomenclaturalReference, nomenclMicroRef, homotypicalGroup);
90
		BotanicalName fullName = new BotanicalName(rank, genusOrUninomial, infraGenericEpithet, specificEpithet, infraSpecificEpithet, combinationAuthorship, nomenclaturalReference, nomenclMicroRef, homotypicalGroup);
91 91
		assertEquals(Rank.SPECIALFORM(), fullName.getRank());
92 92
		assertEquals("Genus", fullName.getGenusOrUninomial());
93 93
		assertEquals("infraGenericEpi", fullName.getInfraGenericEpithet());
94 94
		assertEquals("specEpi", fullName.getSpecificEpithet());
95 95
		assertEquals("infraSpecificEpi", fullName.getInfraSpecificEpithet());
96
		assertEquals(combinationAuthorTeam, fullName.getCombinationAuthorship());
96
		assertEquals(combinationAuthorship, fullName.getCombinationAuthorship());
97 97
		assertEquals(nomenclaturalReference, fullName.getNomenclaturalReference());
98 98
		assertEquals("microRef", fullName.getNomenclaturalMicroReference());
99 99
		assertSame(homotypicalGroup, fullName.getHomotypicalGroup());

Also available in: Unified diff