| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 DEPS = [ | 5 DEPS = [ |
| 6 'step', | 6 'step', |
| 7 'time', | 7 'time', |
| 8 ] | 8 ] |
| 9 | 9 |
| 10 | 10 |
| 11 def RunSteps(api): | 11 def RunSteps(api): |
| 12 now = api.time.time() | 12 now = api.time.time() |
| 13 api.step('echo', ['echo', str(now)]) | 13 api.step('echo', ['echo', str(now)]) |
| 14 | 14 |
| 15 | 15 |
| 16 def GenTests(api): | 16 def GenTests(api): |
| 17 yield api.test('defaults') | 17 yield api.test('defaults') |
| 18 yield api.test('seed_and_step') + api.time.seed(123) + api.time.step(2) | 18 yield api.test('seed_and_step') + api.time.seed(123) + api.time.step(2) |
| OLD | NEW |