commit | 789a52b52b11ead36a19742d22517e4dc3fb25d5 | [log] [tgz] |
---|---|---|
author | Guang Zhu <guangzhu@google.com> | Fri Jan 17 14:27:01 2014 -0800 |
committer | Guang Zhu <guangzhu@google.com> | Fri Jan 17 14:28:44 2014 -0800 |
tree | bf3240b667a6d34f9238632b9f028b42b405e470 | |
parent | d5985b8cef931354249abc74e3443c978f89a2f3 [diff] [blame] |
rework battery level verbose logging also fixed mock expectations Change-Id: Iee1f486c6cf65032f092dbcdd314a48781f37184
diff --git a/tests/src/com/android/tradefed/invoker/TestInvocationTest.java b/tests/src/com/android/tradefed/invoker/TestInvocationTest.java index 6a4662a..90c860e 100644 --- a/tests/src/com/android/tradefed/invoker/TestInvocationTest.java +++ b/tests/src/com/android/tradefed/invoker/TestInvocationTest.java
@@ -118,6 +118,7 @@ mStubConfiguration.setLogOutput(mMockLogger); EasyMock.expect(mMockDevice.getSerialNumber()).andStubReturn(SERIAL); + EasyMock.expect(mMockDevice.getIDevice()).andStubReturn(null); mMockDevice.setRecovery(mMockRecovery); EasyMock.expect(mMockBuildInfo.getBuildId()).andStubReturn("1");