ansible/test/integration/roles/test_uri/files
Leonid Evdokimov ae9ba4afa1 uri: provide raw_content, parse json without double-decoding. Fixes #7586
Regression potential:
 - `raw_content` is written to `dest` file instead of decoded `content`
 - `raw_content` doubles module reply
2015-05-14 12:58:24 -07:00
..
fail0.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail1.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail2.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail3.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail4.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail5.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail6.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail7.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail8.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail9.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail10.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail11.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail12.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail13.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail14.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail15.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail16.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail17.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail18.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail19.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail20.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail21.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail22.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail23.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail24.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail25.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail26.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail27.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail28.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail29.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
fail30.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
pass0.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
pass1.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
pass2.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
pass3.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
pass4.json uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00
README uri: provide raw_content, parse json without double-decoding. Fixes #7586 2015-05-14 12:58:24 -07:00

The files were taken from http://www.json.org/JSON_checker/
> If the JSON_checker is working correctly, it must accept all of the pass*.json files and reject all of the fail*.json files.

Difference with JSON_checker dataset:
  - *${n}.json  renamed to *${n-1}.json to be 0-based
  - fail0.json  renamed to pass3.json   as python json module allows JSON payload to be string
  - fail17.json renamed to pass4.json   as python json module has no problems with deep structures
  - fail32.json renamed to fail0.json   to fill gap
  - fail31.json renamed to fail17.json  to fill gap