Home
last modified time | relevance | path

Searched refs:mCommandOptions (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerFuncTest.java84 private CommandOptions mCommandOptions; field in CommandSchedulerFuncTest
114 mCommandOptions = new CommandOptions(); in setUp()
115 mCommandOptions.setLoopMode(true); in setUp()
116 mCommandOptions.setMinLoopTime(0); in setUp()
117 when(mSlowConfig.getCommandOptions()).thenReturn(mCommandOptions); in setUp()
120 when(mFastConfig.getCommandOptions()).thenReturn(mCommandOptions); in setUp()
414 mCommandOptions.setLoopMode(false); in testShutdown_notInterruptible()
542 mCommandOptions.setLoopMode(false); in testShutdown_notInterruptible_timeout()
616 mCommandOptions.setLoopMode(false); in testShutdown_invocation_timeout()
617 mCommandOptions.setInvocationTimeout(1000L); in testShutdown_invocation_timeout()
[all …]
DCommandSchedulerTest.java117 private CommandOptions mCommandOptions; field in CommandSchedulerTest
210 mCommandOptions = new CommandOptions(); in setUp()
254 mCommandOptions.setHelpMode(true); in testAddConfig_configHelp()
323 mCommandOptions.setDryRunMode(true); in testRun_dryRun()
336 mCommandOptions.setDryRunMode(false); in testRun_dryRun()
520 when(mockRescheduledConfig.getCommandOptions()).thenReturn(mCommandOptions);
710 when(mMockConfiguration.getCommandOptions()).thenReturn(mCommandOptions); in setCreateConfigExpectations()
1162 OptionSetter setter = new OptionSetter(mCommandOptions); in testAllocateDevices_replicated()
1164 mCommandOptions.setShardCount(3); in testAllocateDevices_replicated()
1539 OptionSetter setter = new OptionSetter(mCommandOptions); in testExecCommand_versioning()
/tools/tradefederation/core/javatests/com/android/tradefed/observatory/
DTestDiscoveryInvokerTest.java61 private ICommandOptions mCommandOptions; field in TestDiscoveryInvokerTest
72 mCommandOptions = Mockito.mock(ICommandOptions.class); in setUp()
73 when(mConfiguration.getCommandOptions()).thenReturn(mCommandOptions); in setUp()
75 when(mCommandOptions.getInvocationData()).thenReturn(new UniqueMultiMap<String, String>()); in setUp()