Revision fc14119f
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/cdm/model/PolytomousKeyViewPartTest.java | ||
---|---|---|
16 | 16 |
import org.eclipse.core.commands.ExecutionException; |
17 | 17 |
import org.junit.Assert; |
18 | 18 |
import org.junit.Test; |
19 |
import org.unitils.dbunit.annotation.DataSet; |
|
19 | 20 |
|
20 | 21 |
import eu.etaxonomy.cdm.api.service.IPolytomousKeyService; |
21 | 22 |
import eu.etaxonomy.cdm.model.description.PolytomousKey; |
... | ... | |
27 | 28 |
* @date 25 Jun 2015 |
28 | 29 |
* |
29 | 30 |
*/ |
31 |
@DataSet |
|
30 | 32 |
public class PolytomousKeyViewPartTest extends BaseOperationTest { |
31 | 33 |
|
32 | 34 |
IPolytomousKeyService polytomousKeyService = getRemoteApplicationController().getPolytomousKeyService(); |
eu.etaxonomy.taxeditor.test/src/test/resources/eu/etaxonomy/cdm/model/PolytomousKeyViewPartTest.xml | ||
---|---|---|
9 | 9 |
PolytomousKey 7 |
10 | 10 |
|
11 | 11 |
--><dataset> |
12 |
<PolytomousKey id="90" created="2012-11-23 19:53:37.0" uuid="f82cef88-5a9e-4917-9938-d08bda40836f" protectedtitlecache="true" titleCache="Cleome" root_id="100" startNumber="1"/>
|
|
13 |
<PolytomousKey id="111" created="2013-02-15 16:26:38.0" uuid="a00ca7ec-b660-433c-bd14-596826ab2243" protectedtitlecache="true" titleCache="Ammi" root_id="124" startNumber="1"/>
|
|
14 |
<PolytomousKey id="112" created="2013-02-15 16:31:54.0" uuid="197bc542-bf5b-4a52-aa66-c65df32c196b" protectedtitlecache="true" titleCache="Adonis" root_id="127" startNumber="1"/>
|
|
15 |
<PolytomousKey id="113" created="2013-02-15 16:50:59.0" uuid="2ebacbb0-13f4-4407-8579-d5968e09a905" protectedtitlecache="true" titleCache="Enarthrocarpus" root_id="134" startNumber="1"/>
|
|
16 |
<PolytomousKey id="114" created="2013-02-15 16:54:31.0" uuid="0426418c-5b76-4c19-8177-6bebb4d37329" protectedtitlecache="true" titleCache="Glaucium" root_id="137" startNumber="1"/>
|
|
17 |
<PolytomousKey id="115" created="2013-02-15 17:05:42.0" uuid="6aa69b73-6242-4d3d-85c9-485aab9b1975" protectedtitlecache="true" titleCache="Sagina" root_id="140" startNumber="1"/>
|
|
18 |
<PolytomousKey id="116" created="2013-02-15 17:09:43.0" uuid="cfe7626d-49cc-4dac-acbc-601825deb44a" protectedtitlecache="true" titleCache="Dianthus" root_id="143" startNumber="1"/>
|
|
12 |
<PolytomousKey id="90" created="2012-11-23 19:53:37.0" uuid="f82cef88-5a9e-4917-9938-d08bda40836f" protectedtitlecache="true" titleCache="Cleome" startNumber="1"/> |
|
13 |
<PolytomousKey id="111" created="2013-02-15 16:26:38.0" uuid="a00ca7ec-b660-433c-bd14-596826ab2243" protectedtitlecache="true" titleCache="Ammi" startNumber="1"/> |
|
14 |
<PolytomousKey id="112" created="2013-02-15 16:31:54.0" uuid="197bc542-bf5b-4a52-aa66-c65df32c196b" protectedtitlecache="true" titleCache="Adonis" startNumber="1"/> |
|
15 |
<PolytomousKey id="113" created="2013-02-15 16:50:59.0" uuid="2ebacbb0-13f4-4407-8579-d5968e09a905" protectedtitlecache="true" titleCache="Enarthrocarpus" startNumber="1"/> |
|
16 |
<PolytomousKey id="114" created="2013-02-15 16:54:31.0" uuid="0426418c-5b76-4c19-8177-6bebb4d37329" protectedtitlecache="true" titleCache="Glaucium" startNumber="1"/> |
|
17 |
<PolytomousKey id="115" created="2013-02-15 17:05:42.0" uuid="6aa69b73-6242-4d3d-85c9-485aab9b1975" protectedtitlecache="true" titleCache="Sagina" startNumber="1"/> |
|
18 |
<PolytomousKey id="116" created="2013-02-15 17:09:43.0" uuid="cfe7626d-49cc-4dac-acbc-601825deb44a" protectedtitlecache="true" titleCache="Dianthus" startNumber="1"/> |
|
19 | 19 |
|
20 | 20 |
|
21 | 21 |
</dataset> |
Also available in: Unified diff
#5009 Correct test and test data