Index: chrome/android/host_driven_tests/DummyTest.py |
diff --git a/chrome/android/host_driven_tests/DummyTest.py b/chrome/android/host_driven_tests/DummyTest.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..accbdb918c49338ab7425b6e9ecf7c0013df0f36 |
--- /dev/null |
+++ b/chrome/android/host_driven_tests/DummyTest.py |
@@ -0,0 +1,24 @@ |
+# Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import os |
+ |
+from pylib.host_driven import python_test_base |
+from pylib.host_driven import tests_annotations |
+ |
+ |
+DUMMY_JAVA_TEST_PATH = os.path.abspath( |
+ os.path.join(os.path.dirname(__file__), os.pardir, 'javatests', 'src', |
+ 'org', 'chromium', 'chrome', 'browser', 'test', |
+ 'DummyTest.java')) |
+ |
+ |
+class DummyTest(python_test_base.PythonTestBase): |
+ """Dummy host-driven test for testing the framework itself.""" |
+ |
+ @tests_annotations.Smoke |
+ def testPass(self): |
+ return self._RunJavaTests( |
+ DUMMY_JAVA_TEST_PATH, ['DummyTest.testPass']) |
+ |