Searched refs:mockIDevice (Results 1 – 5 of 5) sorted by relevance
68 IDevice mockIDevice = EasyMock.createNiceMock(IDevice.class); in setNumDevicesInternal() local69 EasyMock.expect(mockIDevice.getSerialNumber()).andReturn("serial" + i).anyTimes(); in setNumDevicesInternal()70 EasyMock.expect(mockDevice.getIDevice()).andReturn(mockIDevice).anyTimes(); in setNumDevicesInternal()75 EasyMock.replay(mockDevice, mockIDevice); in setNumDevicesInternal()87 IDevice mockIDevice = EasyMock.createNiceMock(idevicetype); in setNumDevicesCustomRealNoRecovery() local88 EasyMock.expect(mockIDevice.getSerialNumber()).andReturn("serial" + i).anyTimes(); in setNumDevicesCustomRealNoRecovery()91 EasyMock.replay(mockIDevice); in setNumDevicesCustomRealNoRecovery()92 ITestDevice mockDevice = new TestDevice(mockIDevice, stateMonitor, allocationMonitor) { in setNumDevicesCustomRealNoRecovery()110 IDevice mockIDevice = EasyMock.createNiceMock(idevicetype); in setNumDevicesCustom() local111 EasyMock.expect(mockIDevice.getSerialNumber()).andReturn("serial" + i).anyTimes(); in setNumDevicesCustom()[all …]
561 IDevice mockIDevice = EasyMock.createNiceMock(IDevice.class); in testFreeDevice_noop() local562 EasyMock.expect(testDevice.getIDevice()).andReturn(mockIDevice); in testFreeDevice_noop()563 EasyMock.expect(mockIDevice.isEmulator()).andReturn(Boolean.FALSE); in testFreeDevice_noop()565 replayMocks(testDevice, mockIDevice); in testFreeDevice_noop()568 verifyMocks(testDevice, mockIDevice); in testFreeDevice_noop()
274 IDevice mockIDevice = new StubDevice("serial"); in testBatteryLowLevel() local275 EasyMock.expect(mockDevice.getIDevice()).andReturn(mockIDevice).anyTimes(); in testBatteryLowLevel()316 IDevice mockIDevice = new StubDevice("serial"); in testBatteryLowLevel_interruptible() local318 EasyMock.expect(mockDevice.getIDevice()).andReturn(mockIDevice).anyTimes(); in testBatteryLowLevel_interruptible()
358 IDevice mockIDevice = EasyMock.createMock(IDevice.class); in testExecCommand() local363 EasyMock.expect(mockDevice.getIDevice()).andStubReturn(mockIDevice); in testExecCommand()1152 IDevice mockIDevice = EasyMock.createMock(IDevice.class); in testExecCommand_versioning() local1157 EasyMock.expect(mockDevice.getIDevice()).andStubReturn(mockIDevice); in testExecCommand_versioning()
72 IDevice mockIDevice = EasyMock.createMock(IDevice.class); in setUp() local76 EasyMock.expect(mMockTestDevice.getIDevice()).andStubReturn(mockIDevice); in setUp()