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

Side by Side Diff: content/test/gpu/gpu_tests/maps.py

Issue 101963003: gpu: Fix broken import path in Maps test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Runs a Google Maps pixel test. 5 """Runs a Google Maps pixel test.
6 Performs several common navigation actions on the map (pan, zoom, rotate) then 6 Performs several common navigation actions on the map (pan, zoom, rotate) then
7 captures a screenshot and compares selected pixels against expected values""" 7 captures a screenshot and compares selected pixels against expected values"""
8 8
9 import json 9 import json
10 import optparse 10 import optparse
11 import os 11 import os
12 import re 12 import re
13 13
14 import maps_expectations 14 import maps_expectations
15 15
16 from telemetry import test 16 from telemetry import test
17 from telemetry.core.backends import bitmap 17 from telemetry.core import bitmap
18 from telemetry.core import util 18 from telemetry.core import util
19 from telemetry.page import page_test 19 from telemetry.page import page_test
20 from telemetry.page import page_set 20 from telemetry.page import page_set
21 21
22 test_data_dir = os.path.abspath(os.path.join( 22 test_data_dir = os.path.abspath(os.path.join(
23 os.path.dirname(__file__), '..', '..', 'data', 'gpu')) 23 os.path.dirname(__file__), '..', '..', 'data', 'gpu'))
24 24
25 default_generated_data_dir = os.path.join(test_data_dir, 'generated') 25 default_generated_data_dir = os.path.join(test_data_dir, 'generated')
26 26
27 class MapsValidator(page_test.PageTest): 27 class MapsValidator(page_test.PageTest):
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 'navigate_steps': [ 170 'navigate_steps': [
171 { 'action': 'navigate' }, 171 { 'action': 'navigate' },
172 { 'action': 'wait', 'javascript': 'window.testDone' } 172 { 'action': 'wait', 'javascript': 'window.testDone' }
173 ], 173 ],
174 'pixel_expectations': 'data/maps_001_expectations.json' 174 'pixel_expectations': 'data/maps_001_expectations.json'
175 } 175 }
176 ] 176 ]
177 } 177 }
178 178
179 return page_set.PageSet.FromDict(page_set_dict, page_set_path) 179 return page_set.PageSet.FromDict(page_set_dict, page_set_path)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698