aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/tests/outputs
diff options
context:
space:
mode:
Diffstat (limited to 'gm/tests/outputs')
-rw-r--r--gm/tests/outputs/compared-against-different-pixels-json/output-expected/command_line1
-rw-r--r--gm/tests/outputs/compared-against-different-pixels-json/output-expected/json-summary.txt25
-rw-r--r--gm/tests/outputs/compared-against-different-pixels-json/output-expected/return_value1
-rw-r--r--gm/tests/outputs/compared-against-different-pixels-json/output-expected/stdout3
-rw-r--r--gm/tests/outputs/compared-against-identical-bytes-json/output-expected/command_line1
-rw-r--r--gm/tests/outputs/compared-against-identical-bytes-json/output-expected/json-summary.txt25
-rw-r--r--gm/tests/outputs/compared-against-identical-bytes-json/output-expected/return_value1
-rw-r--r--gm/tests/outputs/compared-against-identical-bytes-json/output-expected/stdout3
-rw-r--r--gm/tests/outputs/compared-against-identical-pixels-json/output-expected/command_line1
-rw-r--r--gm/tests/outputs/compared-against-identical-pixels-json/output-expected/json-summary.txt25
-rw-r--r--gm/tests/outputs/compared-against-identical-pixels-json/output-expected/return_value1
-rw-r--r--gm/tests/outputs/compared-against-identical-pixels-json/output-expected/stdout3
12 files changed, 90 insertions, 0 deletions
diff --git a/gm/tests/outputs/compared-against-different-pixels-json/output-expected/command_line b/gm/tests/outputs/compared-against-different-pixels-json/output-expected/command_line
new file mode 100644
index 0000000000..1226cf28fc
--- /dev/null
+++ b/gm/tests/outputs/compared-against-different-pixels-json/output-expected/command_line
@@ -0,0 +1 @@
+out/Debug/gm --hierarchy --match dashing2 --config 8888 --config 565 -r gm/tests/inputs/json/different-pixels.json --writeJsonSummary gm/tests/outputs/compared-against-different-pixels-json/output-actual/json-summary.txt
diff --git a/gm/tests/outputs/compared-against-different-pixels-json/output-expected/json-summary.txt b/gm/tests/outputs/compared-against-different-pixels-json/output-expected/json-summary.txt
new file mode 100644
index 0000000000..37709e1ffc
--- /dev/null
+++ b/gm/tests/outputs/compared-against-different-pixels-json/output-expected/json-summary.txt
@@ -0,0 +1,25 @@
+{
+ "actual-results" : {
+ "failed" : {
+ "565/dashing2" : {
+ "checksum" : FAKE
+ },
+ "8888/dashing2" : {
+ "checksum" : FAKE
+ }
+ },
+ "failure-ignored" : null,
+ "no-comparison" : null,
+ "succeeded" : null
+ },
+ "expected-results" : {
+ "565/dashing2" : {
+ "checksums" : [ FAKE ],
+ "ignore-failure" : false
+ },
+ "8888/dashing2" : {
+ "checksums" : [ FAKE ],
+ "ignore-failure" : false
+ }
+ }
+}
diff --git a/gm/tests/outputs/compared-against-different-pixels-json/output-expected/return_value b/gm/tests/outputs/compared-against-different-pixels-json/output-expected/return_value
new file mode 100644
index 0000000000..ace9d03621
--- /dev/null
+++ b/gm/tests/outputs/compared-against-different-pixels-json/output-expected/return_value
@@ -0,0 +1 @@
+255
diff --git a/gm/tests/outputs/compared-against-different-pixels-json/output-expected/stdout b/gm/tests/outputs/compared-against-different-pixels-json/output-expected/stdout
new file mode 100644
index 0000000000..9194b40bf5
--- /dev/null
+++ b/gm/tests/outputs/compared-against-different-pixels-json/output-expected/stdout
@@ -0,0 +1,3 @@
+reading expectations from JSON summary file gm/tests/inputs/json/different-pixels.json
+drawing... dashing2 [640 480]
+Ran 1 tests: 0 passed, 1 failed, 0 missing reference images
diff --git a/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/command_line b/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/command_line
new file mode 100644
index 0000000000..e8fb0b97e6
--- /dev/null
+++ b/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/command_line
@@ -0,0 +1 @@
+out/Debug/gm --hierarchy --match dashing2 --config 8888 --config 565 -r gm/tests/inputs/json/identical-bytes.json --writeJsonSummary gm/tests/outputs/compared-against-identical-bytes-json/output-actual/json-summary.txt
diff --git a/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/json-summary.txt b/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/json-summary.txt
new file mode 100644
index 0000000000..bed3b2d3b4
--- /dev/null
+++ b/gm/tests/outputs/compared-against-identical-bytes-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-bytes-json/output-expected/return_value b/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/return_value
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/return_value
@@ -0,0 +1 @@
+0
diff --git a/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/stdout b/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/stdout
new file mode 100644
index 0000000000..afa854c231
--- /dev/null
+++ b/gm/tests/outputs/compared-against-identical-bytes-json/output-expected/stdout
@@ -0,0 +1,3 @@
+reading expectations from JSON summary file gm/tests/inputs/json/identical-bytes.json
+drawing... dashing2 [640 480]
+Ran 1 tests: 1 passed, 0 failed, 0 missing reference images
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