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

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

Issue 12207171: [Android] Add a dummy host-driven test for ChromiumTestShell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698