Home
last modified time | relevance | path

Searched refs:mMockConfigFactory (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java73 private IConfigurationFactory mMockConfigFactory; field in CommandSchedulerFuncTest
102 mMockConfigFactory = EasyMock.createMock(IConfigurationFactory.class); in setUp()
149 return mMockConfigFactory; in setUp()
187 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(fastConfigArgs), in testRun_scheduling()
191 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testRun_scheduling()
195 EasyMock.replay(mFastConfig, mSlowConfig, mMockConfigFactory); in testRun_scheduling()
292 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testBatteryLowLevel()
296 EasyMock.replay(mFastConfig, mSlowConfig, mMockConfigFactory); in testBatteryLowLevel()
334 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testBatteryLowLevel_interruptible()
338 EasyMock.replay(mFastConfig, mSlowConfig, mMockConfigFactory); in testBatteryLowLevel_interruptible()
[all …]
DCommandSchedulerTest.java94 private IConfigurationFactory mMockConfigFactory; field in CommandSchedulerTest
118 return mMockConfigFactory; in getConfigFactory()
161 mMockConfigFactory = EasyMock.createMock(IConfigurationFactory.class); in setUp()
198 mMockConfigFactory, mMockConfiguration, mMockInvocation, mMockKeyStoreClient); in replayMocks()
209 mMockConfigFactory, mMockConfiguration, mMockInvocation, mMockKeyStoreClient); in verifyMocks()
238 mMockConfigFactory.printHelpForConfig(EasyMock.aryEq(args), EasyMock.eq(true), in testAddConfig_configHelp()
570 EasyMock.verify(mMockConfigFactory, mMockConfiguration, mMockInvocation); in testRun_rescheduled()
721 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(args), in setCreateConfigExpectations()
883 EasyMock.verify(mMockConfigFactory, mMockConfiguration, mMockInvocation); in testDeviceReleased_unavailable()
903 EasyMock.verify(mMockConfigFactory, mMockConfiguration, mMockInvocation); in testDeviceReleased_unavailableMulti()
[all …]
DCommandSchedulerStressApp.java40 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()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java164 private IConfigurationFactory mMockConfigFactory; field in TestInvocationTest
204 mMockConfigFactory = EasyMock.createMock(IConfigurationFactory.class); in setUp()
1603 mMockLogSaver, mMockDevice, mMockConfigFactory); in replayMocks()