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

Unified Diff: build/android/pylib/base/base_test_runner.py

Issue 689293002: Add option to push files to device using isolate for instrumentation tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
Index: build/android/pylib/base/base_test_runner.py
diff --git a/build/android/pylib/base/base_test_runner.py b/build/android/pylib/base/base_test_runner.py
index cfd0c6c75a3c107099be5741edf8ea510427868f..41667551c9449a6241e32638c1fd5cfb3ef8fef7 100644
--- a/build/android/pylib/base/base_test_runner.py
+++ b/build/android/pylib/base/base_test_runner.py
@@ -72,26 +72,9 @@ class BaseTestRunner(object):
"""Installs the test package once before all tests are run."""
pass
- def PushDataDeps(self):
- """Push all data deps to device once before all tests are run."""
- pass
-
def SetUp(self):
"""Run once before all tests are run."""
self.InstallTestPackage()
- push_size_before = self.device.old_interface.GetPushSizeInfo()
- if self._push_deps:
- logging.warning('Pushing data files to device.')
- self.PushDataDeps()
- push_size_after = self.device.old_interface.GetPushSizeInfo()
- logging.warning(
- 'Total data: %0.3fMB' %
- ((push_size_after[0] - push_size_before[0]) / float(2 ** 20)))
- logging.warning(
- 'Total data transferred: %0.3fMB' %
- ((push_size_after[1] - push_size_before[1]) / float(2 ** 20)))
- else:
- logging.warning('Skipping pushing data to device.')
def TearDown(self):
"""Run once after all tests are run."""

Powered by Google App Engine
This is Rietveld 408576698