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

Side by Side Diff: client/site_tests/factory_RebootStub/factory_RebootStub.py

Issue 2836043: Relocate library files for wider access and re-use; also associated cleanup. (Closed) Base URL: ssh://gitrw.chromium.org/autotest.git
Patch Set: patch typo Created 10 years, 5 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
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS 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 5
6 # DESCRIPTION : 6 # DESCRIPTION :
7 # 7 #
8 # This is an example factory test that does not really do anything -- 8 # This is a stub factory test, run once reboot tests are completed, to
9 # it displays a message in the center of the testing area, as 9 # allow the autotest logs to record success status, and thereby for
10 # communicated by arguments to run_once(). This test makes use of the 10 # the UI to display that status.
11 # factory_test library to display its UI, and to monitor keyboard 11
12 # events for test-switching triggers. This test can be terminated by
13 # typing SHIFT-Q.
14 12
15 from autotest_lib.client.bin import test 13 from autotest_lib.client.bin import test
16 from autotest_lib.client.common_lib import error 14 from autotest_lib.client.bin import factory
17 from autotest_lib.client.common_lib import factory_test
18 15
19 16
20 class factory_RebootStub(test.test): 17 class factory_RebootStub(test.test):
21 version = 1 18 version = 1
22 19
23 def run_once(self): 20 def run_once(self):
24 factory_test.XXX_log('factory_RebootStub') 21 factory.log('%s run_once' % self.__class__)
OLDNEW
« no previous file with comments | « client/site_tests/factory_Keyboard/factory_Keyboard.py ('k') | client/site_tests/factory_ScriptWrapper/dummy.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698