/sigmah/src/test/resources/dbunit/projects.db.xml
http://sigma-h.googlecode.com/ · XML · 114 lines · 85 code · 24 blank · 5 comment · 0 complexity · 1e636b75f95eb825e1d2387b2d4eda91 MD5 · raw file
- <?xml version="1.0"?>
- <!--
- ~ All Sigmah code is released under the GNU General Public License v3
- ~ See COPYRIGHT.txt and LICENSE.txt.
- -->
-
- <dataset>
-
- <!-- This is test data used for the SchemaBuilderTest cases -->
-
- <country countryId="1" name="Rdc" x1="0" y1="0" x2="0" y2="0"/>
-
- <locationType locationTypeId="1" countryId="1" name="localite" reuse="1"/>
-
- <organization id_organization="1" name="Ideia"/>
- <partner partnerId="1" name="Head Office" organization_id_organization="1" office_country_id="1" />
- <partner partnerId="2" name="Sub Office I" organization_id_organization="1" office_country_id="1" parent_partnerid="1" />
- <partner partnerId="3" name="Sub sub Office 1" organization_id_organization="1" office_country_id="1" parent_partnerid="2" />
- <partner partnerId="4" name="Sub sub Office 2" organization_id_organization="1" office_country_id="1" parent_partnerid="2" />
-
- <userLogin userId="1" name="Alex" email="user1@user.com" locale="fr" newUser="1" id_organization="1" />
- <userLogin userId="2" name="Raphael" email="user2@user.com" locale="fr" newUser="1" id_organization="1" />
- <userLogin userId="3" name="Tom" email="tom@user.com" locale="fr" newUser="1" id_organization="1" />
-
- <profile id_profile="1" name="prof1" />
-
- <user_unit id_user_unit="1" id_org_unit="1" id_user="1" />
- <user_unit id_user_unit="2" id_org_unit="1" id_user="2" />
- <user_unit id_user_unit="3" id_org_unit="2" id_user="3" />
-
- <user_unit_profiles id_user_unit="1" id_profile="1" />
- <user_unit_profiles id_user_unit="2" id_profile="1" />
- <user_unit_profiles id_user_unit="3" id_profile="1" />
-
- <orgUnitPermission id="1" unit_Id="4" user_UserId="3" viewAll="1" editAll="0"/>
-
- <project_model id_project_model="1" name="Mock model 1" status="READY"/>
-
- <layout id_layout="1" rows_count="2" columns_count="1" />
- <layout_group id_layout_group="1" id_layout="1" row_index="0" column_index="0" title="Header" />
- <flexible_element id_flexible_element="1" label="Success" validates="false" amendable="false" />
- <message_element id_flexible_element="1" />
- <layout_constraint id_layout_constraint="1" id_layout_group="1" id_flexible_element="1" sort_order="1" />
- <flexible_element id_flexible_element="2" label="Check this" validates="true" amendable="false" />
- <checkbox_element id_flexible_element="2" />
- <layout_constraint id_layout_constraint="2" id_layout_group="1" id_flexible_element="2" sort_order="2" />
- <layout_group id_layout_group="2" id_layout="1" row_index="1" column_index="0" title="Questions" />
- <flexible_element id_flexible_element="3" label="Question 1" validates="false" amendable="false" />
- <question_element id_flexible_element="3" />
- <question_choice_element id_choice="1" id_question="3" label="Answer 1" sort_order="1" />
- <question_choice_element id_choice="2" id_question="3" label="Answer 2" sort_order="2" />
- <layout_constraint id_layout_constraint="3" id_layout_group="2" id_flexible_element="3" sort_order="1" />
- <flexible_element id_flexible_element="4" label="Comments" validates="false" amendable="false" />
- <textarea_element id_flexible_element="4" />
- <layout_constraint id_layout_constraint="4" id_layout_group="2" id_flexible_element="4" sort_order="3" />
- <flexible_element id_flexible_element="5" label="Question 2" validates="true" amendable="false" />
- <question_element id_flexible_element="5" />
- <question_choice_element id_choice="3" id_question="5" label="Answer 1" sort_order="1" />
- <question_choice_element id_choice="4" id_question="5" label="Answer 3" sort_order="3" />
- <question_choice_element id_choice="5" id_question="5" label="Answer 2" sort_order="2" />
- <layout_constraint id_layout_constraint="5" id_layout_group="2" id_flexible_element="5" sort_order="2" />
- <layout id_layout="2" rows_count="0" columns_count="0" />
- <layout id_layout="3" rows_count="0" columns_count="0" />
- <layout id_layout="4" rows_count="0" columns_count="0" />
- <layout id_layout="5" rows_count="0" columns_count="0" />
-
- <phase_model_definition id_phase_model_definition="1" />
- <phase_model_definition id_phase_model_definition="2" />
- <phase_model_definition id_phase_model_definition="3" />
- <phase_model_definition id_phase_model_definition="4" />
-
- <phase_model id_phase_model="1" name="Step 1" id_project_model="1" id_layout="1" display_order="1" definition_id="1" />
- <phase_model id_phase_model="2" name="Step 2 bis" id_project_model="1" id_layout="2" display_order="3" definition_id="2" />
- <phase_model id_phase_model="3" name="Step 2" id_project_model="1" id_layout="3" display_order="2" definition_id="3" />
- <phase_model id_phase_model="4" name="Step 3" id_project_model="1" id_layout="4" display_order="4" definition_id="4" />
- <phase_model_sucessors id_phase_model="1" id_phase_model_successor="2" />
- <phase_model_sucessors id_phase_model="1" id_phase_model_successor="3" />
- <phase_model_sucessors id_phase_model="2" id_phase_model_successor="4" />
-
- <userDatabase databaseId="1" name="PEAR" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
- <project databaseId="1" id_project_model="1"/>
-
- <userDatabase databaseId="2" name="RRM" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
- <project databaseId="2" id_project_model="1"/>
-
- <userDatabase databaseId="3" name="RRM" countryId="1" ownerUserId="2" lastSchemaUpdate="2009-01-01"/>
- <project databaseId="3" id_project_model="1"/>
-
- <partnerInDatabase databaseId="1" partnerId="2"/>
- <partnerInDatabase databaseId="2" partnerId="3"/>
- <partnerInDatabase databaseId="3" partnerId="4"/>
-
- <project_details id="1" id_layout="5" id_project_model="1" />
- <project_banner id="1" id_layout="5" id_project_model="1" />
-
- <value id_value="1" id_flexible_element="2" id_project="1" value="true" action_last_modif="C" date_last_modif="2010-09-01" id_user_last_modif="1" />
- <value id_value="2" id_flexible_element="4" id_project="1" value="Something" action_last_modif="C" date_last_modif="2010-09-01" id_user_last_modif="1" />
-
- <phase id_phase="1" id_project="1" id_phase_model="1" />
- <phase id_phase="2" id_project="2" id_phase_model="1" />
- <phase id_phase="3" id_project="3" id_phase_model="1" />
-
- <phase id_phase="4" id_project="1" id_phase_model="2" />
- <phase id_phase="5" id_project="2" id_phase_model="2" />
- <phase id_phase="6" id_project="3" id_phase_model="2" />
-
- <phase id_phase="7" id_project="1" id_phase_model="3" />
- <phase id_phase="8" id_project="2" id_phase_model="3" />
- <phase id_phase="9" id_project="3" id_phase_model="3" />
-
- <phase id_phase="10" id_project="1" id_phase_model="4" />
- <phase id_phase="11" id_project="2" id_phase_model="4" />
- <phase id_phase="12" id_project="3" id_phase_model="4" />
- </dataset>