Project

General

Profile

Revision 11a51de3

ID11a51de3f944907d4154d7e0a466418c952592a5
Parent d96830e8
Child 9a357016

Added by Andreas Müller 8 months ago

ref #9005 adapt vaadin tests to new TaxonNode.status

View differences:

src/test/resources/eu/etaxonomy/cdm/vaadin/presenter/NewTaxonBasePresenterTest.xml
15 15
      TaxonName                      17
16 16
      TaxonNode                      13
17 17
  
18
--><dataset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../dataset.xsd">
19
  <TAXONNODE ID="11" CREATED="2015-03-09 15:48:30.0" UUID="38f9a5e6-1a5c-4eae-8c63-3311a3102417" UPDATED="2015-03-09 15:48:42.0" COUNTCHILDREN="4" SORTINDEX="-1" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t11#11#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11"/>
20
  <TAXONNODE ID="12" CREATED="2015-03-09 15:49:25.0" UUID="70d6a47f-ec64-4e7e-9d92-299323adfdad" UPDATED="2015-03-09 15:49:25.0" COUNTCHILDREN="0" SORTINDEX="0" EXCLUDED="false" UNPLACED="true" DOUBTFUL="false" TREEINDEX="#t11#11#12#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="10"/>
21
  <TAXONNODE ID="13" CREATED="2015-03-09 15:51:14.0" UUID="8fe0c988-e1dd-4022-87e7-fe89f1f688db" UPDATED="2015-03-09 15:51:14.0" COUNTCHILDREN="0" SORTINDEX="1" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t11#11#13#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="13"/>
22
  <TAXONNODE ID="14" CREATED="2015-03-09 15:51:25.0" UUID="9d300433-a944-4768-b983-22e0236e716b" UPDATED="2015-03-09 15:51:25.0" COUNTCHILDREN="0" SORTINDEX="2" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t11#11#14#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="14"/>
23
  <TAXONNODE ID="15" CREATED="2015-03-09 15:52:08.0" UUID="ac4c95a7-640c-4910-8033-0a62b340e2a2" UPDATED="2015-03-09 15:52:24.0" COUNTCHILDREN="3" SORTINDEX="-1" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t12#15#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12"/>
24
  <TAXONNODE ID="16" CREATED="2015-03-09 15:52:42.0" UUID="33fb366c-1845-49ec-b5ae-9fb169a4aded" UPDATED="2015-03-09 15:52:42.0" COUNTCHILDREN="0" SORTINDEX="0" EXCLUDED="false" UNPLACED="true" DOUBTFUL="false" TREEINDEX="#t12#15#16#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="16"/>
25
  <TAXONNODE ID="17" CREATED="2015-03-09 15:53:23.0" UUID="e804ca8b-3520-41fd-8146-a93181ed57e4" UPDATED="2015-03-09 15:53:23.0" COUNTCHILDREN="0" SORTINDEX="1" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t12#15#17#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="19"/>
26
  <TAXONNODE ID="18" CREATED="2015-03-09 15:53:32.0" UUID="5c43f991-c4ad-414b-a4f3-2d6a26ff1ccf" UPDATED="2015-03-09 15:53:32.0" COUNTCHILDREN="0" SORTINDEX="2" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t12#15#18#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="20"/>
27
  <TAXONNODE ID="20" CREATED="2015-03-10 13:40:31.0" UUID="6a6ee4dd-5727-47ba-a53d-3a985623dd93" UPDATED="2015-03-10 13:40:31.0" COUNTCHILDREN="0" SORTINDEX="3" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t11#11#20#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="30"/>
28
  <TAXONNODE ID="21" CREATED="2015-04-15 14:53:15.0" UUID="7d8c370a-8025-4c1b-b23b-0499cdba212f" UPDATED="2015-04-15 14:53:24.0" COUNTCHILDREN="3" SORTINDEX="-1" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t20#30#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="20"/>
29
  <TAXONNODE ID="22" CREATED="2015-04-15 14:54:07.0" UUID="365f7939-08c4-420a-8585-3ca49f62ef31" UPDATED="2015-04-15 14:54:07.0" COUNTCHILDREN="0" SORTINDEX="0" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t20#30#31#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="20" PARENT_ID="30" TAXON_ID="50"/>
