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

Unified Diff: client/site_tests/factory_RebootStub/factory_RebootStub.py

Issue 2857012: Batched update of factory tests. (Closed) Base URL: ssh://gitrw.chromium.org/autotest.git
Patch Set: finished comment Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: client/site_tests/factory_RebootStub/factory_RebootStub.py
diff --git a/client/site_tests/factory_RebootStub/factory_RebootStub.py b/client/site_tests/factory_RebootStub/factory_RebootStub.py
new file mode 100644
index 0000000000000000000000000000000000000000..41f5fd3a20f0685e30a39d7823ca643eb4e03696
--- /dev/null
+++ b/client/site_tests/factory_RebootStub/factory_RebootStub.py
@@ -0,0 +1,24 @@
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+# DESCRIPTION :
+#
+# This is an example factory test that does not really do anything --
+# it displays a message in the center of the testing area, as
+# communicated by arguments to run_once(). This test makes use of the
+# factory_test library to display its UI, and to monitor keyboard
+# events for test-switching triggers. This test can be terminated by
+# typing SHIFT-Q.
+
+from autotest_lib.client.bin import test
+from autotest_lib.client.common_lib import error
+from autotest_lib.client.common_lib import factory_test
+
+
+class factory_RebootStub(test.test):
+ version = 1
+
+ def run_once(self):
+ factory_test.XXX_log('factory_RebootStub')

Powered by Google App Engine
This is Rietveld 408576698