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

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/client_type.py

Issue 820093002: Integration tests for desktop platforms and safebrowsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test names. Add @classmethod. Created 5 years, 11 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
Index: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/client_type.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/client_type.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/client_type.py
index 10dae71830441c4038707b2c46742ce26e632647..83bc903651b9d04f07fbe60153bcabef5d2a1cc7 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/client_type.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/client_type.py
@@ -54,3 +54,21 @@ class ClientTypePageSet(page_set_module.PageSet):
url='http://check.googlezip.net/chrome-proxy-header/c=IOS',
page_set=self,
bypass_for_client_type='ios'))
+
+ # Page that should cause a bypass for Linux clients.
+ self.AddUserStory(ClientTypePage(
+ url='http://check.googlezip.net/chrome-proxy-header/c=LINUX',
+ page_set=self,
+ bypass_for_client_type='linux'))
+
+ # Page that should cause a bypass for Windows clients.
+ self.AddUserStory(ClientTypePage(
+ url='http://check.googlezip.net/chrome-proxy-header/c=WIN',
+ page_set=self,
+ bypass_for_client_type='win'))
+
+ # Page that should cause a bypass for ChromeOS clients.
+ self.AddUserStory(ClientTypePage(
+ url='http://check.googlezip.net/chrome-proxy-header/c=CHROMEOS',
+ page_set=self,
+ bypass_for_client_type='chromeos'))

Powered by Google App Engine
This is Rietveld 408576698