-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: InseeFr/Pogues#660 add test on failing case
- Loading branch information
Showing
5 changed files
with
4,375 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
2 changes: 2 additions & 0 deletions
2
src/test/resources/transforms/PoguesJSONToPoguesJSONDeref/translation_issue/out/.gitignore
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,2 @@ | ||
* | ||
!.gitignore |
176 changes: 176 additions & 0 deletions
176
src/test/resources/transforms/PoguesJSONToPoguesJSONDeref/translation_issue/reference.json
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,176 @@ | ||
{ | ||
"owner": "FAKEPERMISSION", | ||
"FlowControl": [], | ||
"ComponentGroup": [ | ||
{ | ||
"MemberReference": [ | ||
"lepvg4hm", | ||
"lepv3wix", | ||
"le2v7xet", | ||
"idendquest", | ||
"le8ffc6k" | ||
], | ||
"Label": [ | ||
"Components for page 1" | ||
], | ||
"id": "lepvhvq0", | ||
"Name": "PAGE_1" | ||
} | ||
], | ||
"agency": "fr.insee", | ||
"genericName": "QUESTIONNAIRE", | ||
"Label": [ | ||
"Test Romain" | ||
], | ||
"childQuestionnaireRef": [ | ||
"le2v7xet", | ||
"le8ffc6k" | ||
], | ||
"Name": "TESTROMAIN", | ||
"Variables": { | ||
"Variable": [ | ||
{ | ||
"Label": "Q1 label", | ||
"id": "lepv5jud", | ||
"type": "CollectedVariableType", | ||
"Name": "Q1", | ||
"Datatype": { | ||
"Pattern": "", | ||
"typeName": "TEXT", | ||
"type": "TextDatatypeType", | ||
"MaxLength": 249 | ||
} | ||
} | ||
] | ||
}, | ||
"lastUpdatedDate": "Wed Mar 01 2023 16:59:15 GMT+0100 (heure normale d’Europe centrale)", | ||
"DataCollection": [ | ||
{ | ||
"id": "d5225468-f2c0-4a1b-a662-7b892d9bd734", | ||
"uri": "http://ddi:fr.insee:DataCollection.d5225468-f2c0-4a1b-a662-7b892d9bd734", | ||
"Name": "Investissements et depenses courantes pour proteger l'environnement 2016" | ||
} | ||
], | ||
"final": false, | ||
"flowLogic": "FILTER", | ||
"id": "lepv605i", | ||
"TargetMode": [ | ||
"CAPI", | ||
"CATI", | ||
"CAWI", | ||
"PAPI" | ||
], | ||
"CodeLists": { | ||
"CodeList": [] | ||
}, | ||
"formulasLanguage": "VTL", | ||
"Child": [ | ||
{ | ||
"Control": [], | ||
"depth": 1, | ||
"FlowControl": [], | ||
"genericName": "MODULE", | ||
"Label": [ | ||
"S1" | ||
], | ||
"id": "lepvg4hm", | ||
"TargetMode": [ | ||
"CAPI", | ||
"CATI", | ||
"CAWI", | ||
"PAPI" | ||
], | ||
"Declaration": [], | ||
"type": "SequenceType", | ||
"Child": [ | ||
{ | ||
"Response": [ | ||
{ | ||
"CollectedVariableReference": "lepv5jud", | ||
"id": "lepvabpu", | ||
"mandatory": false, | ||
"Datatype": { | ||
"Pattern": "", | ||
"typeName": "TEXT", | ||
"type": "TextDatatypeType", | ||
"MaxLength": 249 | ||
} | ||
} | ||
], | ||
"Control": [], | ||
"depth": 2, | ||
"FlowControl": [], | ||
"Label": [ | ||
"\"Q1\"" | ||
], | ||
"id": "lepv3wix", | ||
"TargetMode": [ | ||
"CAPI", | ||
"CATI", | ||
"CAWI", | ||
"PAPI" | ||
], | ||
"Declaration": [], | ||
"type": "QuestionType", | ||
"questionType": "SIMPLE", | ||
"Name": "Q1" | ||
} | ||
], | ||
"Name": "S1" | ||
}, | ||
{ | ||
"Control": [], | ||
"depth": 1, | ||
"FlowControl": [], | ||
"genericName": "EXTERNAL_ELEMENT", | ||
"Label": [ | ||
"TCM_DL_Description du logement" | ||
], | ||
"id": "le2v7xet", | ||
"TargetMode": [ | ||
"" | ||
], | ||
"Declaration": [], | ||
"type": "SequenceType", | ||
"Child": [], | ||
"Name": "TCM_DL_DES" | ||
}, | ||
{ | ||
"Control": [], | ||
"depth": 1, | ||
"FlowControl": [], | ||
"genericName": "EXTERNAL_ELEMENT", | ||
"Label": [ | ||
"L120 - TCM transversal - Enfants de parents séparés" | ||
], | ||
"id": "le8ffc6k", | ||
"TargetMode": [ | ||
"" | ||
], | ||
"Declaration": [], | ||
"type": "SequenceType", | ||
"Child": [], | ||
"Name": "L120TCMTRA" | ||
}, | ||
{ | ||
"Control": [], | ||
"depth": 1, | ||
"FlowControl": [], | ||
"genericName": "MODULE", | ||
"Label": [ | ||
"QUESTIONNAIRE_END" | ||
], | ||
"id": "idendquest", | ||
"TargetMode": [ | ||
"CAPI", | ||
"CATI", | ||
"CAWI", | ||
"PAPI" | ||
], | ||
"Declaration": [], | ||
"type": "SequenceType", | ||
"Child": [], | ||
"Name": "QUESTIONNAIRE_END" | ||
} | ||
] | ||
} |
Oops, something went wrong.