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

Unified Diff: gm/rebaseline_server/imagepairset_test.py

Issue 196533021: rebaseline_server: make intermediate JSON specify base urls for diff images (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: nits Created 6 years, 9 months 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
« no previous file with comments | « gm/rebaseline_server/imagepairset.py ('k') | gm/rebaseline_server/results.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/rebaseline_server/imagepairset_test.py
diff --git a/gm/rebaseline_server/imagepairset_test.py b/gm/rebaseline_server/imagepairset_test.py
index 815fd74056f1fbcd8da32cf65293de0c2ece25b9..2fc6d72bd4e7c464cf3500a4069297ebfecaa7d7 100755
--- a/gm/rebaseline_server/imagepairset_test.py
+++ b/gm/rebaseline_server/imagepairset_test.py
@@ -106,16 +106,24 @@ class ImagePairSetTest(unittest.TestCase):
IMAGEPAIR_2_AS_DICT,
IMAGEPAIR_3_AS_DICT,
],
- 'imageSets': [
- {
+ 'imageSets': {
+ 'imageA': {
'baseUrl': BASE_URL_1,
'description': SET_A_DESCRIPTION,
},
- {
+ 'imageB': {
'baseUrl': BASE_URL_1,
'description': SET_B_DESCRIPTION,
},
- ],
+ 'diffs': {
+ 'baseUrl': '/static/generated-images/diffs',
+ 'description': 'color difference per channel',
+ },
+ 'whiteDiffs': {
+ 'baseUrl': '/static/generated-images/whitediffs',
+ 'description': 'differing pixels in white',
+ },
+ },
}
image_pair_set = imagepairset.ImagePairSet(
« no previous file with comments | « gm/rebaseline_server/imagepairset.py ('k') | gm/rebaseline_server/results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698