30
  <TAXONNODE ID="23" CREATED="2015-04-15 14:54:28.0" UUID="f4182c7b-e92c-43c0-b0c6-e399f666b85b" UPDATED="2015-04-15 14:54:28.0" COUNTCHILDREN="0" SORTINDEX="1" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t20#30#32#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="20" PARENT_ID="30" TAXON_ID="51"/>
31
  <TAXONNODE ID="24" CREATED="2015-05-06 11:07:17.0" UUID="7a9af8fe-c014-466d-be15-5c65b5ddd8df" UPDATED="2015-05-06 11:07:17.0" COUNTCHILDREN="0" SORTINDEX="2" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t20#30#40#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="20" PARENT_ID="30" TAXON_ID="60"/>
18
-->
19
<dataset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../database/schema/dataset.xsd">
20
  <TAXONNODE ID="11" CREATED="2015-03-09 15:48:30.0" UUID="38f9a5e6-1a5c-4eae-8c63-3311a3102417" UPDATED="2015-03-09 15:48:42.0" COUNTCHILDREN="4" SORTINDEX="-1" TREEINDEX="#t11#11#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11"/>
21
  <TAXONNODE ID="12" CREATED="2015-03-09 15:49:25.0" UUID="70d6a47f-ec64-4e7e-9d92-299323adfdad" UPDATED="2015-03-09 15:49:25.0" COUNTCHILDREN="0" SORTINDEX="0" STATUS="UNP" TREEINDEX="#t11#11#12#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="10"/>
22
  <TAXONNODE ID="13" CREATED="2015-03-09 15:51:14.0" UUID="8fe0c988-e1dd-4022-87e7-fe89f1f688db" UPDATED="2015-03-09 15:51:14.0" COUNTCHILDREN="0" SORTINDEX="1" TREEINDEX="#t11#11#13#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="13"/>
23
  <TAXONNODE ID="14" CREATED="2015-03-09 15:51:25.0" UUID="9d300433-a944-4768-b983-22e0236e716b" UPDATED="2015-03-09 15:51:25.0" COUNTCHILDREN="0" SORTINDEX="2" TREEINDEX="#t11#11#14#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="14"/>
24
  <TAXONNODE ID="15" CREATED="2015-03-09 15:52:08.0" UUID="ac4c95a7-640c-4910-8033-0a62b340e2a2" UPDATED="2015-03-09 15:52:24.0" COUNTCHILDREN="3" SORTINDEX="-1" TREEINDEX="#t12#15#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12"/>
25
  <TAXONNODE ID="16" CREATED="2015-03-09 15:52:42.0" UUID="33fb366c-1845-49ec-b5ae-9fb169a4aded" UPDATED="2015-03-09 15:52:42.0" COUNTCHILDREN="0" SORTINDEX="0" STATUS="UNP" TREEINDEX="#t12#15#16#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="16"/>
26
  <TAXONNODE ID="17" CREATED="2015-03-09 15:53:23.0" UUID="e804ca8b-3520-41fd-8146-a93181ed57e4" UPDATED="2015-03-09 15:53:23.0" COUNTCHILDREN="0" SORTINDEX="1" TREEINDEX="#t12#15#17#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="19"/>
27
  <TAXONNODE ID="18" CREATED="2015-03-09 15:53:32.0" UUID="5c43f991-c4ad-414b-a4f3-2d6a26ff1ccf" UPDATED="2015-03-09 15:53:32.0" COUNTCHILDREN="0" SORTINDEX="2" TREEINDEX="#t12#15#18#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="20"/>
28
  <TAXONNODE ID="20" CREATED="2015-03-10 13:40:31.0" UUID="6a6ee4dd-5727-47ba-a53d-3a985623dd93" UPDATED="2015-03-10 13:40:31.0" COUNTCHILDREN="0" SORTINDEX="3" TREEINDEX="#t11#11#20#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="30"/>
29
  <TAXONNODE ID="21" CREATED="2015-04-15 14:53:15.0" UUID="7d8c370a-8025-4c1b-b23b-0499cdba212f" UPDATED="2015-04-15 14:53:24.0" COUNTCHILDREN="3" SORTINDEX="-1" TREEINDEX="#t20#30#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="20"/>
30
  <TAXONNODE ID="22" CREATED="2015-04-15 14:54:07.0" UUID="365f7939-08c4-420a-8585-3ca49f62ef31" UPDATED="2015-04-15 14:54:07.0" COUNTCHILDREN="0" SORTINDEX="0" TREEINDEX="#t20#30#31#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="20" PARENT_ID="30" TAXON_ID="50"/>
