OLD | NEW |
---|---|
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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 import os | 5 import os |
6 | 6 |
7 from pylib.host_driven import python_test_base | 7 from pylib.host_driven import test_case |
8 from pylib.host_driven import tests_annotations | 8 from pylib.host_driven import tests_annotations |
9 | 9 |
10 | 10 |
11 DUMMY_JAVA_TEST_PATH = os.path.abspath( | 11 DUMMY_JAVA_TEST_PATH = os.path.abspath( |
12 os.path.join(os.path.dirname(__file__), os.pardir, 'javatests', 'src', | 12 os.path.join(os.path.dirname(__file__), os.pardir, 'javatests', 'src', |
13 'org', 'chromium', 'chrome', 'browser', 'test', | 13 'org', 'chromium', 'chrome', 'browser', 'test', |
14 'DummyTest.java')) | 14 'DummyTest.java')) |
15 | 15 |
16 | 16 |
17 class DummyTest(python_test_base.PythonTestBase): | 17 class DummyTest(test_case.HostDrivenTestCase): |
18 """Dummy host-driven test for testing the framework itself.""" | 18 """Dummy host-driven test for testing the framework itself.""" |
frankf
2013/08/02 18:18:39
So you still need a downstream patch because of th
gkanwar1
2013/08/02 19:56:21
Good point. I also need to update Popular Urls tes
| |
19 | 19 |
20 @tests_annotations.Smoke | 20 @tests_annotations.Smoke |
21 def testPass(self): | 21 def testPass(self): |
22 return self._RunJavaTests( | 22 return self._RunJavaTests( |
23 DUMMY_JAVA_TEST_PATH, ['DummyTest.testPass']) | 23 DUMMY_JAVA_TEST_PATH, ['DummyTest.testPass']) |
24 | |
OLD | NEW |