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

Unified Diff: build/android/pylib/gtest/test_package.py

Issue 1222313015: Manual partial update from from https://crrev.com/337502 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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/gtest/test_options.py ('k') | build/android/pylib/gtest/test_package_apk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/test_package.py
diff --git a/build/android/pylib/gtest/test_package.py b/build/android/pylib/gtest/test_package.py
index dbd47bfe19cca4068168bf363d13e5d1e82544aa..4042a98a1320ef0e58b12cbfba279f8559b70afc 100644
--- a/build/android/pylib/gtest/test_package.py
+++ b/build/android/pylib/gtest/test_package.py
@@ -22,7 +22,7 @@ class TestPackage(object):
Args:
device: Instance of DeviceUtils.
"""
- raise NotImplementedError('Method must be overriden.')
+ raise NotImplementedError('Method must be overridden.')
def CreateCommandLineFileOnDevice(self, device, test_filter, test_arguments):
"""Creates a test runner script and pushes to the device.
@@ -32,7 +32,7 @@ class TestPackage(object):
test_filter: A test_filter flag.
test_arguments: Additional arguments to pass to the test binary.
"""
- raise NotImplementedError('Method must be overriden.')
+ raise NotImplementedError('Method must be overridden.')
def GetAllTests(self, device):
"""Returns a list of all tests available in the test suite.
@@ -40,7 +40,7 @@ class TestPackage(object):
Args:
device: Instance of DeviceUtils.
"""
- raise NotImplementedError('Method must be overriden.')
+ raise NotImplementedError('Method must be overridden.')
def GetGTestReturnCode(self, _device):
return None
@@ -54,7 +54,7 @@ class TestPackage(object):
Returns:
An instance of pexpect spawn class.
"""
- raise NotImplementedError('Method must be overriden.')
+ raise NotImplementedError('Method must be overridden.')
def Install(self, device):
"""Install the test package to the device.
@@ -62,5 +62,15 @@ class TestPackage(object):
Args:
device: Instance of DeviceUtils.
"""
- raise NotImplementedError('Method must be overriden.')
+ raise NotImplementedError('Method must be overridden.')
+ def PullAppFiles(self, device, files, directory):
+ """Pull application data from the device.
+
+ Args:
+ device: Instance of DeviceUtils.
+ files: A list of paths relative to the application data directory to
+ retrieve from the device.
+ directory: The host directory to which files should be pulled.
+ """
+ raise NotImplementedError('Method must be overridden.')
« no previous file with comments | « build/android/pylib/gtest/test_options.py ('k') | build/android/pylib/gtest/test_package_apk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698