31
  <TAXONNODE ID="23" CREATED="2015-04-15 14:54:28.0" UUID="f4182c7b-e92c-43c0-b0c6-e399f666b85b" UPDATED="2015-04-15 14:54:28.0" COUNTCHILDREN="0" SORTINDEX="1" TREEINDEX="#t20#30#32#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="20" PARENT_ID="30" TAXON_ID="51"/>
32
  <TAXONNODE ID="24" CREATED="2015-05-06 11:07:17.0" UUID="7a9af8fe-c014-466d-be15-5c65b5ddd8df" UPDATED="2015-05-06 11:07:17.0" COUNTCHILDREN="0" SORTINDEX="2" TREEINDEX="#t20#30#40#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="20" PARENT_ID="30" TAXON_ID="60"/>
32 33

  
33 34
  <HOMOTYPICALGROUP  ID="10" CREATED="2015-03-09 15:49:22.0" UUID="d7dd294a-8750-4ca9-afc2-b0beebaa53fa" UPDATED="2015-03-09 15:49:25.0" CREATEDBY_ID="5000" UPDATEDBY_ID="5000"/>
34 35
  <HOMOTYPICALGROUP  ID="11" CREATED="2015-03-09 15:49:30.0" UUID="5eb658bb-f57c-4ec6-94a2-91dbeffce78e" UPDATED="2015-03-09 15:50:21.0" CREATEDBY_ID="5000" UPDATEDBY_ID="5000"/>
src/test/resources/eu/etaxonomy/cdm/vaadin/presenter/StatusPresenterTest.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2
<dataset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../dataset.xsd">
2
<dataset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../database/schema/dataset.xsd">
3 3
    
4
  <TAXONNODE ID="11" CREATED="2015-03-09 15:48:30.0" UUID="38f9a5e6-1a5c-4eae-8c63-3311a3102417" UPDATED="2015-03-09 15:48:42.0" COUNTCHILDREN="4" SORTINDEX="-1" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t11#11#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11"/>
5
  <TAXONNODE ID="12" CREATED="2015-03-09 15:49:25.0" UUID="70d6a47f-ec64-4e7e-9d92-299323adfdad" UPDATED="2015-03-09 15:49:25.0" COUNTCHILDREN="0" SORTINDEX="0" EXCLUDED="false" UNPLACED="true" DOUBTFUL="false" TREEINDEX="#t11#11#12#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="10"/>
6
  <TAXONNODE ID="13" CREATED="2015-03-09 15:51:14.0" UUID="8fe0c988-e1dd-4022-87e7-fe89f1f688db" UPDATED="2015-03-09 15:51:14.0" COUNTCHILDREN="0" SORTINDEX="1" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t11#11#13#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="13"/>
7
  <TAXONNODE ID="14" CREATED="2015-03-09 15:51:25.0" UUID="9d300433-a944-4768-b983-22e0236e716b" UPDATED="2015-03-09 15:51:25.0" COUNTCHILDREN="0" SORTINDEX="2" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t11#11#14#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="14"/>
8
  <TAXONNODE ID="15" CREATED="2015-03-09 15:52:08.0" UUID="ac4c95a7-640c-4910-8033-0a62b340e2a2" UPDATED="2015-03-09 15:52:24.0" COUNTCHILDREN="3" SORTINDEX="-1" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t12#15#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12"/>
9
  <TAXONNODE ID="16" CREATED="2015-03-09 15:52:42.0" UUID="33fb366c-1845-49ec-b5ae-9fb169a4aded" UPDATED="2015-03-09 15:52:42.0" COUNTCHILDREN="0" SORTINDEX="0" EXCLUDED="false" UNPLACED="true" DOUBTFUL="false" TREEINDEX="#t12#15#16#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="16"/>
10
  <TAXONNODE ID="17" CREATED="2015-03-09 15:53:23.0" UUID="e804ca8b-3520-41fd-8146-a93181ed57e4" UPDATED="2015-03-09 15:53:23.0" COUNTCHILDREN="0" SORTINDEX="1" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t12#15#17#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="19"/>
11
  <TAXONNODE ID="18" CREATED="2015-03-09 15:53:32.0" UUID="5c43f991-c4ad-414b-a4f3-2d6a26ff1ccf" UPDATED="2015-03-09 15:53:32.0" COUNTCHILDREN="0" SORTINDEX="2" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t12#15#18#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="20"/>
