/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | AtestRunnerTest.java | 26 import com.android.tradefed.config.IConfiguration; 87 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_one() 98 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_two() 111 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_filter() 115 IConfiguration config = configMap.get(testName); in testLoadTests_filter() 131 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_ignoreFilter() 135 IConfiguration config = configMap.get(testName); in testLoadTests_ignoreFilter() 148 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testWaitForDebugger() 150 IConfiguration config = configMap.get(INSTRUMENTATION_TEST_NAME); in testWaitForDebugger() 161 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testdisableTargetPreparers() [all …]
|
D | ModuleSplitterTest.java | 24 import com.android.tradefed.config.IConfiguration; 52 LinkedHashMap<String, IConfiguration> runConfig = new LinkedHashMap<>(); in testSplitModule_configNotShardable() 54 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_configNotShardable() 83 LinkedHashMap<String, IConfiguration> runConfig = new LinkedHashMap<>(); in testSplitModule_configNotStrictShardable_dynamic() 85 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_configNotStrictShardable_dynamic() 114 LinkedHashMap<String, IConfiguration> runConfig = new LinkedHashMap<>(); in testSplitModule_configNotStrictShardable_notDynamic() 116 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_configNotStrictShardable_notDynamic() 141 LinkedHashMap<String, IConfiguration> runConfig = new LinkedHashMap<>(); in testSplitModule_noIntraModuleSharding() 143 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_noIntraModuleSharding() 170 LinkedHashMap<String, IConfiguration> runConfig = new LinkedHashMap<>(); in testSplitModule_testNotShardable() [all …]
|
D | ValidateSuiteConfigHelperTest.java | 27 import com.android.tradefed.config.IConfiguration; 60 IConfiguration config = new Configuration("test", "test description"); in testCanRunAsSuite() 67 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_buildProvider() 85 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_MultiDevice_buildProvider() 105 IConfiguration config = new Configuration("test", "test description"); in testParse_MultiDevice() 123 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_resultReporter() 136 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_multi_resultReporter() 152 IConfiguration config = new Configuration("test", "test description"); in testTargetPrep() 164 IConfiguration config = new Configuration("test", "test description"); in testTargetPrep_badPreparer() 181 IConfiguration config = new Configuration("test", "test description"); in testTargetPrep_badMultiPreparer() [all …]
|
D | ITestSuiteTest.java | 31 import com.android.tradefed.config.IConfiguration; 107 private IConfiguration mStubMainConfiguration; 136 public LinkedHashMap<String, IConfiguration> loadTests() { in loadTests() 137 LinkedHashMap<String, IConfiguration> testConfig = new LinkedHashMap<>(); in loadTests() 139 IConfiguration config = in loadTests() 149 IConfiguration extraConfig = in loadTests() 321 LinkedHashMap<String, IConfiguration> testConfigs) { in getRunModules() 323 for (Entry<String, IConfiguration> config : testConfigs.entrySet()) { in getRunModules() 620 public LinkedHashMap<String, IConfiguration> loadTests() { in testRun_unresponsiveDevice() 621 LinkedHashMap<String, IConfiguration> testConfig = new LinkedHashMap<>(); in testRun_unresponsiveDevice() [all …]
|
D | BaseTestSuiteTest.java | 29 import com.android.tradefed.config.IConfiguration; 241 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests() 258 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_suite2() 301 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTestsForMultiAbi() 325 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_parameterizedModule() 370 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_parameterizedModule_load_with_filter() 396 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_parameterizedModule_load_with_filter_param() 422 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_parameterizedModule_multiAbi() 450 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_parameterizedModule_multiAbi_filter() 474 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_parameterizedModule_multiAbi_forced() [all …]
|
D | TfSuiteRunnerTest.java | 29 import com.android.tradefed.config.IConfiguration; 74 private IConfiguration mStubMainConfiguration; 108 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests() 123 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_suite2() 162 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadSuite_noSubConfigs() 175 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadSuite() 182 IConfiguration config = configMap.get("suite/sub-suite"); in testLoadSuite() 263 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_additionalTestsZip() 292 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTestsForMultiAbi()
|
D | SuiteModuleLoaderTest.java | 22 import com.android.tradefed.config.IConfiguration; 126 LinkedHashMap<String, IConfiguration> res = in testInjectConfigOptions_moduleArgs() 130 IConfiguration config = res.get("armeabi-v7a module1"); in testInjectConfigOptions_moduleArgs() 175 LinkedHashMap<String, IConfiguration> res = in testInjectConfigOptions_testArgs() 179 IConfiguration config = res.get("armeabi-v7a module1"); in testInjectConfigOptions_testArgs() 209 LinkedHashMap<String, IConfiguration> res = in testInjectConfigOptions_moduleArgs_alias() 213 IConfiguration config = res.get("armeabi-v7a module1"); in testInjectConfigOptions_moduleArgs_alias()
|
D | ITestSuiteIntegrationTest.java | 30 import com.android.tradefed.config.IConfiguration; 102 private IConfiguration mStubMainConfiguration; 187 public LinkedHashMap<String, IConfiguration> loadTests() { in loadTests() 188 LinkedHashMap<String, IConfiguration> testConfig = new LinkedHashMap<>(); in loadTests() 193 IConfiguration config = in loadTests() 400 public boolean scheduleConfig(IConfiguration config) { in scheduleConfig() 435 public boolean scheduleConfig(IConfiguration config) { in scheduleConfig() 489 IConfiguration config = in testRun_sharding_firstModuleRunsAll() 529 IConfiguration config = in testRun_sharding_parallelRun() 575 IConfiguration config = in testRun_sharding_withIndex() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | IInvocationExecution.java | 20 import com.android.tradefed.config.IConfiguration; 50 IConfiguration config, in fetchBuild() 63 public default void cleanUpBuilds(IInvocationContext context, IConfiguration config) {} in cleanUpBuilds() 78 IConfiguration config, in doSetup() 93 IInvocationContext context, IConfiguration config, ITestLogger logger) in runDevicePreInvocationSetup() 104 IInvocationContext context, IConfiguration config) {} in runDevicePostInvocationTearDown() 118 IConfiguration config, in doTeardown() 132 IInvocationContext context, IConfiguration config, Throwable exception) {} in doCleanUp() 148 IConfiguration config, IInvocationContext context, IRescheduler rescheduler) { in shardConfig() 161 IInvocationContext context, IConfiguration config, ITestInvocationListener listener) in runTests() [all …]
|
D | InvocationExecution.java | 30 import com.android.tradefed.config.IConfiguration; 86 IConfiguration config, in fetchBuild() 145 public void cleanUpBuilds(IInvocationContext context, IConfiguration config) { in cleanUpBuilds() 164 IConfiguration config, IInvocationContext context, IRescheduler rescheduler) { in shardConfig() 177 IConfiguration config, in doSetup() 238 IInvocationContext context, IConfiguration config, ITestLogger logger) in runDevicePreInvocationSetup() 261 IInvocationContext context, IConfiguration config) { in runDevicePostInvocationTearDown() 335 IConfiguration config, in doTeardown() 414 public void doCleanUp(IInvocationContext context, IConfiguration config, Throwable exception) { in doCleanUp() 435 IInvocationContext context, IConfiguration config, ITestInvocationListener listener) in runTests() [all …]
|
D | TestInvocation.java | 23 import com.android.tradefed.config.IConfiguration; 169 private void logStartInvocation(IInvocationContext context, IConfiguration config) { in logStartInvocation() 203 IConfiguration config, in performInvocation() 371 IConfiguration config, in prepareAndRun() 392 private void startInvocation(IConfiguration config, IInvocationContext context, in startInvocation() 406 private boolean resume(IConfiguration config, IInvocationContext context, in resume() 413 IConfiguration resumeConfig = config.clone(); in resume() 442 IConfiguration config, in reportFailure() 456 private void rescheduleTest(IConfiguration config, IRescheduler rescheduler) { in rescheduleTest() 466 private void reportHostLog(ITestInvocationListener listener, IConfiguration config) { in reportHostLog() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | TfSuiteRunner.java | 22 import com.android.tradefed.config.IConfiguration; 75 public LinkedHashMap<String, IConfiguration> loadTests() { in loadTests() 88 private LinkedHashMap<String, IConfiguration> loadTests( in loadTests() 90 LinkedHashMap <String, IConfiguration> configMap = in loadTests() 91 new LinkedHashMap<String, IConfiguration>(); in loadTests() 135 IConfiguration testConfig = in loadTests() 169 LinkedHashMap<String, IConfiguration> expandedConfig = in loadTests() 175 LinkedHashMap<String, IConfiguration> expandedConfig = in loadTests() 189 private boolean canRunMultipleAbis(IConfiguration testConfig) { in canRunMultipleAbis() 213 private LinkedHashMap<String, IConfiguration> expandTestSuites( in expandTestSuites() [all …]
|
D | ITestSuite.java | 22 import com.android.tradefed.config.IConfiguration; 333 private IConfiguration mMainConfiguration; 356 private void applyGuiceInjection(LinkedHashMap<String, IConfiguration> runConfig) { in applyGuiceInjection() 362 for (IConfiguration config : runConfig.values()) { in applyGuiceInjection() 373 public abstract LinkedHashMap<String, IConfiguration> loadTests(); in loadTests() 386 private LinkedHashMap<String, IConfiguration> loadAndFilter() { in loadAndFilter() 387 LinkedHashMap<String, IConfiguration> runConfig = loadTests(); in loadAndFilter() 395 LinkedHashMap<String, IConfiguration> filteredConfig = new LinkedHashMap<>(); in loadAndFilter() 396 for (Entry<String, IConfiguration> config : runConfig.entrySet()) { in loadAndFilter() 432 LinkedHashMap<String, IConfiguration> runConfig = loadAndFilter(); in createExecutionList() [all …]
|
D | AtestRunner.java | 19 import com.android.tradefed.config.IConfiguration; 81 public LinkedHashMap<String, IConfiguration> loadTests() { in loadTests() 86 LinkedHashMap<String, IConfiguration> configMap = super.loadTests(); in loadTests() 88 for (IConfiguration testConfig : configMap.values()) { in loadTests() 148 private void addFilter(IConfiguration testConfig, String filter) { in addFilter() 184 private void addDebugger(IConfiguration testConfig) { in addDebugger() 194 IConfiguration testConfig, boolean skipSetUp, boolean skipTearDown) { in disableTargetPreparers()
|
D | SuiteModuleLoader.java | 22 import com.android.tradefed.config.IConfiguration; 114 public LinkedHashMap<String, IConfiguration> loadConfigsFromDirectory( in loadConfigsFromDirectory() 120 LinkedHashMap<String, IConfiguration> toRun = new LinkedHashMap<>(); in loadConfigsFromDirectory() 138 public LinkedHashMap<String, IConfiguration> loadConfigsFromJars( in loadConfigsFromJars() 140 LinkedHashMap<String, IConfiguration> toRun = new LinkedHashMap<>(); in loadConfigsFromJars() 194 private LinkedHashMap<String, IConfiguration> loadOneConfig( in loadOneConfig() 196 LinkedHashMap<String, IConfiguration> toRun = new LinkedHashMap<>(); in loadOneConfig() 219 IConfiguration config = null; in loadOneConfig() 297 IConfiguration paramConfig = in loadOneConfig() 522 private List<IModuleParameter> getModuleParameters(String moduleName, IConfiguration config) in getModuleParameters() [all …]
|
D | ModuleSplitter.java | 19 import com.android.tradefed.config.IConfiguration; 68 LinkedHashMap<String, IConfiguration> runConfig, in splitConfiguration() 78 for (Entry<String, IConfiguration> configMap : runConfig.entrySet()) { in splitConfiguration() 96 IConfiguration config, in createAndAddModule() 165 IConfiguration config) { in addModuleToListFromSingleTest() 204 private static Map<String, List<ITargetPreparer>> clonePreparersMap(IConfiguration config) { in clonePreparersMap()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 32 import com.android.tradefed.config.IConfiguration; 76 private IConfiguration mConfig; 98 protected void validateOptions(IConfiguration config) in setUp() 143 new ArgumentMatcher<IConfiguration>() { in testSplitWithShardCount() 145 public boolean matches(IConfiguration argument) { in testSplitWithShardCount() 169 new ArgumentMatcher<IConfiguration>() { in testSplit_noShardCount() 171 public boolean matches(IConfiguration argument) { in testSplit_noShardCount() 203 new ArgumentMatcher<IConfiguration>() { in testSplitWithShardCount_notEnoughTest() 205 public boolean matches(IConfiguration argument) { in testSplitWithShardCount_notEnoughTest() 246 new ArgumentMatcher<IConfiguration>() { in testCloneStatusChecker() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/ |
D | ParentSandboxInvocationExecution.java | 23 import com.android.tradefed.config.IConfiguration; 45 private IConfiguration mParentPreparerConfig = null; 50 IConfiguration config, in fetchBuild() 66 IInvocationContext context, IConfiguration config, ITestInvocationListener listener) in doSetup() 80 IConfiguration config, in doTeardown() 96 public void doCleanUp(IInvocationContext context, IConfiguration config, Throwable exception) { in doCleanUp() 107 IInvocationContext context, IConfiguration config, ITestInvocationListener listener) in runTests() 128 private IConfiguration getParentTargetConfig(IConfiguration config) throws TargetSetupError { in getParentTargetConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | ShardHelper.java | 24 import com.android.tradefed.config.IConfiguration; 88 IConfiguration config, IInvocationContext context, IRescheduler rescheduler) { in shardConfig() 126 IConfiguration shardConfig = config.clone(); in shardConfig() 141 IConfiguration shardConfig = config.clone(); in shardConfig() 164 IConfiguration shardConfig, in rescheduleConfig() 165 IConfiguration config, in rescheduleConfig() 198 protected void validateOptions(IConfiguration config) throws ConfigurationException { in validateOptions() 205 private void cloneConfigObject(IConfiguration oriConfig, IConfiguration clonedConfig) { in cloneConfigObject() 216 IConfiguration deepCopy = in cloneConfigObject() 294 private static List<ITestInvocationListener> buildMasterShardListeners(IConfiguration config) { in buildMasterShardListeners()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 253 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {name}); in assertConfigValid() 312 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {TEST_CONFIG, in testCreateConfigurationFromArgs() 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() 468 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_templateInclude() 578 IConfiguration config = mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_templateInclude_local() 601 IConfiguration config = in testCreateConfigurationFromArgs_templateInclude_dependent() 672 IConfiguration config = mFactory.createConfigurationFromArgs(new String[]{configName, in testCreateConfigurationFromArgs_include_dependent() [all …]
|
D | ConfigurationDefTest.java | 78 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_optionMap() 91 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_optionCollection() 101 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration() 116 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_withDeviceHolder() 132 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_withCollectors()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryRescheduler.java | 21 import com.android.tradefed.config.IConfiguration; 91 private IConfiguration mConfiguration; 96 private IConfiguration mRescheduledConfiguration; 121 IConfiguration originalConfig; in run() 189 public void setConfiguration(IConfiguration configuration) { in setConfiguration() 206 public final IConfiguration getRetryConfiguration() { in getRetryConfiguration() 310 private void updateConfiguration(IConfiguration config, ResultsPlayer replayer) { in updateConfiguration() 320 private void customizeConfig(ITestSuiteResultLoader loader, IConfiguration originalConfig) { in customizeConfig() 367 IConfiguration originalConfig, IConfiguration retryConfig) { in handleExtraResultReporter()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | TradefedSandbox.java | 24 import com.android.tradefed.config.IConfiguration; 88 public CommandResult run(IConfiguration config, ITestLogger logger) throws Throwable { in run() 166 IInvocationContext context, IConfiguration config, ITestInvocationListener listener) { in prepareEnvironment() 245 IInvocationContext context, IConfiguration nonVersionedConfig, String[] args) in getTradefedSandboxEnvironment() 295 IInvocationContext context, IConfiguration config, ITestInvocationListener listener) { in prepareConfiguration() 369 protected File prepareContext(IInvocationContext context, IConfiguration config) in prepareContext() 395 protected File dumpGlobalConfig(IConfiguration config, Set<String> exclusionPatterns) in dumpGlobalConfig() 413 public IConfiguration createThinLauncherConfig( in createThinLauncherConfig() 420 private SandboxOptions getSandboxOptions(IConfiguration config) { in getSandboxOptions() 426 IConfiguration parentConfig = null; in handleChildMissingConfig()
|
D | ISandbox.java | 19 import com.android.tradefed.config.IConfiguration; 43 IConfiguration configuration, in prepareEnvironment() 53 public CommandResult run(IConfiguration configuration, ITestLogger logger) throws Throwable; in run() 67 IInvocationContext context, IConfiguration nonVersionedConfig, String[] args) in getTradefedSandboxEnvironment() 92 public IConfiguration createThinLauncherConfig( in createThinLauncherConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | StubTargetPreparer.java | 20 import com.android.tradefed.config.IConfiguration; 36 private IConfiguration mConfig; 48 public void setConfiguration(IConfiguration configuration) { in setConfiguration() 53 public IConfiguration getConfiguration() { in getConfiguration()
|