Revision fbeefcaf
Added by Andreas Müller over 7 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/StatisticsServiceImplTest2.java | ||
---|---|---|
31 | 31 |
import eu.etaxonomy.cdm.model.reference.ReferenceFactory; |
32 | 32 |
import eu.etaxonomy.cdm.model.taxon.Classification; |
33 | 33 |
import eu.etaxonomy.cdm.model.taxon.Synonym; |
34 |
import eu.etaxonomy.cdm.model.taxon.SynonymRelationshipType;
|
|
34 |
import eu.etaxonomy.cdm.model.taxon.SynonymType; |
|
35 | 35 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
36 | 36 |
import eu.etaxonomy.cdm.test.integration.CdmTransactionalIntegrationTest; |
37 | 37 |
|
... | ... | |
402 | 402 |
Synonym synonym = Synonym.NewInstance(name, sec); |
403 | 403 |
taxonService.save(synonym); |
404 | 404 |
taxon.addSynonym(synonym, |
405 |
SynonymRelationshipType.SYNONYM_OF());
|
|
405 |
SynonymType.SYNONYM_OF()); |
|
406 | 406 |
|
407 | 407 |
synonymCounter++; |
408 | 408 |
} |
... | ... | |
454 | 454 |
commit(); |
455 | 455 |
|
456 | 456 |
writeDbUnitDataSetFile(new String[] { "TAXONBASE", "TAXONNAMEBASE", |
457 |
"TAXONRELATIONSHIP", "SYNONYMRELATIONSHIP", "REFERENCE",
|
|
457 |
"TAXONRELATIONSHIP", "REFERENCE", |
|
458 | 458 |
"DESCRIPTIONELEMENTBASE", |
459 | 459 |
"DESCRIPTIONELEMENTBASE_ORIGINALSOURCEBASE", |
460 | 460 |
"ORIGINALSOURCEBASE", "DESCRIPTIONBASE", "REFERENCE_ORIGINALSOURCEBASE","LANGUAGESTRING", |
Also available in: Unified diff
ref #5974 Replace synonymRelationshipType by SynonymType and replace some other occurrences of synonym relationship