Searched refs:mMockConfigFactory (Results 1 – 4 of 4) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerStressApp.java | 40 private IConfigurationFactory mMockConfigFactory; field in CommandSchedulerStressApp 46 mMockConfigFactory = EasyMock.createMock(IConfigurationFactory.class); in CommandSchedulerStressApp() 63 return mMockConfigFactory; in CommandSchedulerStressApp() 81 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(configArgs))) in testRunLoad() 84 EasyMock.replay(mMockConfig, mMockConfigFactory); in testRunLoad()
|
D | CommandSchedulerFuncTest.java | 71 private IConfigurationFactory mMockConfigFactory; field in CommandSchedulerFuncTest 91 mMockConfigFactory = EasyMock.createMock(IConfigurationFactory.class); in setUp() 136 return mMockConfigFactory; in setUp() 174 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(fastConfigArgs), in testRun_scheduling() 178 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testRun_scheduling() 182 EasyMock.replay(mFastConfig, mSlowConfig, mMockConfigFactory); in testRun_scheduling() 279 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testBatteryLowLevel() 283 EasyMock.replay(mFastConfig, mSlowConfig, mMockConfigFactory); in testBatteryLowLevel() 328 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testBatteryLowLevel_interruptible() 332 EasyMock.replay(mFastConfig, mSlowConfig, mMockConfigFactory); in testBatteryLowLevel_interruptible() [all …]
|
D | CommandSchedulerTest.java | 86 private IConfigurationFactory mMockConfigFactory; field in CommandSchedulerTest 109 return mMockConfigFactory; in getConfigFactory() 152 mMockConfigFactory = EasyMock.createMock(IConfigurationFactory.class); in setUp() 176 EasyMock.replay(mMockConfigFactory, mMockConfiguration, mMockInvocation); in replayMocks() 186 EasyMock.verify(mMockConfigFactory, mMockConfiguration, mMockInvocation); in verifyMocks() 217 mMockConfigFactory.printHelpForConfig(EasyMock.aryEq(args), EasyMock.eq(true), in testAddConfig_configHelp() 479 mMockConfigFactory, mMockConfiguration, mMockInvocation, mockGc, mockWtf); in testRun_fatalError() 581 EasyMock.verify(mMockConfigFactory, mMockConfiguration, mMockInvocation); in testRun_rescheduled() 731 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(args), in setCreateConfigExpectations() 786 EasyMock.verify(mMockConfigFactory, mMockConfiguration, mMockInvocation); in testDeviceReleased_unavailable() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 145 private IConfigurationFactory mMockConfigFactory; field in TestInvocationTest 168 mMockConfigFactory = EasyMock.createMock(IConfigurationFactory.class); in setUp() 1519 mMockLogSaver, mMockDevice, mMockConfigFactory); in replayMocks()
|