Revision 892efc69
Added by Andreas Kohlbecker almost 14 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/test/function/TestTaxonFunction.java | ||
---|---|---|
62 | 62 |
INonViralNameParser parser = NonViralNameParserImpl.NewInstance(); |
63 | 63 |
ReferenceFactory refFactory = ReferenceFactory.newInstance(); |
64 | 64 |
ReferenceBase sec = refFactory.newBook(); |
65 |
sec.setTitleCache("ConceptRef"); |
|
65 |
sec.setTitleCache("ConceptRef", true);
|
|
66 | 66 |
|
67 | 67 |
//root |
68 | 68 |
String rootName = "Hieracium L."; |
... | ... | |
93 | 93 |
|
94 | 94 |
//other taxon |
95 | 95 |
BotanicalName otherName = BotanicalName.NewInstance(Rank.GENUS()); |
96 |
otherName.setTitleCache("otherName"); |
|
96 |
otherName.setTitleCache("otherName", true);
|
|
97 | 97 |
Taxon otherTaxon = Taxon.NewInstance(otherName, sec); |
98 | 98 |
|
99 | 99 |
cdmApp.getTaxonService().save(otherTaxon); |
Also available in: Unified diff
merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk