OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from telemetry import test |
| 6 from measurements import chrome_proxy |
| 7 |
| 8 |
| 9 class ChromeProxyLatency(test.Test): |
| 10 tag = 'latency' |
| 11 test = chrome_proxy.ChromeProxyLatency |
| 12 page_set = 'page_sets/chrome_proxy/top_20.json' |
| 13 options = {'pageset_repeat_iters': 2} |
| 14 |
| 15 def CustomizeBrowserOptions(self, options): |
| 16 options.AppendExtraBrowserArgs('--enable-spdy-proxy-auth') |
| 17 |
| 18 |
| 19 class ChromeProxyLatencyDirect(test.Test): |
| 20 tag = 'latency_direct' |
| 21 test = chrome_proxy.ChromeProxyLatency |
| 22 page_set = 'page_sets/chrome_proxy/top_20.json' |
| 23 options = {'pageset_repeat_iters': 2} |
| 24 |
| 25 |
| 26 class ChromeProxyLatencySynthetic(ChromeProxyLatency): |
| 27 page_set = 'page_sets/chrome_proxy/synthetic.json' |
| 28 |
| 29 |
| 30 class ChromeProxyLatencySyntheticDirect(ChromeProxyLatencyDirect): |
| 31 page_set = 'page_sets/chrome_proxy/synthetic.json' |
| 32 |
| 33 |
| 34 class ChromeProxyDataSaving(test.Test): |
| 35 tag = 'data_saving' |
| 36 test = chrome_proxy.ChromeProxyDataSaving |
| 37 page_set = 'page_sets/chrome_proxy/top_20.json' |
| 38 options = {'pageset_repeat_iters': 1} |
| 39 def CustomizeBrowserOptions(self, options): |
| 40 options.AppendExtraBrowserArgs('--enable-spdy-proxy-auth') |
| 41 |
| 42 |
| 43 class ChromeProxyDataSavingDirect(test.Test): |
| 44 tag = 'data_saving_direct' |
| 45 test = chrome_proxy.ChromeProxyDataSaving |
| 46 options = {'pageset_repeat_iters': 2} |
| 47 page_set = 'page_sets/chrome_proxy/top_20.json' |
| 48 |
| 49 |
| 50 class ChromeProxyDataSavingSynthetic(ChromeProxyDataSaving): |
| 51 page_set = 'page_sets/chrome_proxy/synthetic.json' |
| 52 |
| 53 |
| 54 class ChromeProxyDataSavingSyntheticDirect(ChromeProxyDataSavingDirect): |
| 55 page_set = 'page_sets/chrome_proxy/synthetic.json' |
| 56 |
| 57 |
| 58 class ChromeProxyHeaderValidation(test.Test): |
| 59 tag = 'header_validation' |
| 60 test = chrome_proxy.ChromeProxyHeaders |
| 61 page_set = 'page_sets/chrome_proxy/top_20.json' |
| 62 |
| 63 |
| 64 class ChromeProxyBypass(test.Test): |
| 65 tag = 'bypass' |
| 66 test = chrome_proxy.ChromeProxyBypass |
| 67 page_set = 'page_sets/chrome_proxy/bypass.json' |
| 68 |
| 69 |
| 70 class ChromeProxySafeBrowsing(test.Test): |
| 71 tag = 'safebrowsing' |
| 72 test = chrome_proxy.ChromeProxySafebrowsing |
| 73 page_set = 'page_sets/chrome_proxy/safebrowsing.json' |
| 74 |
| 75 |
| 76 class ChromeProxySmoke(test.Test): |
| 77 tag = 'smoke' |
| 78 test = chrome_proxy.ChromeProxySmoke |
| 79 page_set = 'page_sets/chrome_proxy/smoke.json' |
OLD | NEW |