/sigmah/src/test/resources/dbunit/schema1.db.xml

http://sigma-h.googlecode.com/ · XML · 116 lines · 80 code · 30 blank · 6 comment · 0 complexity · 8743d69f9955c77d4f5a9cd263469868 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. <!-- Indicators -->
  11. <attributeGroup attributeGroupId="1"
  12. sortOrder="1"
  13. multipleAllowed="1"
  14. name="Cause"/>
  15. <attribute attributeId="1"
  16. attributeGroupId="1"
  17. name="Retour"
  18. sortOrder="2"/>
  19. <attribute attributeId="2"
  20. attributeGroupId="1"
  21. name="Deplacement"
  22. sortOrder="1"/>
  23. <userLogin userId="1" name="Alex" email="user1@user.com" locale="fr" newUser="1" />
  24. <userDatabase databaseId="1" name="PEAR" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
  25. <activity activityId="1"
  26. databaseId="1"
  27. name="NFI"
  28. reportingFrequency="0"
  29. allowEdit="1"
  30. isAssessment="0"
  31. sortOrder="1"
  32. locationTypeId="1"/>
  33. <activity activityId="2"
  34. databaseId="1"
  35. name="empty activity"
  36. reportingFrequency="0"
  37. allowEdit="1"
  38. isAssessment="0"
  39. sortOrder="2"
  40. locationTypeId="1"/>
  41. <indicator indicatorId="1"
  42. activityId="1"
  43. name="beneficiaries"
  44. units="menages^2"
  45. aggregation="0"
  46. category="inputs"
  47. description="falling in lve"
  48. listHeader="no header really"
  49. collectIntervention="1"
  50. collectMonitoring="1"
  51. sortOrder="2"/>
  52. <indicator indicatorId="2"
  53. activityId="1"
  54. name="kits"
  55. units="menages"
  56. aggregation="0"
  57. collectIntervention="1"
  58. collectMonitoring="1"
  59. category="outputs"
  60. listHeader="header"
  61. description="desc"
  62. sourceOfVerification="Distribution records"
  63. sortOrder="1"/>
  64. <attributeGroupInActivity attributeGroupId="1" activityId="1"/>
  65. <partner partnerId="1" name="NRC"/>
  66. <partnerInDatabase databaseId="1" partnerId="1"/>
  67. <userLogin userId="2" name="Bavon" email="bavon@nrcdrc.org" locale="fr" newUser="1" />
  68. <userPermission
  69. userPermissionId="1"
  70. databaseId="1"
  71. partnerId="1"
  72. userId="2"
  73. allowView="1" allowViewAll="0"
  74. allowEdit="1" allowEditAll="0"
  75. allowManageUsers="1" allowManageAllUsers="0"
  76. allowDesign="0"
  77. lastSchemaUpdate="2009-01-02"/>
  78. <userLogin userId="3" name="Stefan" email="stefan@irc.org" locale="fr" newUser="1" />
  79. <userDatabase databaseId="2" name="RRM" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
  80. <reportTemplate reportTemplateId="1" ownerUserId="1" visibility="1" title="Report 1" frequency="Monthly" day="28"
  81. XML="
  82. &lt;report frequency=&quot;Monthly&quot; day=&quot;28&quot;&gt;
  83. &lt;title&gt;Report 1&lt;/title&gt;
  84. &lt;/report&gt;"/>
  85. <reportSubscription userId="1" reportTemplateId="1" subscribed="1"/>
  86. </dataset>