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

Side by Side Diff: build/android/pylib/host_driven/tests_annotations.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 """Annotations for python-driven tests.""" 5 """Annotations for python-driven tests."""
6 6
7 import os 7 import os
8 8
9 9
10 class AnnotatedFunctions(object): 10 class AnnotatedFunctions(object):
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 def DisabledTest(function): 80 def DisabledTest(function):
81 return AnnotatedFunctions._AddFunction('DisabledTest', function) 81 return AnnotatedFunctions._AddFunction('DisabledTest', function)
82 82
83 83
84 def Feature(feature_list): 84 def Feature(feature_list):
85 def _AddFeatures(function): 85 def _AddFeatures(function):
86 for feature in feature_list: 86 for feature in feature_list:
87 AnnotatedFunctions._AddFunction('Feature' + feature, function) 87 AnnotatedFunctions._AddFunction('Feature' + feature, function)
88 return AnnotatedFunctions._AddFunction('Feature', function) 88 return AnnotatedFunctions._AddFunction('Feature', function)
89 return _AddFeatures 89 return _AddFeatures
OLDNEW
« no previous file with comments | « build/android/pylib/host_driven/test_info_collection.py ('k') | build/android/pylib/instrumentation/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698