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

Side by Side Diff: third_party/recipe_engine/recipe_test_api.py

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Copyright notices Created 5 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 collections 5 import collections
6 6
7 from .recipe_util import ModuleInjectionSite, static_call, static_wraps 7 from .recipe_util import ModuleInjectionSite, static_call, static_wraps
8 8
9 def combineify(name, dest, a, b): 9 def combineify(name, dest, a, b):
10 """ 10 """
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 def override_step_data(self, name, *data, **kwargs): 453 def override_step_data(self, name, *data, **kwargs):
454 """See _step_data()""" 454 """See _step_data()"""
455 kwargs['override'] = True 455 kwargs['override'] = True
456 return self._step_data(name, *data, **kwargs) 456 return self._step_data(name, *data, **kwargs)
457 override_step_data.__doc__ = _step_data.__doc__ 457 override_step_data.__doc__ = _step_data.__doc__
458 458
459 def expect_exception(self, exc_type): #pylint: disable=R0201 459 def expect_exception(self, exc_type): #pylint: disable=R0201
460 ret = TestData(None) 460 ret = TestData(None)
461 ret.expect_exception(exc_type) 461 ret.expect_exception(exc_type)
462 return ret 462 return ret
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698