| 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 """Host-driven java_tests which exercise dummy functionality. |
| 6 |
| 7 This test class is only here to ensure that the test framework for host driven |
| 8 tests work. |
| 9 """ |
| 6 | 10 |
| 7 from pylib.host_driven import test_case | 11 from pylib.host_driven import test_case |
| 8 from pylib.host_driven import tests_annotations | 12 from pylib.host_driven import tests_annotations |
| 9 | 13 |
| 10 | 14 |
| 11 class DummyTest(test_case.HostDrivenTestCase): | 15 class DummyTest(test_case.HostDrivenTestCase): |
| 12 """Dummy host-driven test for testing the framework itself.""" | 16 """Dummy host-driven test for testing the framework itself.""" |
| 13 | 17 |
| 14 @tests_annotations.Smoke | 18 @tests_annotations.Smoke |
| 15 def testPass(self): | 19 def testPass(self): |
| 16 return self._RunJavaTestFilters(['DummyTest.testPass']) | 20 return self._RunJavaTestFilters(['DummyTest.testPass']) |
| OLD | NEW |