Home
last modified time | relevance | path

Searched refs:IConfiguration (Results 1 – 25 of 72) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DAtestRunnerTest.java26 import com.android.tradefed.config.IConfiguration;
86 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_one()
96 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_two()
108 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_filter()
112 IConfiguration config = configMap.get(testName); in testLoadTests_filter()
127 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testLoadTests_ignoreFilter()
131 IConfiguration config = configMap.get(testName); in testLoadTests_ignoreFilter()
143 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testWaitForDebugger()
145 IConfiguration config = configMap.get(INSTRUMENTATION_TEST_NAME); in testWaitForDebugger()
155 LinkedHashMap<String, IConfiguration> configMap = mSpyRunner.loadTests(); in testdisableTargetPreparers()
[all …]
DModuleSplitterTest.java24 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()
145 LinkedHashMap<String, IConfiguration> runConfig = new LinkedHashMap<>(); in testSplitModule_testNotShardable()
147 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_testNotShardable()
180 LinkedHashMap<String, IConfiguration> runConfig = new LinkedHashMap<>(); in testSplitModule_testShardable_didNotShard()
[all …]
DValidateSuiteConfigHelperTest.java27 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 …]
DITestSuiteTest.java30 import com.android.tradefed.config.IConfiguration;
93 private IConfiguration mStubMainConfiguration;
109 public LinkedHashMap<String, IConfiguration> loadTests() { in loadTests()
110 LinkedHashMap<String, IConfiguration> testConfig = new LinkedHashMap<>(); in loadTests()
112 IConfiguration config = in loadTests()
119 IConfiguration extraConfig = in loadTests()
363 public LinkedHashMap<String, IConfiguration> loadTests() { in testRun_unresponsiveDevice()
364 LinkedHashMap<String, IConfiguration> testConfig = new LinkedHashMap<>(); in testRun_unresponsiveDevice()
366 IConfiguration fake = in testRun_unresponsiveDevice()
412 public LinkedHashMap<String, IConfiguration> loadTests() { in testRun_runtimeException()
[all …]
DTfSuiteRunnerTest.java28 import com.android.tradefed.config.IConfiguration;
72 private IConfiguration mStubMainConfiguration;
106 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests()
121 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_suite2()
160 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadSuite_noSubConfigs()
173 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadSuite()
180 IConfiguration config = configMap.get("suite/sub-suite"); in testLoadSuite()
258 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_additionalTestsZip()
287 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTestsForMultiAbi()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DISandbox.java19 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/testtype/suite/
DTfSuiteRunner.java22 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 …]
DAtestRunner.java19 import com.android.tradefed.config.IConfiguration;
78 public LinkedHashMap<String, IConfiguration> loadTests() { in loadTests()
83 LinkedHashMap<String, IConfiguration> configMap = super.loadTests(); in loadTests()
85 for (IConfiguration testConfig : configMap.values()) { in loadTests()
145 private void addFilter(IConfiguration testConfig, String filter) { in addFilter()
181 private void addDebugger(IConfiguration testConfig) { in addDebugger()
191 IConfiguration testConfig, boolean skipSetUp, boolean skipTearDown) { in disableTargetPreparers()
DModuleSplitter.java19 import com.android.tradefed.config.IConfiguration;
65 LinkedHashMap<String, IConfiguration> runConfig, in splitConfiguration()
74 for (Entry<String, IConfiguration> configMap : runConfig.entrySet()) { in splitConfiguration()
91 IConfiguration config, in createAndAddModule()
158 IConfiguration config) { in addModuleToListFromSingleTest()
197 private static Map<String, List<ITargetPreparer>> clonePreparersMap(IConfiguration config) { in clonePreparersMap()
DValidateSuiteConfigHelper.java20 import com.android.tradefed.config.IConfiguration;
57 public static void validateConfig(IConfiguration config) { in validateConfig()
142 private static boolean checkTargetPrep(IConfiguration config, List<?> targetPrepList) { in checkTargetPrep()
158 private static void throwRuntime(IConfiguration config, String msg) { in throwRuntime()
DITestSuite.java22 import com.android.tradefed.config.IConfiguration;
237 private IConfiguration mMainConfiguration;
248 public abstract LinkedHashMap<String, IConfiguration> loadTests(); in loadTests()
261 private LinkedHashMap<String, IConfiguration> loadAndFilter() { in loadAndFilter()
262 LinkedHashMap<String, IConfiguration> runConfig = loadTests(); in loadAndFilter()
270 LinkedHashMap<String, IConfiguration> filteredConfig = new LinkedHashMap<>(); in loadAndFilter()
271 for (Entry<String, IConfiguration> config : runConfig.entrySet()) { in loadAndFilter()
304 LinkedHashMap<String, IConfiguration> runConfig = loadAndFilter(); in createExecutionList()
310 for (Entry<String, IConfiguration> config : runConfig.entrySet()) { in createExecutionList()
349 private Map<String, List<ITargetPreparer>> getPreparerPerDevice(IConfiguration config) { in getPreparerPerDevice()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/guice/
DInvocationScopeModule.java18 import com.android.tradefed.config.IConfiguration;
47 bind(IConfiguration.class) in configure()
48 .toProvider(InvocationScope.<IConfiguration>seededKeyProvider()) in configure()
/tools/tradefederation/core/tests/src/com/android/tradefed/guice/
DInvocationScopeTest.java21 import com.android.tradefed.config.IConfiguration;
45 public IConfiguration mConfiguration;
53 public void setConfiguration(IConfiguration configuration) { in setConfiguration()
63 private IConfiguration mConfiguration;
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardBuildCloner.java21 import com.android.tradefed.config.IConfiguration;
39 IConfiguration fromConfig, IConfiguration toConfig, IInvocationContext context) { in cloneBuildInfos()
DShardHelper.java23 import com.android.tradefed.config.IConfiguration;
81 IConfiguration config, IInvocationContext context, IRescheduler rescheduler) { in shardConfig()
114 IConfiguration shardConfig = config.clone(); in shardConfig()
122 IConfiguration shardConfig = config.clone(); in shardConfig()
142 IConfiguration shardConfig, in rescheduleConfig()
143 IConfiguration config, in rescheduleConfig()
167 private void cloneConfigObject(IConfiguration oriConfig, IConfiguration clonedConfig) { in cloneConfigObject()
178 IConfiguration deepCopy = in cloneConfigObject()
249 private static List<ITestInvocationListener> buildMasterShardListeners(IConfiguration config) { in buildMasterShardListeners()
DIShardHelper.java18 import com.android.tradefed.config.IConfiguration;
34 IConfiguration config, IInvocationContext context, IRescheduler rescheduler); in shardConfig()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIConfigurationFactory.java36 public IConfiguration createConfigurationFromArgs(String[] args) throws ConfigurationException; in createConfigurationFromArgs()
54 public IConfiguration createConfigurationFromArgs(String[] args, List<String> unconsumedArgs) in createConfigurationFromArgs()
75 public IConfiguration createConfigurationFromArgs(String[] args, List<String> unconsumedArgs, in createConfigurationFromArgs()
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/
DSandboxedInvocationExecution.java19 import com.android.tradefed.config.IConfiguration;
37 IConfiguration config, in fetchBuild()
55 IConfiguration config, in resetBuildAndReschedule()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java29 import com.android.tradefed.config.IConfiguration;
71 private IConfiguration mConfig;
132 new ArgumentMatcher<IConfiguration>() { in testSplitWithShardCount()
134 public boolean matches(IConfiguration argument) { in testSplitWithShardCount()
158 new ArgumentMatcher<IConfiguration>() { in testSplit_noShardCount()
160 public boolean matches(IConfiguration argument) { in testSplit_noShardCount()
192 new ArgumentMatcher<IConfiguration>() { in testSplitWithShardCount_notEnoughTest()
194 public boolean matches(IConfiguration argument) { in testSplitWithShardCount_notEnoughTest()
235 new ArgumentMatcher<IConfiguration>() { in testCloneStatusChecker()
237 public boolean matches(IConfiguration argument) { in testCloneStatusChecker()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DIRescheduler.java19 import com.android.tradefed.config.IConfiguration;
34 boolean scheduleConfig(IConfiguration config); in scheduleConfig()
DITestInvocation.java19 import com.android.tradefed.config.IConfiguration;
40 public void invoke(IInvocationContext metadata, IConfiguration config, in invoke()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTearDownPassThroughPreparer.java20 import com.android.tradefed.config.IConfiguration;
38 private IConfiguration mConfiguration;
47 public void setConfiguration(IConfiguration configuration) { in setConfiguration()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DTestDirForwarder.java22 import com.android.tradefed.config.IConfiguration;
40 private IConfiguration mConfig = null;
70 public void setConfiguration(IConfiguration config) { in setConfiguration()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationDefTest.java78 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/tests/src/com/android/tradefed/command/
DCommandSchedulerStressApp.java19 import com.android.tradefed.config.IConfiguration;
39 private IConfiguration mMockConfig;
44 mMockConfig = EasyMock.createNiceMock(IConfiguration.class); in CommandSchedulerStressApp()

123