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

Side by Side Diff: client/site_tests/suite_Factory/control

Issue 2877021: factory external display test (Closed) Base URL: ssh://git@chromiumos-git/autotest.git
Patch Set: uncomment repeat_forever Created 10 years, 4 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
« no previous file with comments | « client/site_tests/factory_ExtDisplay/factory_ExtDisplay.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2 # 2 #
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 AUTHOR = "Chrome OS Team" 7 AUTHOR = "Chrome OS Team"
8 NAME = "Factory" 8 NAME = "Factory"
9 TIME = "LONG" 9 TIME = "LONG"
10 TEST_CATEGORY = "Functional" 10 TEST_CATEGORY = "Functional"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 formal_name='factory_Leds', 118 formal_name='factory_Leds',
119 trigger='l', 119 trigger='l',
120 dargs={'led_ctl_path': 120 dargs={'led_ctl_path':
121 '/usr/local/autotest/site_tests/factory_Leds/src/ec_ctl'}), 121 '/usr/local/autotest/site_tests/factory_Leds/src/ec_ctl'}),
122 factory.TestData( 122 factory.TestData(
123 label_en='display', 123 label_en='display',
124 label_zw='顯示', 124 label_zw='顯示',
125 formal_name='factory_Display', 125 formal_name='factory_Display',
126 trigger='m'), 126 trigger='m'),
127 factory.TestData( 127 factory.TestData(
128 label_en='ExtDisplay',
129 label_zw='外接顯示',
130 formal_name='factory_ExtDisplay',
131 trigger='n',
132 dargs={'has_audio':True,
133 'sample':'deps/factory/fhorn.wav'}),
134 factory.TestData(
128 label_en='camera', 135 label_en='camera',
129 label_zw='相機', 136 label_zw='相機',
130 formal_name='factory_Camera', 137 formal_name='factory_Camera',
131 trigger='c'), 138 trigger='c'),
132 factory.TestData( 139 factory.TestData(
133 label_en='audio', 140 label_en='audio',
134 label_zw='聲音', 141 label_zw='聲音',
135 formal_name='factory_Dummy', 142 formal_name='factory_Dummy',
136 trigger='a', 143 trigger='a',
137 dargs={'msg':'audio test, one day...'}), 144 dargs={'msg':'audio test, one day...'}),
138 factory.TestData( 145 factory.TestData(
139 label_en='hdmi',
140 label_zw='',
141 formal_name='factory_Dummy',
142 trigger='h',
143 dargs={'msg':'hdmi test, one day...'}),
144 factory.TestData(
145 label_en='usb', 146 label_en='usb',
146 formal_name='factory_ExternalStorage', 147 formal_name='factory_ExternalStorage',
147 trigger='u', 148 trigger='u',
148 dargs={'media':'USB'}), 149 dargs={'media':'USB'}),
149 factory.TestData( 150 factory.TestData(
150 label_en='sd', 151 label_en='sd',
151 formal_name='factory_ExternalStorage', 152 formal_name='factory_ExternalStorage',
152 trigger='d', 153 trigger='d',
153 dargs={'media':'SD'}), 154 dargs={'media':'SD'}),
154 factory.TestData( 155 factory.TestData(
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 result = eval(file.readline()) 316 result = eval(file.readline())
316 317
317 if result is not None: 318 if result is not None:
318 ui.send_cmd_switch_to(result) 319 ui.send_cmd_switch_to(result)
319 else: 320 else:
320 ui.send_cmd_next_test() 321 ui.send_cmd_next_test()
321 322
322 test, test_count = ui.recv_target_test_update(test_map) 323 test, test_count = ui.recv_target_test_update(test_map)
323 324
324 factory.log('factory testing completed') 325 factory.log('factory testing completed')
OLDNEW
« no previous file with comments | « client/site_tests/factory_ExtDisplay/factory_ExtDisplay.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698