12
  <TAXONNODE ID="20" CREATED="2015-03-10 13:40:31.0" UUID="6a6ee4dd-5727-47ba-a53d-3a985623dd93" UPDATED="2015-03-10 13:40:31.0" COUNTCHILDREN="0" SORTINDEX="3" EXCLUDED="false" UNPLACED="false" DOUBTFUL="false" TREEINDEX="#t11#11#20#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="30"/>
4
  <TAXONNODE ID="11" CREATED="2015-03-09 15:48:30.0" UUID="38f9a5e6-1a5c-4eae-8c63-3311a3102417" UPDATED="2015-03-09 15:48:42.0" COUNTCHILDREN="4" SORTINDEX="-1" TREEINDEX="#t11#11#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11"/>
5
  <TAXONNODE ID="12" CREATED="2015-03-09 15:49:25.0" UUID="70d6a47f-ec64-4e7e-9d92-299323adfdad" UPDATED="2015-03-09 15:49:25.0" COUNTCHILDREN="0" SORTINDEX="0" STATUS="UNP" TREEINDEX="#t11#11#12#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="10"/>
6
  <TAXONNODE ID="13" CREATED="2015-03-09 15:51:14.0" UUID="8fe0c988-e1dd-4022-87e7-fe89f1f688db" UPDATED="2015-03-09 15:51:14.0" COUNTCHILDREN="0" SORTINDEX="1" TREEINDEX="#t11#11#13#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="13"/>
7
  <TAXONNODE ID="14" CREATED="2015-03-09 15:51:25.0" UUID="9d300433-a944-4768-b983-22e0236e716b" UPDATED="2015-03-09 15:51:25.0" COUNTCHILDREN="0" SORTINDEX="2" TREEINDEX="#t11#11#14#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="14"/>
8
  <TAXONNODE ID="15" CREATED="2015-03-09 15:52:08.0" UUID="ac4c95a7-640c-4910-8033-0a62b340e2a2" UPDATED="2015-03-09 15:52:24.0" COUNTCHILDREN="3" SORTINDEX="-1" TREEINDEX="#t12#15#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12"/>
9
  <TAXONNODE ID="16" CREATED="2015-03-09 15:52:42.0" UUID="33fb366c-1845-49ec-b5ae-9fb169a4aded" UPDATED="2015-03-09 15:52:42.0" COUNTCHILDREN="0" SORTINDEX="0" STATUS="UNP" TREEINDEX="#t12#15#16#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="16"/>
10
  <TAXONNODE ID="17" CREATED="2015-03-09 15:53:23.0" UUID="e804ca8b-3520-41fd-8146-a93181ed57e4" UPDATED="2015-03-09 15:53:23.0" COUNTCHILDREN="0" SORTINDEX="1" TREEINDEX="#t12#15#17#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="19"/>
11
  <TAXONNODE ID="18" CREATED="2015-03-09 15:53:32.0" UUID="5c43f991-c4ad-414b-a4f3-2d6a26ff1ccf" UPDATED="2015-03-09 15:53:32.0" COUNTCHILDREN="0" SORTINDEX="2" TREEINDEX="#t12#15#18#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="12" PARENT_ID="15" TAXON_ID="20"/>
12
  <TAXONNODE ID="20" CREATED="2015-03-10 13:40:31.0" UUID="6a6ee4dd-5727-47ba-a53d-3a985623dd93" UPDATED="2015-03-10 13:40:31.0" COUNTCHILDREN="0" SORTINDEX="3" TREEINDEX="#t11#11#20#" CREATEDBY_ID="5000" UPDATEDBY_ID="5000" CLASSIFICATION_ID="11" PARENT_ID="11" TAXON_ID="30"/>
13 13

  
14 14
  <HOMOTYPICALGROUP ID="10" CREATED="2015-03-09 15:49:22.0" UUID="d7dd294a-8750-4ca9-afc2-b0beebaa53fa" UPDATED="2015-03-09 15:49:25.0" CREATEDBY_ID="5000" UPDATEDBY_ID="5000"/>
15 15
  <HOMOTYPICALGROUP ID="11" CREATED="2015-03-09 15:49:30.0" UUID="5eb658bb-f57c-4ec6-94a2-91dbeffce78e" UPDATED="2015-03-09 15:50:21.0" CREATEDBY_ID="5000" UPDATEDBY_ID="5000"/>

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)