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

Unified Diff: build/android/pylib/device/device_utils_test.py

Issue 1127133004: Remove ICS support from build/android/pylib/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 years, 7 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/device/device_utils.py ('k') | build/android/pylib/device_settings.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/device/device_utils_test.py
diff --git a/build/android/pylib/device/device_utils_test.py b/build/android/pylib/device/device_utils_test.py
index e5e39360366ca58f89629852473bcb6bba65df3d..23a1a325e7680dda7e12d2fa8a3c8e6a084b8d3b 100755
--- a/build/android/pylib/device/device_utils_test.py
+++ b/build/android/pylib/device/device_utils_test.py
@@ -731,24 +731,6 @@ class DeviceUtilsRunPipedShellCommandTest(DeviceUtilsTest):
self.assertIs(None, ec.exception.status)
-class DeviceUtilsGetDevicePieWrapper(DeviceUtilsTest):
-
- def testGetDevicePieWrapper_jb(self):
- with self.assertCall(
- self.call.device.build_version_sdk(),
- constants.ANDROID_SDK_VERSION_CODES.JELLY_BEAN):
- self.assertEqual('', self.device.GetDevicePieWrapper())
-
- def testGetDevicePieWrapper_ics(self):
- with self.assertCalls(
- (self.call.device.build_version_sdk(),
- constants.ANDROID_SDK_VERSION_CODES.ICE_CREAM_SANDWICH),
- (mock.call.pylib.constants.GetOutDirectory(), '/foo/bar'),
- (mock.call.os.path.exists(mock.ANY), True),
- (self.call.adb.Push(mock.ANY, mock.ANY), '')):
- self.assertNotEqual('', self.device.GetDevicePieWrapper())
-
-
@mock.patch('time.sleep', mock.Mock())
class DeviceUtilsKillAllTest(DeviceUtilsTest):
« no previous file with comments | « build/android/pylib/device/device_utils.py ('k') | build/android/pylib/device_settings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698