/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

  1. <?xml version="1.0"?>
  2. <!--
  3. ~ All Sigmah code is released under the GNU General Public License v3
  4. ~ See COPYRIGHT.txt and LICENSE.txt.
  5. -->
  6. <dataset>
  7. <!-- This is test data used for the SchemaBuilderTest cases -->
  8. <country countryId="1" name="Rdc" x1="0" y1="0" x2="0" y2="0"/>
  9. <locationType locationTypeId="1" countryId="1" name="localite" reuse="1"/>
  10. <organization id_organization="1" name="Ideia"/>
  11. <partner partnerId="1" name="Head Office" organization_id_organization="1" office_country_id="1" />
  12. <partner partnerId="2" name="Sub Office I" organization_id_organization="1" office_country_id="1" parent_partnerid="1" />
  13. <partner partnerId="3" name="Sub sub Office 1" organization_id_organization="1" office_country_id="1" parent_partnerid="2" />
  14. <partner partnerId="4" name="Sub sub Office 2" organization_id_organization="1" office_country_id="1" parent_partnerid="2" />
  15. <userLogin userId="1" name="Alex" email="user1@user.com" locale="fr" newUser="1" id_organization="1" />
  16. <userLogin userId="2" name="Raphael" email="user2@user.com" locale="fr" newUser="1" id_organization="1" />
  17. <userLogin userId="3" name="Tom" email="tom@user.com" locale="fr" newUser="1" id_organization="1" />
  18. <profile id_profile="1" name="prof1" />
  19. <user_unit id_user_unit="1" id_org_unit="1" id_user="1" />
  20. <user_unit id_user_unit="2" id_org_unit="1" id_user="2" />
  21. <user_unit id_user_unit="3" id_org_unit="2" id_user="3" />
  22. <user_unit_profiles id_user_unit="1" id_profile="1" />
  23. <user_unit_profiles id_user_unit="2" id_profile="1" />
  24. <user_unit_profiles id_user_unit="3" id_profile="1" />
  25. <orgUnitPermission id="1" unit_Id="4" user_UserId="3" viewAll="1" editAll="0"/>
  26. <project_model id_project_model="1" name="Mock model 1" status="READY"/>
  27. <layout id_layout="1" rows_count="2" columns_count="1" />
  28. <layout_group id_layout_group="1" id_layout="1" row_index="0" column_index="0" title="Header" />
  29. <flexible_element id_flexible_element="1" label="Success" validates="false" amendable="false" />
  30. <message_element id_flexible_element="1" />
  31. <layout_constraint id_layout_constraint="1" id_layout_group="1" id_flexible_element="1" sort_order="1" />
  32. <flexible_element id_flexible_element="2" label="Check this" validates="true" amendable="false" />
  33. <checkbox_element id_flexible_element="2" />
  34. <layout_constraint id_layout_constraint="2" id_layout_group="1" id_flexible_element="2" sort_order="2" />
  35. <layout_group id_layout_group="2" id_layout="1" row_index="1" column_index="0" title="Questions" />
  36. <flexible_element id_flexible_element="3" label="Question 1" validates="false" amendable="false" />
  37. <question_element id_flexible_element="3" />
  38. <question_choice_element id_choice="1" id_question="3" label="Answer 1" sort_order="1" />
  39. <question_choice_element id_choice="2" id_question="3" label="Answer 2" sort_order="2" />
  40. <layout_constraint id_layout_constraint="3" id_layout_group="2" id_flexible_element="3" sort_order="1" />
  41. <flexible_element id_flexible_element="4" label="Comments" validates="false" amendable="false" />
  42. <textarea_element id_flexible_element="4" />
  43. <layout_constraint id_layout_constraint="4" id_layout_group="2" id_flexible_element="4" sort_order="3" />
  44. <flexible_element id_flexible_element="5" label="Question 2" validates="true" amendable="false" />
  45. <question_element id_flexible_element="5" />
  46. <question_choice_element id_choice="3" id_question="5" label="Answer 1" sort_order="1" />
  47. <question_choice_element id_choice="4" id_question="5" label="Answer 3" sort_order="3" />
  48. <question_choice_element id_choice="5" id_question="5" label="Answer 2" sort_order="2" />
  49. <layout_constraint id_layout_constraint="5" id_layout_group="2" id_flexible_element="5" sort_order="2" />
  50. <layout id_layout="2" rows_count="0" columns_count="0" />
  51. <layout id_layout="3" rows_count="0" columns_count="0" />
  52. <layout id_layout="4" rows_count="0" columns_count="0" />
  53. <layout id_layout="5" rows_count="0" columns_count="0" />
  54. <phase_model_definition id_phase_model_definition="1" />
  55. <phase_model_definition id_phase_model_definition="2" />
  56. <phase_model_definition id_phase_model_definition="3" />
  57. <phase_model_definition id_phase_model_definition="4" />
  58. <phase_model id_phase_model="1" name="Step 1" id_project_model="1" id_layout="1" display_order="1" definition_id="1" />
  59. <phase_model id_phase_model="2" name="Step 2 bis" id_project_model="1" id_layout="2" display_order="3" definition_id="2" />
  60. <phase_model id_phase_model="3" name="Step 2" id_project_model="1" id_layout="3" display_order="2" definition_id="3" />
  61. <phase_model id_phase_model="4" name="Step 3" id_project_model="1" id_layout="4" display_order="4" definition_id="4" />
  62. <phase_model_sucessors id_phase_model="1" id_phase_model_successor="2" />
  63. <phase_model_sucessors id_phase_model="1" id_phase_model_successor="3" />
  64. <phase_model_sucessors id_phase_model="2" id_phase_model_successor="4" />
  65. <userDatabase databaseId="1" name="PEAR" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
  66. <project databaseId="1" id_project_model="1"/>
  67. <userDatabase databaseId="2" name="RRM" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
  68. <project databaseId="2" id_project_model="1"/>
  69. <userDatabase databaseId="3" name="RRM" countryId="1" ownerUserId="2" lastSchemaUpdate="2009-01-01"/>
  70. <project databaseId="3" id_project_model="1"/>
  71. <partnerInDatabase databaseId="1" partnerId="2"/>
  72. <partnerInDatabase databaseId="2" partnerId="3"/>
  73. <partnerInDatabase databaseId="3" partnerId="4"/>
  74. <project_details id="1" id_layout="5" id_project_model="1" />
  75. <project_banner id="1" id_layout="5" id_project_model="1" />
  76. <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" />
  77. <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" />
  78. <phase id_phase="1" id_project="1" id_phase_model="1" />
  79. <phase id_phase="2" id_project="2" id_phase_model="1" />
  80. <phase id_phase="3" id_project="3" id_phase_model="1" />
  81. <phase id_phase="4" id_project="1" id_phase_model="2" />
  82. <phase id_phase="5" id_project="2" id_phase_model="2" />
  83. <phase id_phase="6" id_project="3" id_phase_model="2" />
  84. <phase id_phase="7" id_project="1" id_phase_model="3" />
  85. <phase id_phase="8" id_project="2" id_phase_model="3" />
  86. <phase id_phase="9" id_project="3" id_phase_model="3" />
  87. <phase id_phase="10" id_project="1" id_phase_model="4" />
  88. <phase id_phase="11" id_project="2" id_phase_model="4" />
  89. <phase id_phase="12" id_project="3" id_phase_model="4" />
  90. </dataset>