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

Unified Diff: build/android/pylib/run_java_tests.py

Issue 11780003: [Android] Revert 175082 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 12 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/pylib/python_test_base.py ('k') | build/android/pylib/run_python_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/run_java_tests.py
===================================================================
--- build/android/pylib/run_java_tests.py (revision 175217)
+++ build/android/pylib/run_java_tests.py (working copy)
@@ -13,6 +13,7 @@
import time
import android_commands
+import apk_info
from base_test_runner import BaseTestRunner
from base_test_sharder import BaseTestSharder, SetTestsContainer
import cmd_helper
@@ -23,8 +24,6 @@
from perf_tests_helper import PrintPerfResult
import sharded_tests_queue
from test_result import SingleTestResult, TestResults
-from utils import apk_and_jar_info
-from utils import jar_info
import valgrind_tools
_PERF_TEST_ANNOTATION = 'PerfTest'
@@ -114,8 +113,8 @@
self, device, options.tool, shard_index, options.build_type)
if not apks:
- apks = [apk_and_jar_info.ApkAndJarInfo(options.test_apk_path,
- options.test_apk_jar_path)]
+ apks = [apk_info.ApkInfo(options.test_apk_path,
+ options.test_apk_jar_path)]
self.build_type = options.build_type
self.install_apk = options.install_apk
@@ -541,7 +540,7 @@
for test_method in test_apk.GetTestMethods():
annotations = frozenset(test_apk.GetTestAnnotations(test_method))
if (annotations.isdisjoint(test_size_annotations) and
- not jar_info.JarInfo.IsPythonDrivenTest(test_method)):
+ not apk_info.ApkInfo.IsPythonDrivenTest(test_method)):
tests_missing_annotations.append(test_method)
return sorted(tests_missing_annotations)
@@ -557,7 +556,7 @@
available_tests += tests_missing_annotations
else:
available_tests = [m for m in test_apk.GetTestMethods()
- if not jar_info.JarInfo.IsPythonDrivenTest(m)]
+ if not apk_info.ApkInfo.IsPythonDrivenTest(m)]
coverage = os.environ.get('EMMA_INSTRUMENT') == 'true'
tests = []
« no previous file with comments | « build/android/pylib/python_test_base.py ('k') | build/android/pylib/run_python_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698