Revision 892efc69
Added by Andreas Kohlbecker almost 14 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/CommonServiceImplTest.java | ||
---|---|---|
78 | 78 |
public final void testGetReferencingObjects() { |
79 | 79 |
ReferenceFactory refFactory = ReferenceFactory.newInstance(); |
80 | 80 |
BotanicalName name = BotanicalName.NewInstance(Rank.SPECIES()); |
81 |
name.setTitleCache("A name"); |
|
81 |
name.setTitleCache("A name", true);
|
|
82 | 82 |
ReferenceBase ref1 = refFactory.newArticle(); |
83 | 83 |
Taxon taxon = Taxon.NewInstance(name, ref1); |
84 | 84 |
Person author = Person.NewInstance(); |
85 |
author.setTitleCache("Author"); |
|
85 |
author.setTitleCache("Author", true);
|
|
86 | 86 |
ref1.addAnnotation(Annotation.NewInstance("A1", Language.DEFAULT())); |
87 | 87 |
ref1.setAuthorTeam(author); |
88 | 88 |
name.setBasionymAuthorTeam(author); |
Also available in: Unified diff
merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk