Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 183 'content/test/data/nosniff-test.html.mock-http-headers', | 183 'content/test/data/nosniff-test.html.mock-http-headers', |
| 184 'content/test/data/accessibility', | 184 'content/test/data/accessibility', |
| 185 'content/test/data/dynamic1.html', | 185 'content/test/data/dynamic1.html', |
| 186 'content/test/data/browser_plugin_focus_child.html', | 186 'content/test/data/browser_plugin_focus_child.html', |
| 187 'content/test/data/rwhv_compositing_animation.html', | 187 'content/test/data/rwhv_compositing_animation.html', |
| 188 'content/test/data/click-noreferrer-links.html', | 188 'content/test/data/click-noreferrer-links.html', |
| 189 'content/test/data/browser_plugin_focus.html', | 189 'content/test/data/browser_plugin_focus.html', |
| 190 'content/test/data/media', | 190 'content/test/data/media', |
| 191 'third_party/webgl_conformance', | 191 'third_party/webgl_conformance', |
| 192 ] | 192 ] |
| 193 elif test_suite_basename == 'modules_unittests': | |
|
frankf
2013/07/01 18:14:47
We're moving to using isolate files instead of har
frankf
2013/07/01 18:32:38
So the goal is to run these tests on Android build
hellner1
2013/07/02 14:49:25
.isolate-file in http://webrtc-codereview.appspot.
| |
| 194 return [ | |
| 195 'third_party/resources', | |
| 196 'third_party/data', | |
|
frankf
2013/07/01 18:32:38
I don't see these thirdparty directories in my chr
hellner1
2013/07/02 14:49:25
third_party/resources (214.8 MB) are loaded from a
frankf
2013/07/02 17:20:24
200MB is a large amount of data to push to the dev
| |
| 197 ] | |
| 193 return [] | 198 return [] |
| 194 | 199 |
| 195 | 200 |
| 196 def _GetOptionalDataFilesForTestSuite(test_suite_basename): | 201 def _GetOptionalDataFilesForTestSuite(test_suite_basename): |
| 197 """Returns a list of data files/dirs that are pushed if present. | 202 """Returns a list of data files/dirs that are pushed if present. |
| 198 | 203 |
| 199 Args: | 204 Args: |
| 200 test_suite_basename: The test suite basename for which to return file paths. | 205 test_suite_basename: The test suite basename for which to return file paths. |
| 201 | 206 |
| 202 Returns: | 207 Returns: |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 367 self.LaunchChromeTestServerSpawner() | 372 self.LaunchChromeTestServerSpawner() |
| 368 self.tool.SetupEnvironment() | 373 self.tool.SetupEnvironment() |
| 369 | 374 |
| 370 #override | 375 #override |
| 371 def TearDown(self): | 376 def TearDown(self): |
| 372 """Cleans up the test enviroment for the test suite.""" | 377 """Cleans up the test enviroment for the test suite.""" |
| 373 self.tool.CleanUpEnvironment() | 378 self.tool.CleanUpEnvironment() |
| 374 if self._cleanup_test_files: | 379 if self._cleanup_test_files: |
| 375 self.adb.RemovePushedFiles() | 380 self.adb.RemovePushedFiles() |
| 376 super(TestRunner, self).TearDown() | 381 super(TestRunner, self).TearDown() |
| OLD | NEW |