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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 'chrome/test/data/extensions/json_schema_test.js', | 59 'chrome/test/data/extensions/json_schema_test.js', |
60 'chrome/test/data/History/', | 60 'chrome/test/data/History/', |
61 'chrome/test/data/json_schema_validator/', | 61 'chrome/test/data/json_schema_validator/', |
62 'chrome/test/data/pref_service/', | 62 'chrome/test/data/pref_service/', |
63 'chrome/test/data/simple_open_search.xml', | 63 'chrome/test/data/simple_open_search.xml', |
64 'chrome/test/data/top_sites/', | 64 'chrome/test/data/top_sites/', |
65 'chrome/test/data/web_app_info/', | 65 'chrome/test/data/web_app_info/', |
66 'chrome/test/data/web_database', | 66 'chrome/test/data/web_database', |
67 'chrome/test/data/webui/', | 67 'chrome/test/data/webui/', |
68 'chrome/third_party/mock4js/', | 68 'chrome/third_party/mock4js/', |
| 69 'components/test/data/', |
69 'net/data/ssl/certificates', | 70 'net/data/ssl/certificates', |
70 'third_party/accessibility-developer-tools/gen/axs_testing.js', | 71 'third_party/accessibility-developer-tools/gen/axs_testing.js', |
71 'third_party/zlib/google/test/data', | 72 'third_party/zlib/google/test/data', |
72 ] | 73 ] |
73 # The following are spell check data. Now only list the data under | 74 # The following are spell check data. Now only list the data under |
74 # third_party/hunspell_dictionaries which are used by unit tests. | 75 # third_party/hunspell_dictionaries which are used by unit tests. |
75 old_cwd = os.getcwd() | 76 old_cwd = os.getcwd() |
76 os.chdir(constants.DIR_SOURCE_ROOT) | 77 os.chdir(constants.DIR_SOURCE_ROOT) |
77 test_files += glob.glob('third_party/hunspell_dictionaries/*.bdic') | 78 test_files += glob.glob('third_party/hunspell_dictionaries/*.bdic') |
78 os.chdir(old_cwd) | 79 os.chdir(old_cwd) |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 self.LaunchChromeTestServerSpawner() | 345 self.LaunchChromeTestServerSpawner() |
345 self.tool.SetupEnvironment() | 346 self.tool.SetupEnvironment() |
346 | 347 |
347 #override | 348 #override |
348 def TearDown(self): | 349 def TearDown(self): |
349 """Cleans up the test enviroment for the test suite.""" | 350 """Cleans up the test enviroment for the test suite.""" |
350 self.tool.CleanUpEnvironment() | 351 self.tool.CleanUpEnvironment() |
351 if self._cleanup_test_files: | 352 if self._cleanup_test_files: |
352 self.adb.RemovePushedFiles() | 353 self.adb.RemovePushedFiles() |
353 super(TestRunner, self).TearDown() | 354 super(TestRunner, self).TearDown() |
OLD | NEW |