diff options
author | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-13 18:14:48 +0000 |
---|---|---|
committer | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-13 18:14:48 +0000 |
commit | d271d245e97da5fef642c0f106abe3fd948c2270 (patch) | |
tree | d5efb4dc98a15245fa743c0eba999aab6b8948b3 /gm/tests/outputs/compared-against-identical-pixels-json/output-expected | |
parent | 73a9694b4ceb67547e5863db5315488e7d5294f7 (diff) |
gm: Add ability to compare against checksums (as opposed to image files)
Review URL: https://codereview.appspot.com/7306071
git-svn-id: http://skia.googlecode.com/svn/trunk@7724 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/tests/outputs/compared-against-identical-pixels-json/output-expected')
4 files changed, 30 insertions, 0 deletions
diff --git a/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/command_line b/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/command_line new file mode 100644 index 0000000000..a596064846 --- /dev/null +++ b/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/command_line @@ -0,0 +1 @@ +out/Debug/gm --hierarchy --match dashing2 --config 8888 --config 565 -r gm/tests/inputs/json/identical-pixels.json --writeJsonSummary gm/tests/outputs/compared-against-identical-pixels-json/output-actual/json-summary.txt diff --git a/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/json-summary.txt b/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/json-summary.txt new file mode 100644 index 0000000000..bed3b2d3b4 --- /dev/null +++ b/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/json-summary.txt @@ -0,0 +1,25 @@ +{ + "actual-results" : { + "failed" : null, + "failure-ignored" : null, + "no-comparison" : null, + "succeeded" : { + "565/dashing2" : { + "checksum" : FAKE + }, + "8888/dashing2" : { + "checksum" : FAKE + } + } + }, + "expected-results" : { + "565/dashing2" : { + "checksums" : [ FAKE ], + "ignore-failure" : false + }, + "8888/dashing2" : { + "checksums" : [ FAKE ], + "ignore-failure" : false + } + } +} diff --git a/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/return_value b/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/return_value new file mode 100644 index 0000000000..573541ac97 --- /dev/null +++ b/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/return_value @@ -0,0 +1 @@ +0 diff --git a/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/stdout b/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/stdout new file mode 100644 index 0000000000..3b2671aad5 --- /dev/null +++ b/gm/tests/outputs/compared-against-identical-pixels-json/output-expected/stdout @@ -0,0 +1,3 @@ +reading expectations from JSON summary file gm/tests/inputs/json/identical-pixels.json +drawing... dashing2 [640 480] +Ran 1 tests: 1 passed, 0 failed, 0 missing reference images |