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

Side by Side Diff: chrome/test/install_test/theme_updater.py

Issue 14882007: Android: support glob-style gtest filters with content browser tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use DIR_SOURCE_ROOT. Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/install_test/run_install_tests.py ('k') | chrome/test/pylib/common/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 """Update tests for themes.""" 5 """Update tests for themes."""
6 import os 6 import os
7 import sys
8
9 _DIRECTORY = os.path.dirname(os.path.abspath(__file__))
10 sys.path.append(os.path.join(_DIRECTORY, os.path.pardir, os.path.pardir,
11 os.path.pardir, 'build', 'util', 'lib'))
7 12
8 from common import util 13 from common import util
9 14
10 import chrome_options 15 import chrome_options
11 import install_test 16 import install_test
12 17
13 18
14 class ThemeUpdater(install_test.InstallTest): 19 class ThemeUpdater(install_test.InstallTest):
15 """Theme update tests.""" 20 """Theme update tests."""
16 _DIRECTORY = os.path.dirname(os.path.abspath(__file__)) 21 _DIRECTORY = os.path.dirname(os.path.abspath(__file__))
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 79
75 # Relaunch without extension in incognito. 80 # Relaunch without extension in incognito.
76 self._driver.quit() 81 self._driver.quit()
77 self._StartChromeProfile(incognito=True) 82 self._StartChromeProfile(incognito=True)
78 self._CheckThemeApplied() 83 self._CheckThemeApplied()
79 84
80 # Update and relaunch without extension in incognito. 85 # Update and relaunch without extension in incognito.
81 self.Install(self.GetUpdateBuilds()[1]) 86 self.Install(self.GetUpdateBuilds()[1])
82 self._StartChromeProfile(incognito=True) 87 self._StartChromeProfile(incognito=True)
83 self._CheckThemeApplied() 88 self._CheckThemeApplied()
OLDNEW
« no previous file with comments | « chrome/test/install_test/run_install_tests.py ('k') | chrome/test/pylib/common/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698