OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import os |
| 6 |
| 7 from pylib.host_driven import python_test_base |
| 8 from pylib.host_driven import tests_annotations |
| 9 |
| 10 |
| 11 DUMMY_JAVA_TEST_PATH = os.path.abspath( |
| 12 os.path.join(os.path.dirname(__file__), os.pardir, 'javatests', 'src', |
| 13 'org', 'chromium', 'chrome', 'browser', 'test', |
| 14 'DummyTest.java')) |
| 15 |
| 16 |
| 17 class DummyTest(python_test_base.PythonTestBase): |
| 18 """Dummy host-driven test for testing the framework itself.""" |
| 19 |
| 20 @tests_annotations.Smoke |
| 21 def testPass(self): |
| 22 return self._RunJavaTests( |
| 23 DUMMY_JAVA_TEST_PATH, ['DummyTest.testPass']) |
| 24 |
OLD | NEW |