Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerFuncTest.java81 @Mock IConfigurationFactory mMockConfigFactory; field in CommandSchedulerFuncTest
158 return mMockConfigFactory; in setUp()
195 when(mMockConfigFactory.createConfigurationFromArgs( in testRun_scheduling()
200 when(mMockConfigFactory.createConfigurationFromArgs( in testRun_scheduling()
307 when(mMockConfigFactory.createConfigurationFromArgs( in testBatteryLowLevel()
347 when(mMockConfigFactory.createConfigurationFromArgs( in testBatteryLowLevel_interruptible()
375 when(mMockConfigFactory.createConfigurationFromArgs( in testShutdown_interruptible()
433 return mMockConfigFactory; in testShutdown_notInterruptible()
453 when(mMockConfigFactory.createConfigurationFromArgs( in testShutdown_notInterruptible()
561 return mMockConfigFactory; in testShutdown_notInterruptible_timeout()
[all …]
DCommandSchedulerTest.java115 @Mock IConfigurationFactory mMockConfigFactory; field in CommandSchedulerTest
141 return mMockConfigFactory; in getConfigFactory()
260 verify(mMockConfigFactory) in testAddConfig_configHelp()
263 verify(mMockConfigFactory, times(1)) in testAddConfig_configHelp()
289 verify(mMockConfigFactory, times(1)) in testRun_oneConfig()
313 verify(mMockConfigFactory, times(1)) in testRemoveAllCommands()
351 verify(mMockConfigFactory, times(1)) in testRun_dryRun()
434 verify(mMockConfigFactory, times(1))
469 verify(mMockConfigFactory, times(2))
506 verify(mMockConfigFactory, times(2))
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/observatory/
DTestDiscoveryExecutorTest.java64 private ConfigurationFactory mMockConfigFactory; field in TestDiscoveryExecutorTest
70 mMockConfigFactory = Mockito.spy((ConfigurationFactory) ConfigurationFactory.getInstance()); in setUp()
76 return mMockConfigFactory; in setUp()
85 .when(mMockConfigFactory) in setUp()
266 return mMockConfigFactory; in testDiscoverDependencies_fallback()
323 return mMockConfigFactory; in testDiscoverDependencies_multiDevices()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DTestInvocationTest.java177 @Mock IConfigurationFactory mMockConfigFactory; field in TestInvocationTest