PageRenderTime 37ms CodeModel.GetById 32ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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