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

Side by Side Diff: tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py

Issue 1151753003: Integration test for Chrome-Proxy: pass-through directive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@loFiSnackbar
Patch Set: Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from common.chrome_proxy_benchmark import ChromeProxyBenchmark 5 from common.chrome_proxy_benchmark import ChromeProxyBenchmark
6 from integration_tests import chrome_proxy_pagesets as pagesets 6 from integration_tests import chrome_proxy_pagesets as pagesets
7 from integration_tests import chrome_proxy_measurements as measurements 7 from integration_tests import chrome_proxy_measurements as measurements
8 from telemetry import benchmark 8 from telemetry import benchmark
9 from telemetry.core.backends.chrome import android_browser_finder 9 from telemetry.core.backends.chrome import android_browser_finder
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class ChromeProxyExpDirective(ChromeProxyBenchmark): 47 class ChromeProxyExpDirective(ChromeProxyBenchmark):
48 tag = 'exp_directive' 48 tag = 'exp_directive'
49 test = measurements.ChromeProxyExpDirective 49 test = measurements.ChromeProxyExpDirective
50 page_set = pagesets.ExpDirectivePageSet 50 page_set = pagesets.ExpDirectivePageSet
51 51
52 @classmethod 52 @classmethod
53 def Name(cls): 53 def Name(cls):
54 return 'chrome_proxy_benchmark.exp_directive.exp_directive' 54 return 'chrome_proxy_benchmark.exp_directive.exp_directive'
55 55
56 56
57 class ChromeProxyPassThrough(ChromeProxyBenchmark):
58 tag = 'pass_through'
59 test = measurements.ChromeProxyPassThrough
60 page_set = pagesets.PassThroughPageSet
61
62 @classmethod
63 def Name(cls):
64 return 'chrome_proxy_benchmark.pass_through.pass_through'
65
66
57 class ChromeProxyBypass(ChromeProxyBenchmark): 67 class ChromeProxyBypass(ChromeProxyBenchmark):
58 tag = 'bypass' 68 tag = 'bypass'
59 test = measurements.ChromeProxyBypass 69 test = measurements.ChromeProxyBypass
60 page_set = pagesets.BypassPageSet 70 page_set = pagesets.BypassPageSet
61 71
62 @classmethod 72 @classmethod
63 def Name(cls): 73 def Name(cls):
64 return 'chrome_proxy_benchmark.bypass.bypass' 74 return 'chrome_proxy_benchmark.bypass.bypass'
65 75
66 76
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 159
150 160
151 class ChromeProxySmoke(ChromeProxyBenchmark): 161 class ChromeProxySmoke(ChromeProxyBenchmark):
152 tag = 'smoke' 162 tag = 'smoke'
153 test = measurements.ChromeProxySmoke 163 test = measurements.ChromeProxySmoke
154 page_set = pagesets.SmokePageSet 164 page_set = pagesets.SmokePageSet
155 165
156 @classmethod 166 @classmethod
157 def Name(cls): 167 def Name(cls):
158 return 'chrome_proxy_benchmark.smoke.smoke' 168 return 'chrome_proxy_benchmark.smoke.smoke'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698