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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/test_runner.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index accbdb918c49338ab7425b6e9ecf7c0013df0f36..c73599da21130ef0b9cf0b7d4dbed34b0c22981d 100644
--- a/chrome/android/host_driven_tests/DummyTest.py
+++ b/chrome/android/host_driven_tests/DummyTest.py
@@ -4,21 +4,14 @@
import os
-from pylib.host_driven import python_test_base
+from pylib.host_driven import test_case
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):
+class DummyTest(test_case.HostDrivenTestCase):
"""Dummy host-driven test for testing the framework itself."""
@tests_annotations.Smoke
def testPass(self):
return self._RunJavaTests(
- DUMMY_JAVA_TEST_PATH, ['DummyTest.testPass'])
-
+ 'org.chromium.chrome.browser.test', ['DummyTest.testPass'])
« 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