OLD | NEW |
1 | 1 |
2 DEPS = [ | 2 DEPS = [ |
3 'amp', | 3 'amp', |
4 'json', | 4 'json', |
5 'path', | 5 'path', |
6 'properties', | 6 'properties', |
7 ] | 7 ] |
8 | 8 |
9 BUILDERS = { | 9 BUILDERS = { |
10 'normal_example': { | 10 'normal_example': { |
11 'device_name': ['SampleDevice'], | 11 'device_name': ['SampleDevice'], |
12 'device_os': ['SampleDeviceOS'], | 12 'device_os': ['SampleDeviceOS'], |
13 'api_address': '127.0.0.1', | 13 'api_address': '127.0.0.1', |
14 'api_port': '80', | 14 'api_port': '80', |
15 'api_protocol': 'http', | 15 'api_protocol': 'http', |
16 }, | 16 }, |
17 'no_device_name': { | 17 'no_device_name': { |
18 'device_os': ['SampleDeviceOS'], | 18 'device_os': ['SampleDeviceOS'], |
19 'api_address': '127.0.0.1', | 19 'api_address': '127.0.0.1', |
20 'api_port': '80', | 20 'api_port': '80', |
21 'api_protocol': 'http', | 21 'api_protocol': 'http', |
22 }, | 22 }, |
23 'no_device_os': { | 23 'no_device_os': { |
24 'device_name': ['SampleDevice'], | 24 'device_name': ['SampleDevice'], |
25 'api_address': '127.0.0.1', | 25 'api_address': '127.0.0.1', |
26 'api_port': '80', | 26 'api_port': '80', |
27 'api_protocol': 'http', | 27 'api_protocol': 'http', |
28 }, | 28 }, |
29 'no_api_address': { | |
30 'device_name': ['SampleDevice'], | |
31 'device_os': ['SampleDeviceOS'], | |
32 'api_port': '80', | |
33 'api_protocol': 'http', | |
34 }, | |
35 'no_api_port': { | |
36 'device_name': ['SampleDevice'], | |
37 'device_os': ['SampleDeviceOS'], | |
38 'api_address': '127.0.0.1', | |
39 'api_protocol': 'http', | |
40 }, | |
41 'no_api_protocol': { | |
42 'device_name': ['SampleDevice'], | |
43 'device_os': ['SampleDeviceOS'], | |
44 'api_address': '127.0.0.1', | |
45 'api_port': '80', | |
46 }, | |
47 'split_example': { | 29 'split_example': { |
48 'device_name': ['SampleDevice'], | 30 'device_name': ['SampleDevice'], |
49 'device_os': ['SampleDeviceOS'], | 31 'device_os': ['SampleDeviceOS'], |
50 'api_address': '127.0.0.1', | 32 'api_address': '127.0.0.1', |
51 'api_port': '80', | 33 'api_port': '80', |
52 'api_protocol': 'http', | 34 'api_protocol': 'http', |
53 }, | 35 }, |
54 'multiple_devices': { | 36 'multiple_devices': { |
55 'device_name': ['SampleDevice0', 'SampleDevice1'], | 37 'device_name': ['SampleDevice0', 'SampleDevice1'], |
56 'device_os': ['SampleDeviceOS'], | 38 'device_os': ['SampleDeviceOS'], |
(...skipping 16 matching lines...) Expand all Loading... |
73 'api_port': '80', | 55 'api_port': '80', |
74 'api_protocol': 'http', | 56 'api_protocol': 'http', |
75 }, | 57 }, |
76 'minimum_device_os': { | 58 'minimum_device_os': { |
77 'device_minimum_os': 'MinimumSampleDeviceOS', | 59 'device_minimum_os': 'MinimumSampleDeviceOS', |
78 'device_name': ['SampleDevice'], | 60 'device_name': ['SampleDevice'], |
79 'api_address': '127.0.0.1', | 61 'api_address': '127.0.0.1', |
80 'api_port': '80', | 62 'api_port': '80', |
81 'api_protocol': 'http', | 63 'api_protocol': 'http', |
82 }, | 64 }, |
83 'device_os_and_minimum_device_os': { | |
84 'device_minimum_os': 'MinimumSampleDeviceOS', | |
85 'device_name': ['SampleDevice'], | |
86 'device_os': ['SampleDeviceOS'], | |
87 'api_address': '127.0.0.1', | |
88 'api_port': '80', | |
89 'api_protocol': 'http', | |
90 }, | |
91 'underspecified_with_timeout': { | 65 'underspecified_with_timeout': { |
92 'device_minimum_os': 'MinimumSampleDeviceOS', | 66 'device_minimum_os': 'MinimumSampleDeviceOS', |
93 'device_name': ['SampleDevice0', 'SampleDevice1'], | 67 'device_name': ['SampleDevice0', 'SampleDevice1'], |
94 'device_timeout': 60, | 68 'device_timeout': 60, |
95 'api_address': '127.0.0.1', | 69 'api_address': '127.0.0.1', |
96 'api_port': '80', | 70 'api_port': '80', |
97 'api_protocol': 'http', | 71 'api_protocol': 'http', |
98 }, | 72 }, |
99 'network_config_set': { | 73 'network_config_set': { |
100 'device_name': ['SampleDevice'], | 74 'device_name': ['SampleDevice'], |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 api.test('bad_device_data_for_collect') + | 181 api.test('bad_device_data_for_collect') + |
208 api.properties.generic(buildername='split_example') + | 182 api.properties.generic(buildername='split_example') + |
209 api.override_step_data('[collect] load example_gtest_suite data', | 183 api.override_step_data('[collect] load example_gtest_suite data', |
210 api.json.output({}))) | 184 api.json.output({}))) |
211 | 185 |
212 yield ( | 186 yield ( |
213 api.test('bad_test_id_data_for_upload') + | 187 api.test('bad_test_id_data_for_upload') + |
214 api.properties.generic(buildername='split_example') + | 188 api.properties.generic(buildername='split_example') + |
215 api.override_step_data('[upload logcat] load example_gtest_suite data', | 189 api.override_step_data('[upload logcat] load example_gtest_suite data', |
216 api.json.output({}))) | 190 api.json.output({}))) |
OLD | NEW |