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

Side by Side Diff: build/android/pylib/gtest/single_test_runner.py

Issue 11363170: Add an accessibility audit test for WebUI pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reinstate copyright header Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | chrome/browser/ui/webui/web_ui_browsertest.cc » ('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 import glob 5 import glob
6 import logging 6 import logging
7 import os 7 import os
8 import sys 8 import sys
9 9
10 from pylib import android_commands 10 from pylib import android_commands
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 'chrome/test/data/top_sites/', 151 'chrome/test/data/top_sites/',
152 'chrome/test/data/web_app_info/', 152 'chrome/test/data/web_app_info/',
153 'chrome/test/data/web_database', 153 'chrome/test/data/web_database',
154 'chrome/test/data/webui/', 154 'chrome/test/data/webui/',
155 'chrome/test/data/zip', 155 'chrome/test/data/zip',
156 'chrome/third_party/mock4js/', 156 'chrome/third_party/mock4js/',
157 'content/browser/gpu/software_rendering_list.json', 157 'content/browser/gpu/software_rendering_list.json',
158 'net/data/cache_tests/insert_load1', 158 'net/data/cache_tests/insert_load1',
159 'net/data/cache_tests/dirty_entry5', 159 'net/data/cache_tests/dirty_entry5',
160 'net/data/ssl/certificates/', 160 'net/data/ssl/certificates/',
161 'third_party/accessibility-developer-tools/gen/axs_testing.js',
161 'ui/base/test/data/data_pack_unittest', 162 'ui/base/test/data/data_pack_unittest',
162 ] 163 ]
163 if self.test_package.test_suite_basename == 'unit_tests': 164 if self.test_package.test_suite_basename == 'unit_tests':
164 test_files += ['chrome/test/data/simple_open_search.xml'] 165 test_files += ['chrome/test/data/simple_open_search.xml']
165 # The following are spell check data. Now only list the data under 166 # The following are spell check data. Now only list the data under
166 # third_party/hunspell_dictionaries which are used by unit tests. 167 # third_party/hunspell_dictionaries which are used by unit tests.
167 old_cwd = os.getcwd() 168 old_cwd = os.getcwd()
168 os.chdir(constants.CHROME_DIR) 169 os.chdir(constants.CHROME_DIR)
169 test_files += glob.glob('third_party/hunspell_dictionaries/*.bdic') 170 test_files += glob.glob('third_party/hunspell_dictionaries/*.bdic')
170 os.chdir(old_cwd) 171 os.chdir(old_cwd)
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 def TearDown(self): 285 def TearDown(self):
285 """Cleans up the test enviroment for the test suite.""" 286 """Cleans up the test enviroment for the test suite."""
286 self.tool.CleanUpEnvironment() 287 self.tool.CleanUpEnvironment()
287 if self.test_package.cleanup_test_files: 288 if self.test_package.cleanup_test_files:
288 self.adb.RemovePushedFiles() 289 self.adb.RemovePushedFiles()
289 if self.dump_debug_info: 290 if self.dump_debug_info:
290 self.dump_debug_info.StopRecordingLog() 291 self.dump_debug_info.StopRecordingLog()
291 if self.dump_debug_info: 292 if self.dump_debug_info:
292 self.dump_debug_info.ArchiveNewCrashFiles() 293 self.dump_debug_info.ArchiveNewCrashFiles()
293 super(SingleTestRunner, self).TearDown() 294 super(SingleTestRunner, self).TearDown()
OLDNEW
« no previous file with comments | « DEPS ('k') | chrome/browser/ui/webui/web_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698