-
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.
feat: CDR-1550 add expected test data for implemented cases and remov…
…e not-ready tag from passed tests
- Loading branch information
1 parent
7c3be32
commit e6d4a42
Showing
11 changed files
with
309 additions
and
4 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
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
90 changes: 90 additions & 0 deletions
90
...est_data_sets/aql/fields_and_results/folder/expected_folder_contains_folder_find_all.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,90 @@ | ||
{ | ||
"meta": { | ||
"_type": "RESULTSET", | ||
"_schema_version": "1.0.3", | ||
"_created": "2024-09-23T16:20:39.3052084+03:00", | ||
"_executed_aql": "SELECT f1/uid/value, f1/name/value, f2/uid/value, f2/name/value FROM FOLDER f1 CONTAINS FOLDER f2", | ||
"resultsize": 10 | ||
}, | ||
"q": "SELECT f1/uid/value, f1/name/value, f2/uid/value, f2/name/value FROM FOLDER f1 CONTAINS FOLDER f2", | ||
"columns": [ | ||
{ | ||
"path": "f1/uid/value", | ||
"name": "#0" | ||
}, | ||
{ | ||
"path": "f1/name/value", | ||
"name": "#1" | ||
}, | ||
{ | ||
"path": "f2/uid/value", | ||
"name": "#2" | ||
}, | ||
{ | ||
"path": "f2/name/value", | ||
"name": "#3" | ||
} | ||
], | ||
"rows": [ | ||
[ | ||
"10e952ca-a5b2-4f24-8d37-59240fd37020::local.ehrbase.org::1", | ||
"root1", | ||
"e9ae5700-d969-430a-b4f2-445e3091a901", | ||
"subsubfolder2" | ||
], | ||
[ | ||
"ac1e12cb-b9db-4f15-a8aa-4e62a9d97231", | ||
"subfolder2", | ||
"e9ae5700-d969-430a-b4f2-445e3091a901", | ||
"subsubfolder2" | ||
], | ||
[ | ||
"10e952ca-a5b2-4f24-8d37-59240fd37020::local.ehrbase.org::1", | ||
"root1", | ||
"13661fe2-1e16-4c75-a10d-9b8040487a72", | ||
"subsubfolder1" | ||
], | ||
[ | ||
"ac1e12cb-b9db-4f15-a8aa-4e62a9d97231", | ||
"subfolder2", | ||
"13661fe2-1e16-4c75-a10d-9b8040487a72", | ||
"subsubfolder1" | ||
], | ||
[ | ||
"10e952ca-a5b2-4f24-8d37-59240fd37020::local.ehrbase.org::1", | ||
"root1", | ||
"ac1e12cb-b9db-4f15-a8aa-4e62a9d97231", | ||
"subfolder2" | ||
], | ||
[ | ||
"10e952ca-a5b2-4f24-8d37-59240fd37020::local.ehrbase.org::1", | ||
"root1", | ||
"3cb9efa5-fe71-49e9-a02f-d38835c27d1b", | ||
"subsubfolder2" | ||
], | ||
[ | ||
"d936409e-901f-4994-8d33-ed104d460151", | ||
"subfolder1", | ||
"3cb9efa5-fe71-49e9-a02f-d38835c27d1b", | ||
"subsubfolder2" | ||
], | ||
[ | ||
"10e952ca-a5b2-4f24-8d37-59240fd37020::local.ehrbase.org::1", | ||
"root1", | ||
"0cc504b1-4d6d-4cd5-81d9-0ef1b870edb3", | ||
"subsubfolder1" | ||
], | ||
[ | ||
"d936409e-901f-4994-8d33-ed104d460151", | ||
"subfolder1", | ||
"0cc504b1-4d6d-4cd5-81d9-0ef1b870edb3", | ||
"subsubfolder1" | ||
], | ||
[ | ||
"10e952ca-a5b2-4f24-8d37-59240fd37020::local.ehrbase.org::1", | ||
"root1", | ||
"d936409e-901f-4994-8d33-ed104d460151", | ||
"subfolder1" | ||
] | ||
] | ||
} |
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,38 @@ | ||
{ | ||
"meta": { | ||
"_type": "RESULTSET", | ||
"_schema_version": "1.0.3", | ||
"_created": "2024-09-23T16:27:24.7116624+03:00", | ||
"_executed_aql": "SELECT f2/uid/value, f2/name/value FROM FOLDER f1[openEHR-EHR-FOLDER.generic.v1, 'root1'] CONTAINS FOLDER f2[openEHR-EHR-FOLDER.episode_of_care.v1]", | ||
"resultsize": 4 | ||
}, | ||
"q": "SELECT f2/uid/value, f2/name/value FROM FOLDER f1[openEHR-EHR-FOLDER.generic.v1,'root1'] CONTAINS FOLDER f2[openEHR-EHR-FOLDER.episode_of_care.v1]", | ||
"columns": [ | ||
{ | ||
"path": "f2/uid/value", | ||
"name": "#0" | ||
}, | ||
{ | ||
"path": "f2/name/value", | ||
"name": "#1" | ||
} | ||
], | ||
"rows": [ | ||
[ | ||
"3cb9efa5-fe71-49e9-a02f-d38835c27d1b", | ||
"subsubfolder2" | ||
], | ||
[ | ||
"13661fe2-1e16-4c75-a10d-9b8040487a72", | ||
"subsubfolder1" | ||
], | ||
[ | ||
"e9ae5700-d969-430a-b4f2-445e3091a901", | ||
"subsubfolder2" | ||
], | ||
[ | ||
"0cc504b1-4d6d-4cd5-81d9-0ef1b870edb3", | ||
"subsubfolder1" | ||
] | ||
] | ||
} |
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,30 @@ | ||
{ | ||
"meta": { | ||
"_type": "RESULTSET", | ||
"_schema_version": "1.0.3", | ||
"_created": "2024-09-23T16:27:24.762151+03:00", | ||
"_executed_aql": "SELECT f2/uid/value, f2/name/value FROM FOLDER f1[openEHR-EHR-FOLDER.generic.v1, 'subfolder1'] CONTAINS FOLDER f2[openEHR-EHR-FOLDER.episode_of_care.v1]", | ||
"resultsize": 2 | ||
}, | ||
"q": "SELECT f2/uid/value, f2/name/value FROM FOLDER f1[openEHR-EHR-FOLDER.generic.v1,'subfolder1'] CONTAINS FOLDER f2[openEHR-EHR-FOLDER.episode_of_care.v1]", | ||
"columns": [ | ||
{ | ||
"path": "f2/uid/value", | ||
"name": "#0" | ||
}, | ||
{ | ||
"path": "f2/name/value", | ||
"name": "#1" | ||
} | ||
], | ||
"rows": [ | ||
[ | ||
"3cb9efa5-fe71-49e9-a02f-d38835c27d1b", | ||
"subsubfolder2" | ||
], | ||
[ | ||
"0cc504b1-4d6d-4cd5-81d9-0ef1b870edb3", | ||
"subsubfolder1" | ||
] | ||
] | ||
} |
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,30 @@ | ||
{ | ||
"meta": { | ||
"_type": "RESULTSET", | ||
"_schema_version": "1.0.3", | ||
"_created": "2024-09-23T16:27:24.7993439+03:00", | ||
"_executed_aql": "SELECT f2/uid/value, f2/name/value FROM FOLDER f1[openEHR-EHR-FOLDER.generic.v1, 'subfolder2'] CONTAINS FOLDER f2[openEHR-EHR-FOLDER.episode_of_care.v1]", | ||
"resultsize": 2 | ||
}, | ||
"q": "SELECT f2/uid/value, f2/name/value FROM FOLDER f1[openEHR-EHR-FOLDER.generic.v1,'subfolder2'] CONTAINS FOLDER f2[openEHR-EHR-FOLDER.episode_of_care.v1]", | ||
"columns": [ | ||
{ | ||
"path": "f2/uid/value", | ||
"name": "#0" | ||
}, | ||
{ | ||
"path": "f2/name/value", | ||
"name": "#1" | ||
} | ||
], | ||
"rows": [ | ||
[ | ||
"13661fe2-1e16-4c75-a10d-9b8040487a72", | ||
"subsubfolder1" | ||
], | ||
[ | ||
"e9ae5700-d969-430a-b4f2-445e3091a901", | ||
"subsubfolder2" | ||
] | ||
] | ||
} |
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,30 @@ | ||
{ | ||
"meta": { | ||
"_type": "RESULTSET", | ||
"_schema_version": "1.0.3", | ||
"_created": "2024-09-23T16:27:24.8370776+03:00", | ||
"_executed_aql": "SELECT f2/uid/value, f2/name/value FROM FOLDER f1[openEHR-EHR-FOLDER.generic.v1, 'root1'] CONTAINS FOLDER f2[openEHR-EHR-FOLDER.episode_of_care.v1, 'subsubfolder1']", | ||
"resultsize": 2 | ||
}, | ||
"q": "SELECT f2/uid/value, f2/name/value FROM FOLDER f1[openEHR-EHR-FOLDER.generic.v1,'root1'] CONTAINS FOLDER f2[openEHR-EHR-FOLDER.episode_of_care.v1,'subsubfolder1']", | ||
"columns": [ | ||
{ | ||
"path": "f2/uid/value", | ||
"name": "#0" | ||
}, | ||
{ | ||
"path": "f2/name/value", | ||
"name": "#1" | ||
} | ||
], | ||
"rows": [ | ||
[ | ||
"13661fe2-1e16-4c75-a10d-9b8040487a72", | ||
"subsubfolder1" | ||
], | ||
[ | ||
"0cc504b1-4d6d-4cd5-81d9-0ef1b870edb3", | ||
"subsubfolder1" | ||
] | ||
] | ||
} |
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,66 @@ | ||
{ | ||
"meta": { | ||
"_type": "RESULTSET", | ||
"_schema_version": "1.0.3", | ||
"_created": "2024-09-23T16:27:25.4942934+03:00", | ||
"_executed_aql": "SELECT f/details FROM FOLDER f", | ||
"resultsize": 2 | ||
}, | ||
"q": "SELECT f/details FROM FOLDER f", | ||
"columns": [ | ||
{ | ||
"path": "f/details", | ||
"name": "#0" | ||
} | ||
], | ||
"rows": [ | ||
[ | ||
{ | ||
"_type": "ITEM_TREE", | ||
"name": { | ||
"_type": "DV_TEXT", | ||
"value": "Tree" | ||
}, | ||
"items": [ | ||
{ | ||
"_type": "ELEMENT", | ||
"name": { | ||
"_type": "DV_TEXT", | ||
"value": "text" | ||
}, | ||
"value": { | ||
"_type": "DV_TEXT", | ||
"value": "value2" | ||
}, | ||
"archetype_node_id": "at0004" | ||
} | ||
], | ||
"archetype_node_id": "at0003" | ||
} | ||
], | ||
[ | ||
{ | ||
"_type": "ITEM_TREE", | ||
"name": { | ||
"_type": "DV_TEXT", | ||
"value": "Tree" | ||
}, | ||
"items": [ | ||
{ | ||
"_type": "ELEMENT", | ||
"name": { | ||
"_type": "DV_TEXT", | ||
"value": "text" | ||
}, | ||
"value": { | ||
"_type": "DV_TEXT", | ||
"value": "value1" | ||
}, | ||
"archetype_node_id": "at0004" | ||
} | ||
], | ||
"archetype_node_id": "at0003" | ||
} | ||
] | ||
] | ||
} |
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,24 @@ | ||
{ | ||
"meta": { | ||
"_type": "RESULTSET", | ||
"_schema_version": "1.0.3", | ||
"_created": "2024-09-23T16:42:12.446094+03:00", | ||
"_executed_aql": "SELECT f/details[at0003]/items[at0004]/value/value FROM FOLDER f", | ||
"resultsize": 2 | ||
}, | ||
"q": "SELECT f/details[at0003]/items[at0004]/value/value FROM FOLDER f", | ||
"columns": [ | ||
{ | ||
"path": "f/details[at0003]/items[at0004]/value/value", | ||
"name": "#0" | ||
} | ||
], | ||
"rows": [ | ||
[ | ||
"value2" | ||
], | ||
[ | ||
"value1" | ||
] | ||
] | ||
} |