Home
last modified time | relevance | path

Searched refs:createConfigurationFromArgs (Results 1 – 25 of 29) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java253 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {name}); in assertConfigValid()
276 mFactory.createConfigurationFromArgs(new String[] {"non existent"}); in testCreateConfigurationFromArgs_missing()
291 assertNotNull(mFactory.createConfigurationFromArgs(new String[] {"mandatory-config"})); in testCreateConfigurationFromArgs_mandatory()
300 mFactory.createConfigurationFromArgs(new String[] {}); in testCreateConfigurationFromArgs_empty()
312 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {TEST_CONFIG, in testCreateConfigurationFromArgs()
324 mFactory.createConfigurationFromArgs(new String[] {TEST_CONFIG, "--log-level", in testCreateConfigurationFromArgs_unprocessedArgs()
393 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_includeConfig()
410 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_defaultTemplateInclude_default()
428 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault()
447 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_defaultTemplateInclude_alternate()
[all …]
DConfigurationDescriptorTest.java54 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {"test-config"}); in testRejectCommandLine()
60 mFactory.createConfigurationFromArgs( in testRejectCommandLine()
74 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {"test-config"}); in testSerialization()
DSandboxConfigurationFactoryTest.java117 mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs()
148 mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_fail()
170 IConfiguration config = mFactory.createConfigurationFromArgs(args, DumpCmd.RUN_CONFIG); in testCreateConfiguration_runConfig()
DRetryConfigurationFactoryTest.java67 mFactory.createConfigurationFromArgs( in testLoad_compatible()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecutionTest.java94 verify(mMockFactory, times(0)).createConfigurationFromArgs(Mockito.any()); in testDefaultSkipSetup_tearDown()
108 .createConfigurationFromArgs(new String[] {"parent-config"}); in testParentConfig()
114 verify(mMockFactory, times(1)).createConfigurationFromArgs(Mockito.any()); in testParentConfig()
130 .createConfigurationFromArgs(new String[] {"parent-config"}); in testParentConfig_errorStage()
140 verify(mMockFactory, times(1)).createConfigurationFromArgs(Mockito.any()); in testParentConfig_errorStage()
154 .createConfigurationFromArgs(new String[] {"parent-config"}); in testParentConfig_exception()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DRetryReschedulerTest.java112 EasyMock.expect(mMockFactory.createConfigurationFromArgs(EasyMock.anyObject())) in testReschedule_onlyPassTests()
153 EasyMock.expect(mMockFactory.createConfigurationFromArgs(EasyMock.anyObject())) in testReschedule_carryShardCount()
196 EasyMock.expect(mMockFactory.createConfigurationFromArgs(EasyMock.anyObject())) in testReschedule_someFailedTests()
235 EasyMock.expect(mMockFactory.createConfigurationFromArgs(EasyMock.anyObject())) in testReschedule_someAssumptionFailures()
274 EasyMock.expect(mMockFactory.createConfigurationFromArgs(EasyMock.anyObject())) in testReschedule_mixedFailedAssumptionFailures()
319 EasyMock.expect(mMockFactory.createConfigurationFromArgs(EasyMock.anyObject())) in testReschedule_excludeFilters()
362 EasyMock.expect(mMockFactory.createConfigurationFromArgs(EasyMock.anyObject())) in testReschedule_excludeFilters_abi()
400 EasyMock.expect(mMockFactory.createConfigurationFromArgs(EasyMock.anyObject())) in testReschedule_parameterized_nofail()
449 EasyMock.expect(mMockFactory.createConfigurationFromArgs(EasyMock.anyObject())) in testReschedule_parameterized_failed()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java187 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(fastConfigArgs), in testRun_scheduling()
191 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testRun_scheduling()
292 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testBatteryLowLevel()
334 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testBatteryLowLevel_interruptible()
361 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testShutdown_interruptible()
437 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testShutdown_notInterruptible()
552 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testShutdown_notInterruptible_timeout()
616 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(slowConfigArgs), in testShutdown_invocation_timeout()
DCommandSchedulerStressApp.java81 mMockConfigFactory.createConfigurationFromArgs(EasyMock.aryEq(configArgs))) in testRunLoad()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIConfigurationFactory.java36 public IConfiguration createConfigurationFromArgs(String[] args) throws ConfigurationException; in createConfigurationFromArgs() method
54 public IConfiguration createConfigurationFromArgs(String[] args, List<String> unconsumedArgs) in createConfigurationFromArgs() method
75 public IConfiguration createConfigurationFromArgs(String[] args, List<String> unconsumedArgs, in createConfigurationFromArgs() method
DSandboxConfigurationFactory.java93 public IConfiguration createConfigurationFromArgs(String[] arrayArgs, DumpCmd command) in createConfigurationFromArgs() method in SandboxConfigurationFactory
97 return loader.createConfigurationFromArgs(arrayArgs, null, getKeyStoreClient()); in createConfigurationFromArgs()
110 public IConfiguration createConfigurationFromArgs( in createConfigurationFromArgs() method in SandboxConfigurationFactory
131 super.createConfigurationFromArgs( in createConfigurationFromArgs()
DConfigurationFactory.java470 public IConfiguration createConfigurationFromArgs(String[] arrayArgs) in createConfigurationFromArgs() method in ConfigurationFactory
472 return createConfigurationFromArgs(arrayArgs, null); in createConfigurationFromArgs()
479 public IConfiguration createConfigurationFromArgs(String[] arrayArgs, in createConfigurationFromArgs() method in ConfigurationFactory
481 return createConfigurationFromArgs(arrayArgs, unconsumedArgs, null); in createConfigurationFromArgs()
488 public IConfiguration createConfigurationFromArgs(String[] arrayArgs, in createConfigurationFromArgs() method in ConfigurationFactory
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java195 .createConfigurationFromArgs( in loadTests()
491 .createConfigurationFromArgs(new String[] {"empty"}); in testRun_sharding_firstModuleRunsAll()
531 .createConfigurationFromArgs(new String[] {"empty"}); in testRun_sharding_parallelRun()
577 .createConfigurationFromArgs(new String[] {"empty"}); in testRun_sharding_withIndex()
656 .createConfigurationFromArgs(new String[] {"empty"}); in helperTestShardIndex()
DITestSuiteTest.java141 .createConfigurationFromArgs(new String[] {EMPTY_CONFIG}); in loadTests()
151 .createConfigurationFromArgs(new String[] {EMPTY_CONFIG}); in loadTests()
625 .createConfigurationFromArgs( in testRun_unresponsiveDevice()
686 .createConfigurationFromArgs( in testRun_deviceUnavailable()
757 .createConfigurationFromArgs( in testRun_runtimeException()
1467 .createConfigurationFromArgs( in testRun_GranularRerunwithModuleListener()
DITestSuiteMultiTest.java85 .createConfigurationFromArgs(new String[] {EMPTY_CONFIG}); in loadTests()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DNoisyDryRunTest.java157 .createConfigurationFromArgs(args, null, new DryRunKeyStore()); in testCommandLines()
182 .createConfigurationFromArgs( in testSandboxCommand()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTfSuiteRunner.java136 configFactory.createConfigurationFromArgs(new String[]{configName}); in loadTests()
150 configFactory.createConfigurationFromArgs( in loadTests()
DSuiteModuleLoader.java221 config = mConfigFactory.createConfigurationFromArgs(pathArg); in loadOneConfig()
298 mConfigFactory.createConfigurationFromArgs(pathArg); in loadOneConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DBaseModuleControllerTest.java60 .createConfigurationFromArgs(new String[] {mTestConfig.getAbsolutePath()}); in testCheckCompatibility()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java389 IConfiguration config = getConfigFactory().createConfigurationFromArgs( in rescheduleCommand()
1188 .createConfigurationFromArgs(args, getKeyStoreClient(), sandbox, new RunUtil()); in createConfiguration()
1191 getConfigFactory().createConfigurationFromArgs(args, null, getKeyStoreClient()); in createConfiguration()
1313 IConfiguration config = getConfigFactory().createConfigurationFromArgs( in addCommandForAllDevices()
1495 IConfiguration config = getConfigFactory().createConfigurationFromArgs( in execCommand()
/tools/tradefederation/contrib/src/com/android/tradefed/presubmit/
DGeneralTestsConfigValidation.java71 configFactory.createConfigurationFromArgs(new String[] {configName}); in testConfigsLoad()
DDeviceTestsConfigValidation.java74 configFactory.createConfigurationFromArgs( in testConfigsLoad()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DRemoteInvocationExecutionTest.java98 .createConfigurationFromArgs(new String[] {res.getAbsolutePath()}); in testCreateRemoteConfig()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java86 factory.createConfigurationFromArgs(argList.toArray(new String[0]), cmd); in parse()
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecution.java138 .createConfigurationFromArgs( in getParentTargetConfig()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java218 .createConfigurationFromArgs( in cloneConfigObject()

12