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

Unified Diff: chrome/test/functional/policy.py

Issue 10908145: Converted policy.PolicyTest.testDisableSPDY pyauto test to browser_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « chrome/browser/policy/policy_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/policy.py
diff --git a/chrome/test/functional/policy.py b/chrome/test/functional/policy.py
index 399168d23e6e72a855b23b02895a7c598fa6ead2..eaf36ff197123d9d9d9e976b237a421297d42619 100755
--- a/chrome/test/functional/policy.py
+++ b/chrome/test/functional/policy.py
@@ -157,24 +157,6 @@ class PolicyTest(policy_base.PolicyTestBase):
else:
raise NotImplementedError()
- def testDisableSPDY(self):
- """Verify that SPDY is disabled."""
- policy = {'DisableSpdy': True}
- self.SetUserPolicy(policy)
- self.NavigateToURL('chrome://net-internals/#spdy')
- self.assertEquals(0, self.FindInPage('SPDY Enabled: true')['match_count'])
- self.assertEquals(
- 1,
- self.FindInPage('SPDY Enabled: false', tab_index=0)['match_count'],
- msg='SPDY is not disabled.')
- policy = {'DisableSpdy': False}
- self.SetUserPolicy(policy)
- self.ReloadTab()
- self.assertEquals(
- 1,
- self.FindInPage('SPDY Enabled: true', tab_index=0)['match_count'],
- msg='SPDY is not disabled.')
-
def testDisabledPlugins(self):
"""Verify that disabled plugins cannot be enabled."""
policy = {'DisabledPlugins': ['Shockwave Flash']}
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698