Skip to content

Commit

Permalink
update test cases for enforcing bundle rules around the presence of f…
Browse files Browse the repository at this point in the history
…ullUrl
  • Loading branch information
grahamegrieve committed Dec 1, 2020
1 parent 662c171 commit a3c76e4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Update test cases for enforcing bundle rules around the presence of fullUrl
3 changes: 2 additions & 1 deletion validator/azatadha/example-params-1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
<Bundle>
<type value="collection"/>
<entry>
<resource>
<fullUrl value="http://something/Bundle/1"/>
<resource>
<Binary>
<id value="1"/>
<contentType value="text/plain"/>
Expand Down
9 changes: 6 additions & 3 deletions validator/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2692,7 +2692,7 @@
"file" : "japanese-utf8-ok.xml",
"explanation" : "bundle related errors; number doesn't matter (it's > 1)",
"java" : {
"errorCount" : 70,
"errorCount" : 72,
"output" : [
"ERROR: /f:Bundle: Text should not be present ('�@')",
"ERROR: Device: Undefined element 'code'",
Expand Down Expand Up @@ -2768,7 +2768,9 @@
"ERROR: Bundle.entry[16]: Entry '47bc33d5-5eea-45fd-8a46-b3543a7c4495' isn't reachable by traversing from first Bundle entry",
"ERROR: Bundle.entry[17]: Entry '47bc33d5-5eea-45fd-8a46-b3543a7c4495' isn't reachable by traversing from first Bundle entry",
"ERROR: Bundle.entry[18]: Entry isn't reachable by traversing from first Bundle entry",
"ERROR: Bundle.entry[19]: Entry isn't reachable by traversing from first Bundle entry"
"ERROR: Bundle.entry[19]: Entry isn't reachable by traversing from first Bundle entry",
"ERROR: Bundle.entry[17]: Except for transactions and batches, each entry in a Bundle must have a fullUrl which is the identity of the resource in the entry",
"ERROR: Bundle.entry[18]: Except for transactions and batches, each entry in a Bundle must have a fullUrl which is the identity of the resource in the entry"
]
}
},
Expand Down Expand Up @@ -4649,7 +4651,8 @@
"bundle-with-extensions-ext.xml"
],
"java" : {
"errorCount" : 0
"errorCount" : 1,
"output" : [ "ERROR: Bundle.entry[0]: Except for transactions and batches, each entry in a Bundle must have a fullUrl which is the identity of the resource in the entry" ]
}
},
{
Expand Down

0 comments on commit a3c76e4

Please sign in to comment.