-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d26e0be
commit af6e425
Showing
4 changed files
with
162 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
138 changes: 138 additions & 0 deletions
138
kraftwerk-core/src/test/resources/unit_tests/data/lunatic_xml/fake-lunatic-data-3.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Campaign> | ||
<Id>TEST02</Id> | ||
<Label>Fake campaign with two levels of group</Label> | ||
<SurveyUnits> | ||
<SurveyUnit> | ||
<Id>T0000001</Id> | ||
<QuestionnaireModelId>TEST02</QuestionnaireModelId> | ||
<Data> | ||
<EXTERNAL> | ||
<ADDRESS> | ||
<COLLECTED type="string">742 Evergreen Terrace</COLLECTED> | ||
<EDITED type="null" /> | ||
<INPUTED type="null" /> | ||
<FORCED type="null" /> | ||
<PREVIOUS type="null" /> | ||
</ADDRESS> | ||
<HOUSEHOLD_INCOME> | ||
<COLLECTED type="number">20000</COLLECTED> | ||
<EDITED type="null" /> | ||
<INPUTED type="null" /> | ||
<FORCED type="null" /> | ||
<PREVIOUS type="null" /> | ||
</HOUSEHOLD_INCOME> | ||
<FIRST_NAME> | ||
<COLLECTED> | ||
<COLLECTED type="string">Homer</COLLECTED> | ||
<COLLECTED type="string">Marge</COLLECTED> | ||
<COLLECTED type="string">Bart</COLLECTED> | ||
<COLLECTED type="string">Lisa</COLLECTED> | ||
<COLLECTED type="string">Maggie</COLLECTED> | ||
<COLLECTED type="string">Maggie</COLLECTED> | ||
<COLLECTED type="string">Santa's Little Helper</COLLECTED> | ||
</COLLECTED> | ||
<EDITED> | ||
<EDITED type="null" /> | ||
</EDITED> | ||
<INPUTED> | ||
<INPUTED type="null" /> | ||
</INPUTED> | ||
<FORCED> | ||
<FORCED type="null" /> | ||
</FORCED> | ||
<PREVIOUS> | ||
<PREVIOUS type="null" /> | ||
</PREVIOUS> | ||
</FIRST_NAME> | ||
<LAST_NAME> | ||
<COLLECTED> | ||
<COLLECTED type="string">Simpson</COLLECTED> | ||
<COLLECTED type="string">Simpson</COLLECTED> | ||
<COLLECTED type="string">Simpson</COLLECTED> | ||
<COLLECTED type="string">Simpson</COLLECTED> | ||
<COLLECTED type="string">Simpson</COLLECTED> | ||
<COLLECTED type="null" /> | ||
</COLLECTED> | ||
<EDITED> | ||
<EDITED type="null" /> | ||
</EDITED> | ||
<INPUTED> | ||
<INPUTED type="null" /> | ||
</INPUTED> | ||
<FORCED> | ||
<FORCED type="null" /> | ||
</FORCED> | ||
<PREVIOUS> | ||
<PREVIOUS type="null" /> | ||
</PREVIOUS> | ||
</LAST_NAME> | ||
<GENDER> | ||
<COLLECTED> | ||
<COLLECTED type="string">M</COLLECTED> | ||
<COLLECTED type="string">F</COLLECTED> | ||
<COLLECTED type="string">M</COLLECTED> | ||
<COLLECTED type="string">F</COLLECTED> | ||
<COLLECTED type="string">F</COLLECTED> | ||
<COLLECTED type="null" /> | ||
</COLLECTED> | ||
<EDITED> | ||
<EDITED type="null" /> | ||
</EDITED> | ||
<INPUTED> | ||
<INPUTED type="null" /> | ||
</INPUTED> | ||
<FORCED> | ||
<FORCED type="null" /> | ||
</FORCED> | ||
<PREVIOUS> | ||
<PREVIOUS type="null" /> | ||
</PREVIOUS> | ||
</GENDER> | ||
<CAR_COLOR> | ||
<COLLECTED> | ||
<COLLECTED> | ||
<COLLECTED type="string">Purple</COLLECTED> | ||
</COLLECTED> | ||
<COLLECTED> | ||
<COLLECTED type="string">Red</COLLECTED> | ||
</COLLECTED> | ||
<COLLECTED> | ||
<COLLECTED type="null" /> | ||
</COLLECTED> | ||
<COLLECTED> | ||
<COLLECTED type="null" /> | ||
</COLLECTED> | ||
<COLLECTED> | ||
<COLLECTED type="null" /> | ||
</COLLECTED> | ||
<COLLECTED> | ||
<COLLECTED type="null" /> | ||
</COLLECTED> | ||
</COLLECTED> | ||
<EDITED> | ||
<EDITED> | ||
<EDITED type="null" /> | ||
</EDITED> | ||
</EDITED> | ||
<INPUTED> | ||
<INPUTED> | ||
<INPUTED type="null" /> | ||
</INPUTED> | ||
</INPUTED> | ||
<FORCED> | ||
<FORCED> | ||
<FORCED type="null" /> | ||
</FORCED> | ||
</FORCED> | ||
<PREVIOUS> | ||
<PREVIOUS> | ||
<PREVIOUS type="null" /> | ||
</PREVIOUS> | ||
</PREVIOUS> | ||
</CAR_COLOR> | ||
</EXTERNAL> | ||
</Data> | ||
</SurveyUnit> | ||
</SurveyUnits> | ||
</Campaign> |