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

Side by Side Diff: build/android/pylib/host_driven/test_info_collection.py

Issue 11649008: Reorganize Android's test scripts into packages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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 """Module containing information about the python-driven tests.""" 5 """Module containing information about the python-driven tests."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 9
10 import tests_annotations 10 import tests_annotations
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 Foo.testBar and Bar.testFoo. 'foo' would not match either. 128 Foo.testBar and Bar.testFoo. 'foo' would not match either.
129 129
130 Args: 130 Args:
131 test_info: TestInfo object representing the test 131 test_info: TestInfo object representing the test
132 name_filter: substring to check for in the qualified name of the test 132 name_filter: substring to check for in the qualified name of the test
133 133
134 Returns: 134 Returns:
135 True if no name filter supplied or it matches; False otherwise. 135 True if no name filter supplied or it matches; False otherwise.
136 """ 136 """
137 return not name_filter or name_filter in test_info.qualified_name 137 return not name_filter or name_filter in test_info.qualified_name
OLDNEW
« no previous file with comments | « build/android/pylib/host_driven/run_python_tests.py ('k') | build/android/pylib/host_driven/tests_annotations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698