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

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

Issue 2917006: factory_Audio test created (Closed) Base URL: ssh://git@chromiumos-git/autotest.git
Patch Set: Add Chinese from Hung-Te 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_Audio/factory_Audio.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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 formal_name='factory_Display', 109 formal_name='factory_Display',
110 trigger='m'), 110 trigger='m'),
111 factory.TestData( 111 factory.TestData(
112 label_en='camera', 112 label_en='camera',
113 label_zw='相機', 113 label_zw='相機',
114 formal_name='factory_Camera', 114 formal_name='factory_Camera',
115 trigger='c'), 115 trigger='c'),
116 factory.TestData( 116 factory.TestData(
117 label_en='audio', 117 label_en='audio',
118 label_zw='聲音', 118 label_zw='聲音',
119 formal_name='factory_Dummy', 119 formal_name='factory_Audio',
120 trigger='a', 120 trigger='a',
121 dargs={'msg':'audio test, one day...'}), 121 dargs={'sample':'deps/factory/fhorn.wav'}),
122 factory.TestData( 122 factory.TestData(
123 label_en='hdmi', 123 label_en='hdmi',
124 label_zw='', 124 label_zw='',
125 formal_name='factory_Dummy', 125 formal_name='factory_Dummy',
126 trigger='h', 126 trigger='h',
127 dargs={'msg':'hdmi test, one day...'}), 127 dargs={'msg':'hdmi test, one day...'}),
128 factory.TestData( 128 factory.TestData(
129 label_en='usb', 129 label_en='usb',
130 formal_name='factory_ExternalStorage', 130 formal_name='factory_ExternalStorage',
131 trigger='u', 131 trigger='u',
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 result = eval(file.readline()) 258 result = eval(file.readline())
259 259
260 if result is not None: 260 if result is not None:
261 ui.send_cmd_switch_to(result) 261 ui.send_cmd_switch_to(result)
262 else: 262 else:
263 ui.send_cmd_next_test() 263 ui.send_cmd_next_test()
264 264
265 test, test_count = ui.recv_target_test_update(test_map) 265 test, test_count = ui.recv_target_test_update(test_map)
266 266
267 factory.log('factory testing completed') 267 factory.log('factory testing completed')
OLDNEW
« no previous file with comments | « client/site_tests/factory_Audio/factory_Audio.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698