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

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

Issue 13557004: Android: Also push media files for content_browsertests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | no next file » | 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 8
9 from pylib import android_commands 9 from pylib import android_commands
10 from pylib import constants 10 from pylib import constants
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 if test_suite_basename == 'content_browsertests': 205 if test_suite_basename == 'content_browsertests':
206 # See http://crbug.com/105104 for why these are needed. 206 # See http://crbug.com/105104 for why these are needed.
207 return [ 207 return [
208 'third_party/WebKit/LayoutTests/fast/events', 208 'third_party/WebKit/LayoutTests/fast/events',
209 'third_party/WebKit/LayoutTests/fast/files', 209 'third_party/WebKit/LayoutTests/fast/files',
210 'third_party/WebKit/LayoutTests/fast/filesystem', 210 'third_party/WebKit/LayoutTests/fast/filesystem',
211 'third_party/WebKit/LayoutTests/fast/js/resources', 211 'third_party/WebKit/LayoutTests/fast/js/resources',
212 'third_party/WebKit/LayoutTests/fast/workers', 212 'third_party/WebKit/LayoutTests/fast/workers',
213 'third_party/WebKit/LayoutTests/http/tests', 213 'third_party/WebKit/LayoutTests/http/tests',
214 'third_party/WebKit/LayoutTests/storage/indexeddb', 214 'third_party/WebKit/LayoutTests/storage/indexeddb',
215 'third_party/WebKit/LayoutTests/media',
215 'content/test/data/layout_tests/LayoutTests/fast/events', 216 'content/test/data/layout_tests/LayoutTests/fast/events',
216 'content/test/data/layout_tests/LayoutTests/fast/files', 217 'content/test/data/layout_tests/LayoutTests/fast/files',
217 'content/test/data/layout_tests/LayoutTests/fast/filesystem', 218 'content/test/data/layout_tests/LayoutTests/fast/filesystem',
218 'content/test/data/layout_tests/LayoutTests/fast/js/resources', 219 'content/test/data/layout_tests/LayoutTests/fast/js/resources',
219 'content/test/data/layout_tests/LayoutTests/fast/workers', 220 'content/test/data/layout_tests/LayoutTests/fast/workers',
220 'content/test/data/layout_tests/LayoutTests/http/tests', 221 'content/test/data/layout_tests/LayoutTests/http/tests',
221 'content/test/data/layout_tests/LayoutTests/storage/indexeddb', 222 'content/test/data/layout_tests/LayoutTests/storage/indexeddb',
223 'content/test/data/layout_tests/LayoutTests/media',
222 ] 224 ]
223 return [] 225 return []
224 226
225 227
226 def _TestSuiteRequiresMockTestServer(test_suite_basename): 228 def _TestSuiteRequiresMockTestServer(test_suite_basename):
227 """Returns True if the test suite requires mock test server.""" 229 """Returns True if the test suite requires mock test server."""
228 tests_require_net_test_server = ['unit_tests', 'net_unittests', 230 tests_require_net_test_server = ['unit_tests', 'net_unittests',
229 'content_unittests', 231 'content_unittests',
230 'content_browsertests'] 232 'content_browsertests']
231 return (test_suite_basename in 233 return (test_suite_basename in
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 self.LaunchChromeTestServerSpawner() 378 self.LaunchChromeTestServerSpawner()
377 self.tool.SetupEnvironment() 379 self.tool.SetupEnvironment()
378 380
379 #override 381 #override
380 def TearDown(self): 382 def TearDown(self):
381 """Cleans up the test enviroment for the test suite.""" 383 """Cleans up the test enviroment for the test suite."""
382 self.tool.CleanUpEnvironment() 384 self.tool.CleanUpEnvironment()
383 if self._cleanup_test_files: 385 if self._cleanup_test_files:
384 self.adb.RemovePushedFiles() 386 self.adb.RemovePushedFiles()
385 super(TestRunner, self).TearDown() 387 super(TestRunner, self).TearDown()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698