Revision 7aa81094
Added by Andreas Müller almost 2 years ago
src/test/java/eu/etaxonomy/cdm/vaadin/model/RegistrationWorkingSetTest.java | ||
---|---|---|
18 | 18 |
|
19 | 19 |
import eu.etaxonomy.cdm.api.service.dto.RegistrationDTO; |
20 | 20 |
import eu.etaxonomy.cdm.api.service.dto.RegistrationWorkingSet; |
21 |
import eu.etaxonomy.cdm.api.service.exception.RegistrationValidationException;
|
|
21 |
import eu.etaxonomy.cdm.api.service.exception.TypeDesignationSetException;
|
|
22 | 22 |
import eu.etaxonomy.cdm.model.name.NomenclaturalCode; |
23 | 23 |
import eu.etaxonomy.cdm.model.name.Rank; |
24 | 24 |
import eu.etaxonomy.cdm.model.name.Registration; |
... | ... | |
38 | 38 |
public class RegistrationWorkingSetTest { |
39 | 39 |
|
40 | 40 |
@Test |
41 |
public void test_2_names() throws RegistrationValidationException {
|
|
41 |
public void test_2_names() throws TypeDesignationSetException {
|
|
42 | 42 |
|
43 | 43 |
Reference article = ReferenceFactory.newArticle(); |
44 | 44 |
article.setTitleCache("Article", true); |
... | ... | |
65 | 65 |
|
66 | 66 |
|
67 | 67 |
@Test |
68 |
public void test_name_and_type() throws RegistrationValidationException {
|
|
68 |
public void test_name_and_type() throws TypeDesignationSetException {
|
|
69 | 69 |
|
70 | 70 |
Reference article = ReferenceFactory.newArticle(); |
71 | 71 |
article.setTitleCache("Article", true); |
Also available in: Unified diff
cleanup and rename RegistrationValidationException to TypeDesignationSetException in vaadin