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

Side by Side Diff: chrome/android/host_driven_tests/DummyTest.py

Issue 19537004: [Android] Converts host driven tests to common test_dispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sharding_refactoring
Patch Set: Converts --official-build into a boolean flag Created 7 years, 4 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 unified diff | Download patch
« no previous file with comments | « build/android/test_runner.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 class DummyTest(test_case.HostDrivenTestCase):
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.""" 12 """Dummy host-driven test for testing the framework itself."""
19 13
20 @tests_annotations.Smoke 14 @tests_annotations.Smoke
21 def testPass(self): 15 def testPass(self):
22 return self._RunJavaTests( 16 return self._RunJavaTests(
23 DUMMY_JAVA_TEST_PATH, ['DummyTest.testPass']) 17 'org.chromium.chrome.browser.test', ['DummyTest.testPass'])
24
OLDNEW
« no previous file with comments | « build/android/test_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698