| { |
| "skfiddle": { |
| "urls": [ |
| "https://fiddle.skia.org" |
| ], |
| "method": "GET", |
| "expected": [ |
| 200 |
| ], |
| "body": "", |
| "mimetype": "" |
| }, |
| "skfiddle_compile_bad": { |
| "urls": [ |
| "https://fiddle.skia.org/_/run" |
| ], |
| "method": "POST", |
| "expected": [ |
| 200 |
| ], |
| "body": "{\"code\":\"void draw(SkCanvas* canvas)\",\"name\":\"\",\"options\":{\"width\":256,\"height\":256}}", |
| "mimetype": "application/json", |
| "responsetest": "skfiddleJSONBad" |
| }, |
| "skfiddle_compile_good": { |
| "urls": [ |
| "https://fiddle.skia.org/_/run" |
| ], |
| "method": "POST", |
| "expected": [ |
| 200 |
| ], |
| "body": "{\"code\":\"void draw(SkCanvas* canvas) {SkPaint p;canvas->drawLine(0, 0, 10, 10, p);}\",\"options\":{\"width\":10,\"height\":10}}", |
| "mimetype": "application/json", |
| "responsetest": "skfiddleJSONGood" |
| } |
| } |