summaryrefslogtreecommitdiffstats
path: root/chrome/test/functional/plugins_check.py
diff options
context:
space:
mode:
authorsunandt@google.com <sunandt@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-11 23:04:56 +0000
committersunandt@google.com <sunandt@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-11 23:04:56 +0000
commitf144a29d78ae9dbdf82b1f1496a2b47af2d589a3 (patch)
treed07cc34b7d3656b509f5735653c7f7e3ffa9eba2 /chrome/test/functional/plugins_check.py
parentdd2d0bf1abd68671d3d259a7f0f5af1867d490f5 (diff)
downloadchromium_src-f144a29d78ae9dbdf82b1f1496a2b47af2d589a3.zip
chromium_src-f144a29d78ae9dbdf82b1f1496a2b47af2d589a3.tar.gz
chromium_src-f144a29d78ae9dbdf82b1f1496a2b47af2d589a3.tar.bz2
Adding a check for brand so that the test runs only for Google Chrome builds.
BUG=79107 TEST=plugins_check.PluginsCheck.testPluginsStates Review URL: http://codereview.chromium.org/6813094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81172 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/functional/plugins_check.py')
-rw-r--r--chrome/test/functional/plugins_check.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/test/functional/plugins_check.py b/chrome/test/functional/plugins_check.py
index 7ac92e8..9478960 100644
--- a/chrome/test/functional/plugins_check.py
+++ b/chrome/test/functional/plugins_check.py
@@ -30,6 +30,8 @@ class PluginsCheck(pyauto.PyUITest):
def testPluginsStates(self):
"""Verify plugins' versions and states."""
+ if self.GetBrowserInfo()['properties']['branding'] != 'Google Chrome':
+ return
if self.IsWin():
plugins_list = self._ReadPluginsList('win_plugins_list.txt')
elif self.IsMac():