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 …]
487 IDevice mockIDevice = EasyMock.createNiceMock(IDevice.class); in testFreeDevice_noop() local488 EasyMock.expect(testDevice.getIDevice()).andReturn(mockIDevice); in testFreeDevice_noop()489 EasyMock.expect(mockIDevice.isEmulator()).andReturn(Boolean.FALSE); in testFreeDevice_noop()491 replayMocks(testDevice, mockIDevice); in testFreeDevice_noop()494 verifyMocks(testDevice, mockIDevice); in testFreeDevice_noop()
261 IDevice mockIDevice = new StubDevice("serial"); in testBatteryLowLevel() local262 EasyMock.expect(mockDevice.getIDevice()).andReturn(mockIDevice).anyTimes(); in testBatteryLowLevel()303 IDevice mockIDevice = new StubDevice("serial") { in testBatteryLowLevel_interruptible() local312 EasyMock.expect(mockDevice.getIDevice()).andReturn(mockIDevice).anyTimes(); in testBatteryLowLevel_interruptible()
340 IDevice mockIDevice = EasyMock.createMock(IDevice.class); in testExecCommand() local345 EasyMock.expect(mockDevice.getIDevice()).andStubReturn(mockIDevice); in testExecCommand()1128 IDevice mockIDevice = EasyMock.createMock(IDevice.class); in testExecCommand_versioning() local1133 EasyMock.expect(mockDevice.getIDevice()).andStubReturn(mockIDevice); in testExecCommand_versioning()
67 IDevice mockIDevice = EasyMock.createMock(IDevice.class); in setUp() local71 EasyMock.expect(mMockTestDevice.getIDevice()).andStubReturn(mockIDevice); in setUp()