Home | History | Annotate | Download | only in targetprep

Lines Matching defs:EasyMock

40 import org.easymock.EasyMock;
62 mMockDevice = EasyMock.createMock(ITestDevice.class);
63 EasyMock.expect(mMockDevice.getSerialNumber()).andStubReturn(SERIAL);
64 EasyMock.expect(mMockDevice.getDeviceDescriptor()).andStubReturn(null);
65 mMockBuildInfo = EasyMock.createMock(IAppBuildInfo.class);
70 EasyMock.replay(mMockDevice, mMockBuildInfo);
74 EasyMock.verify(mMockDevice, mMockBuildInfo);
103 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files);
104 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true)))
128 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files);
129 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true)))
159 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files);
160 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true)))
194 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files);
225 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files);
226 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(21).times(2);
255 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files);
256 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(23);
258 EasyMock.expect(mMockDevice.installPackage(EasyMock.eq(tmpFile), EasyMock.eq(true)))
281 mMockDevice.executeShellCommand(EasyMock.eq(fakeCmd), EasyMock.anyObject(),
282 EasyMock.anyLong(), EasyMock.eq(TimeUnit.MILLISECONDS), EasyMock.eq(1));
283 EasyMock.expectLastCall();
299 EasyMock.expect(mMockDevice.getUninstallablePackageNames()).andReturn(res);
316 EasyMock.expect(mMockDevice.getUninstallablePackageNames()).andReturn(res).times(2);
317 EasyMock.expect(mMockDevice.uninstallPackage("com.fake1")).andReturn(null).times(2);
318 EasyMock.expect(mMockDevice.getUninstallablePackageNames()).andReturn(new HashSet<>());
334 EasyMock.expect(mMockDevice.getUninstallablePackageNames()).andReturn(res).times(4);
335 EasyMock.expect(mMockDevice.uninstallPackage("com.fake1")).andReturn("error").times(3);
363 EasyMock.expectLastCall();