Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: gm/rebaseline_server/tests/outputs/expected/gm.json

Issue 117413006: create unittest for gm/rebaseline_server/results.py (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: address comments Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gm/rebaseline_server/tests/outputs/expected/gm.json
diff --git a/gm/rebaseline_server/tests/outputs/expected/gm.json b/gm/rebaseline_server/tests/outputs/expected/gm.json
new file mode 100644
index 0000000000000000000000000000000000000000..89ad21b2411366d6ea1a7fbed55639ebcf414edf
--- /dev/null
+++ b/gm/rebaseline_server/tests/outputs/expected/gm.json
@@ -0,0 +1,507 @@
+{
+ "categories": {
+ "builder": {
+ "Test-Android-GalaxyNexus-SGX540-Arm7-Release": 13,
+ "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug": 15
+ },
+ "config": {
+ "565": 9,
+ "8888": 9,
+ "gpu": 4,
+ "pdf-mac": 3,
+ "pdf-poppler": 3
+ },
+ "ignore-failure": {
+ "null": 12,
+ "false": 16
+ },
+ "resultType": {
+ "failed": 1,
+ "failure-ignored": 4,
+ "no-comparison": 9,
+ "succeeded": 14
+ },
+ "reviewed-by-human": {
+ "null": 16,
+ "false": 12
+ },
+ "test": {
+ "3x3bitmaprect": 7,
+ "aaclip": 2,
+ "bigblurs": 7,
+ "bitmapsource": 2,
+ "displacement": 5,
+ "filterbitmap_checkerboard_192_192": 2,
+ "filterbitmap_checkerboard_32_2": 2,
+ "texdata": 1
+ }
+ },
+ "testData": [
+ {
+ "actualHashDigest": "3695033638604474475",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": null,
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "gpu",
+ "expectedHashDigest": "2736593828543197285",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": false,
+ "maxDiffPerChannel": [
+ 128,
+ 128,
+ 128
+ ],
+ "numDifferingPixels": 120000,
+ "percentDifferingPixels": 75.0,
+ "resultType": "failed",
+ "reviewed-by-human": null,
+ "test": "texdata",
+ "weightedDiffMeasure": 8.413046264257337
+ },
+ {
+ "actualHashDigest": "4719210487426381700",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "565",
+ "expectedHashDigest": "13270012198930365496",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": [
+ 222,
+ 223,
+ 222
+ ],
+ "numDifferingPixels": 77691,
+ "percentDifferingPixels": 17.593070652173914,
+ "resultType": "failure-ignored",
+ "reviewed-by-human": false,
+ "test": "filterbitmap_checkerboard_192_192",
+ "weightedDiffMeasure": 3.661184599893761
+ },
+ {
+ "actualHashDigest": "3154864687054945306",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "8888",
+ "expectedHashDigest": "14746826424040775628",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": [
+ 221,
+ 221,
+ 221
+ ],
+ "numDifferingPixels": 82952,
+ "percentDifferingPixels": 18.784420289855074,
+ "resultType": "failure-ignored",
+ "reviewed-by-human": false,
+ "test": "filterbitmap_checkerboard_192_192",
+ "weightedDiffMeasure": 3.6140912497422955
+ },
+ {
+ "actualHashDigest": "15528304435129737588",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "565",
+ "expectedHashDigest": "16197252621792695154",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": [
+ 222,
+ 223,
+ 222
+ ],
+ "numDifferingPixels": 53150,
+ "percentDifferingPixels": 12.035778985507246,
+ "resultType": "failure-ignored",
+ "reviewed-by-human": false,
+ "test": "filterbitmap_checkerboard_32_2",
+ "weightedDiffMeasure": 3.713243437353155
+ },
+ {
+ "actualHashDigest": "712827739969462165",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "8888",
+ "expectedHashDigest": "7634650333321761866",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": [
+ 221,
+ 221,
+ 221
+ ],
+ "numDifferingPixels": 53773,
+ "percentDifferingPixels": 12.17685688405797,
+ "resultType": "failure-ignored",
+ "reviewed-by-human": false,
+ "test": "filterbitmap_checkerboard_32_2",
+ "weightedDiffMeasure": 3.6723483686597684
+ },
+ {
+ "actualHashDigest": "2422083043229439955",
+ "actualHashType": "bitmap-64bitMD5",
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "565",
+ "expectedHashDigest": "None",
+ "expectedHashType": null,
+ "ignore-failure": false,
+ "resultType": "no-comparison",
+ "test": "bigblurs"
+ },
+ {
+ "actualHashDigest": "17309852422285247848",
+ "actualHashType": "bitmap-64bitMD5",
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "8888",
+ "expectedHashDigest": "None",
+ "expectedHashType": null,
+ "ignore-failure": false,
+ "resultType": "no-comparison",
+ "test": "bigblurs"
+ },
+ {
+ "actualHashDigest": "17503582803589749280",
+ "actualHashType": "bitmap-64bitMD5",
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "565",
+ "expectedHashDigest": "None",
+ "expectedHashType": null,
+ "ignore-failure": false,
+ "resultType": "no-comparison",
+ "test": "bitmapsource"
+ },
+ {
+ "actualHashDigest": "16289727936158057543",
+ "actualHashType": "bitmap-64bitMD5",
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "8888",
+ "expectedHashDigest": "None",
+ "expectedHashType": null,
+ "ignore-failure": false,
+ "resultType": "no-comparison",
+ "test": "bitmapsource"
+ },
+ {
+ "actualHashDigest": "16998423976396106083",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "565",
+ "expectedHashDigest": "16998423976396106083",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": false,
+ "test": "3x3bitmaprect",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "2054956815327187963",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "8888",
+ "expectedHashDigest": "2054956815327187963",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": false,
+ "test": "3x3bitmaprect",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "6190901827590820995",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": null,
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "565",
+ "expectedHashDigest": "6190901827590820995",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": false,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": null,
+ "test": "aaclip",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "14456211900777561488",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": null,
+ "builder": "Test-Android-GalaxyNexus-SGX540-Arm7-Release",
+ "config": "8888",
+ "expectedHashDigest": "14456211900777561488",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": false,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": null,
+ "test": "aaclip",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "4569468668668628191",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": null,
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "565",
+ "expectedHashDigest": "4569468668668628191",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": false,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": null,
+ "test": "displacement",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "11401048196735046263",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": null,
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "8888",
+ "expectedHashDigest": "11401048196735046263",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": false,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": null,
+ "test": "displacement",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "5698561127291561694",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": null,
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "gpu",
+ "expectedHashDigest": "5698561127291561694",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": false,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": null,
+ "test": "displacement",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "12901125495691049846",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": null,
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "pdf-mac",
+ "expectedHashDigest": "12901125495691049846",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": false,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": null,
+ "test": "displacement",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "16285974094717334658",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "pdf-poppler",
+ "expectedHashDigest": "16285974094717334658",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": false,
+ "test": "displacement",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "14704206703218007573",
+ "actualHashType": "bitmap-64bitMD5",
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "565",
+ "expectedHashDigest": "None",
+ "expectedHashType": null,
+ "ignore-failure": false,
+ "resultType": "no-comparison",
+ "test": "bigblurs"
+ },
+ {
+ "actualHashDigest": "17309852422285247848",
+ "actualHashType": "bitmap-64bitMD5",
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "8888",
+ "expectedHashDigest": "None",
+ "expectedHashType": null,
+ "ignore-failure": false,
+ "resultType": "no-comparison",
+ "test": "bigblurs"
+ },
+ {
+ "actualHashDigest": "1822195599289208664",
+ "actualHashType": "bitmap-64bitMD5",
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "gpu",
+ "expectedHashDigest": "None",
+ "expectedHashType": null,
+ "ignore-failure": false,
+ "resultType": "no-comparison",
+ "test": "bigblurs"
+ },
+ {
+ "actualHashDigest": "16171608477794909861",
+ "actualHashType": "bitmap-64bitMD5",
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "pdf-mac",
+ "expectedHashDigest": "None",
+ "expectedHashType": null,
+ "ignore-failure": false,
+ "resultType": "no-comparison",
+ "test": "bigblurs"
+ },
+ {
+ "actualHashDigest": "6539050160610613353",
+ "actualHashType": "bitmap-64bitMD5",
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "pdf-poppler",
+ "expectedHashDigest": "None",
+ "expectedHashType": null,
+ "ignore-failure": false,
+ "resultType": "no-comparison",
+ "test": "bigblurs"
+ },
+ {
+ "actualHashDigest": "16998423976396106083",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "565",
+ "expectedHashDigest": "16998423976396106083",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": false,
+ "test": "3x3bitmaprect",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "2054956815327187963",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "8888",
+ "expectedHashDigest": "2054956815327187963",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": false,
+ "test": "3x3bitmaprect",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "2054956815327187963",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "gpu",
+ "expectedHashDigest": "2054956815327187963",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": false,
+ "test": "3x3bitmaprect",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "8518347971308375604",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "pdf-mac",
+ "expectedHashDigest": "8518347971308375604",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": false,
+ "test": "3x3bitmaprect",
+ "weightedDiffMeasure": 0
+ },
+ {
+ "actualHashDigest": "16723580409414313678",
+ "actualHashType": "bitmap-64bitMD5",
+ "bugs": [
+ 1578
+ ],
+ "builder": "Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug",
+ "config": "pdf-poppler",
+ "expectedHashDigest": "16723580409414313678",
+ "expectedHashType": "bitmap-64bitMD5",
+ "ignore-failure": null,
+ "maxDiffPerChannel": 0,
+ "numDifferingPixels": 0,
+ "percentDifferingPixels": 0,
+ "resultType": "succeeded",
+ "reviewed-by-human": false,
+ "test": "3x3bitmaprect",
+ "weightedDiffMeasure": 0
+ }
+ ]
+}
« no previous file with comments | « gm/rebaseline_server/tests/inputs/gm-expectations/Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug/expected-results.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698