Searched refs:mMockContext (Results 1 – 3 of 3) sorted by relevance
53 private IInvocationContext mMockContext; field in VtsHalTraceCollectorTest61 mMockContext = EasyMock.createNiceMock(IInvocationContext.class); in setUp()68 mCollect.init(mMockContext, mMockListener); in setUp()80 EasyMock.expect(mMockContext.getDevices()).andReturn(mDevices); in testOnTestRunEnd()81 EasyMock.expect(mMockContext.getBuildInfos()).andReturn(mBuildInfos); in testOnTestRunEnd()99 EasyMock.replay(mMockContext); in testOnTestRunEnd()106 EasyMock.verify(mMockContext); in testOnTestRunEnd()
51 @Mock IInvocationContext mMockContext; field in VtsCoverageCollectorTest71 mCollector.init(mMockContext, mMockListener); in setUp()75 doReturn(mDevices).when(mMockContext).getDevices(); in setUp()76 doReturn(mBuildInfos).when(mMockContext).getBuildInfos(); in setUp()
67 private IInvocationContext mMockContext; field in RetryFactoryTestTest109 mMockContext = new InvocationContext(); in setUp()110 mMockContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()111 mMockContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockInfo); in setUp()112 mTestInfo = TestInformation.newBuilder().setInvocationContext(mMockContext).build(); in setUp()191 mFactory.setInvocationContext(mMockContext); in testValidation()