OLD | NEW |
1 # Copyright 2013-2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2013-2015 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 .util import ModuleInjectionSite, static_call, static_wraps | 7 from .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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 def override_step_data(self, name, *data, **kwargs): | 455 def override_step_data(self, name, *data, **kwargs): |
456 """See _step_data()""" | 456 """See _step_data()""" |
457 kwargs['override'] = True | 457 kwargs['override'] = True |
458 return self._step_data(name, *data, **kwargs) | 458 return self._step_data(name, *data, **kwargs) |
459 override_step_data.__doc__ = _step_data.__doc__ | 459 override_step_data.__doc__ = _step_data.__doc__ |
460 | 460 |
461 def expect_exception(self, exc_type): #pylint: disable=R0201 | 461 def expect_exception(self, exc_type): #pylint: disable=R0201 |
462 ret = TestData(None) | 462 ret = TestData(None) |
463 ret.expect_exception(exc_type) | 463 ret.expect_exception(exc_type) |
464 return ret | 464 return ret |
| 465 |
| 466 def depend_on(self, recipe, value): |
| 467 pass |
| 468 |
| 469 def depend_on_recipe_test(self, recipe, recipe_test): |
| 470 pass |
OLD | NEW |