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

Side by Side Diff: build/android/pylib/gtest/test_package.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix appurify_sanitized import-errors Created 5 years, 3 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
« no previous file with comments | « build/android/pylib/gtest/setup.py ('k') | build/android/pylib/gtest/test_package_apk.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Base class representing GTest test packages.""" 5 """Base class representing GTest test packages."""
6 # pylint: disable=R0201 6 # pylint: disable=R0201
7 7
8 8
9 class TestPackage(object): 9 class TestPackage(object):
10 10
11 """A helper base class for both APK and stand-alone executables. 11 """A helper base class for both APK and stand-alone executables.
12 12
13 Args: 13 Args:
14 suite_name: Name of the test suite (e.g. base_unittests). 14 suite_name: Name of the test suite (e.g. base_unittests).
15 """ 15 """
16 def __init__(self, suite_name): 16 def __init__(self, suite_name):
17 self.suite_name = suite_name 17 self.suite_name = suite_name
18 self.tool = None
18 19
19 def ClearApplicationState(self, device): 20 def ClearApplicationState(self, device):
20 """Clears the application state. 21 """Clears the application state.
21 22
22 Args: 23 Args:
23 device: Instance of DeviceUtils. 24 device: Instance of DeviceUtils.
24 """ 25 """
25 raise NotImplementedError('Method must be overridden.') 26 raise NotImplementedError('Method must be overridden.')
26 27
27 def CreateCommandLineFileOnDevice(self, device, test_filter, test_arguments): 28 def CreateCommandLineFileOnDevice(self, device, test_filter, test_arguments):
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 def PullAppFiles(self, device, files, directory): 68 def PullAppFiles(self, device, files, directory):
68 """Pull application data from the device. 69 """Pull application data from the device.
69 70
70 Args: 71 Args:
71 device: Instance of DeviceUtils. 72 device: Instance of DeviceUtils.
72 files: A list of paths relative to the application data directory to 73 files: A list of paths relative to the application data directory to
73 retrieve from the device. 74 retrieve from the device.
74 directory: The host directory to which files should be pulled. 75 directory: The host directory to which files should be pulled.
75 """ 76 """
76 raise NotImplementedError('Method must be overridden.') 77 raise NotImplementedError('Method must be overridden.')
OLDNEW
« no previous file with comments | « build/android/pylib/gtest/setup.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