/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
- <?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"/>
-
- <!-- Indicators -->
-
-
- <attributeGroup attributeGroupId="1"
- sortOrder="1"
- multipleAllowed="1"
- name="Cause"/>
-
-
- <attribute attributeId="1"
- attributeGroupId="1"
- name="Retour"
- sortOrder="2"/>
-
-
- <attribute attributeId="2"
- attributeGroupId="1"
- name="Deplacement"
- sortOrder="1"/>
-
-
- <userLogin userId="1" name="Alex" email="user1@user.com" locale="fr" newUser="1" />
-
- <userDatabase databaseId="1" name="PEAR" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
-
- <activity activityId="1"
- databaseId="1"
- name="NFI"
- reportingFrequency="0"
- allowEdit="1"
- isAssessment="0"
- sortOrder="1"
- locationTypeId="1"/>
-
- <activity activityId="2"
- databaseId="1"
- name="empty activity"
- reportingFrequency="0"
- allowEdit="1"
- isAssessment="0"
- sortOrder="2"
- locationTypeId="1"/>
-
- <indicator indicatorId="1"
- activityId="1"
- name="beneficiaries"
- units="menages^2"
- aggregation="0"
- category="inputs"
- description="falling in lve"
- listHeader="no header really"
- collectIntervention="1"
- collectMonitoring="1"
- sortOrder="2"/>
-
- <indicator indicatorId="2"
- activityId="1"
- name="kits"
- units="menages"
- aggregation="0"
- collectIntervention="1"
- collectMonitoring="1"
- category="outputs"
- listHeader="header"
- description="desc"
- sourceOfVerification="Distribution records"
- sortOrder="1"/>
-
- <attributeGroupInActivity attributeGroupId="1" activityId="1"/>
-
-
- <partner partnerId="1" name="NRC"/>
-
- <partnerInDatabase databaseId="1" partnerId="1"/>
-
- <userLogin userId="2" name="Bavon" email="bavon@nrcdrc.org" locale="fr" newUser="1" />
- <userPermission
- userPermissionId="1"
- databaseId="1"
- partnerId="1"
- userId="2"
- allowView="1" allowViewAll="0"
- allowEdit="1" allowEditAll="0"
- allowManageUsers="1" allowManageAllUsers="0"
- allowDesign="0"
- lastSchemaUpdate="2009-01-02"/>
-
-
- <userLogin userId="3" name="Stefan" email="stefan@irc.org" locale="fr" newUser="1" />
-
- <userDatabase databaseId="2" name="RRM" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
-
- <reportTemplate reportTemplateId="1" ownerUserId="1" visibility="1" title="Report 1" frequency="Monthly" day="28"
- XML="
- <report frequency="Monthly" day="28">
- <title>Report 1</title>
- </report>"/>
-
- <reportSubscription userId="1" reportTemplateId="1" subscribed="1"/>
-
-
- </dataset>