OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 from infra.libs.infra_types import thaw | |
6 | |
7 DEPS = ['properties', 'step'] | |
8 | |
9 def RunSteps(api): | |
10 api.step('echo', ['echo'] + [repr(api.properties.thaw()['test_prop'])]) | |
11 api.step('echo all', ['echo'] + [repr(api.properties.thaw())]) | |
12 | |
13 def GenTests(api): | |
14 yield api.test('basic') + api.properties( | |
15 test_prop={'key': 'value'}) | |
16 yield api.test('lists') + api.properties( | |
17 test_prop={'key': ['value', ['value']]}) | |
18 yield api.test('dicts') + api.properties( | |
19 test_prop={'key': {'key': 'value', 'other_key': {'key': 'value'}}}) | |
20 | |
OLD | NEW |