Home
last modified time | relevance | path

Searched refs:OptionSetter (Results 1 – 25 of 119) sorted by relevance

12345

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DBaseTestSuiteTest.java30 import com.android.tradefed.config.OptionSetter;
95 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_noMatch()
113 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_match_parameterized()
142 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_match()
168 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_oneMatch()
194 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_multiMatchNoExactMatch()
219 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_multiMatchOneExactMatch()
238 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests()
255 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite2()
267 OptionSetter setter = new OptionSetter(mRunner); in testSplit()
[all …]
DTfSuiteRunnerTest.java30 import com.android.tradefed.config.OptionSetter;
105 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests()
120 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite2()
131 OptionSetter setter = new OptionSetter(mRunner); in testSplit()
147 OptionSetter setter = new OptionSetter(mRunner); in testSplit_nothingToLoad()
159 OptionSetter setter = new OptionSetter(mRunner); in testLoadSuite_noSubConfigs()
172 OptionSetter setter = new OptionSetter(mRunner); in testLoadSuite()
194 OptionSetter setter = new OptionSetter(mRunner); in testLoadSuite_cycle()
208 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite()
253 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_additionalTestsZip()
[all …]
DModuleSplitterTest.java25 import com.android.tradefed.config.OptionSetter;
57 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_configNotShardable()
62 OptionSetter setter = new OptionSetter(config.getConfigurationDescription()); in testSplitModule_configNotShardable()
88 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_configNotStrictShardable_dynamic()
93 OptionSetter setter = new OptionSetter(config.getConfigurationDescription()); in testSplitModule_configNotStrictShardable_dynamic()
119 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_configNotStrictShardable_notDynamic()
124 OptionSetter setter = new OptionSetter(config.getConfigurationDescription()); in testSplitModule_configNotStrictShardable_notDynamic()
146 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_noIntraModuleSharding()
236 OptionSetter setter = new OptionSetter(test); in testSplitModule_testShardable_shard()
262 OptionSetter setter = new OptionSetter(test); in testSplitModule_testShardable_shard_noDynamic()
DAtestRunnerTest.java27 import com.android.tradefed.config.OptionSetter;
59 private OptionSetter setter;
84 setter = new OptionSetter(mSpyRunner); in testLoadTests_one()
94 setter = new OptionSetter(mSpyRunner); in testLoadTests_two()
106 setter = new OptionSetter(mSpyRunner); in testLoadTests_filter()
127 setter = new OptionSetter(mSpyRunner); in testLoadTests_ignoreFilter()
144 OptionSetter setter = new OptionSetter(mSpyRunner); in testWaitForDebugger()
157 OptionSetter setter = new OptionSetter(mSpyRunner); in testdisableTargetPreparers()
171 OptionSetter setter = new OptionSetter(mSpyRunner); in testdisableTargetPreparersUnset()
184 OptionSetter setter = new OptionSetter(mSpyRunner); in testDisableTearDown()
[all …]
DTestMappingSuiteRunnerTest.java24 import com.android.tradefed.config.OptionSetter;
105 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_conflictTestGroup()
123 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_conflictKeyword()
136 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_testMappingsZip()
222 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
294 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_testMappingsZipFailWithKeywords()
344 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_testMappingsZipHostTests()
399 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_shard()
438 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_noTest()
467 OptionSetter setter = new OptionSetter(mRunner); in testLoadTestsForMultiAbi()
DITestSuiteTest.java33 import com.android.tradefed.config.OptionSetter;
398 OptionSetter setter = new OptionSetter(mTestSuite); in testRun()
423 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_whiteListPreparer()
506 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_failedSystemChecker_reportFailure()
545 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_failedSystemChecker_reportFailure_bugreport()
597 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_rebootBeforeModule()
644 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_unresponsiveDevice()
705 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_deviceUnavailable()
773 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_runtimeException()
885 OptionSetter setter = new OptionSetter(mTestSuite); in testGetAbis_primaryAbiOnly()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DOptionSetterTest.java274 new OptionSetter(new GenericTypeOptionSource()); in testOptionSetter_noType()
286 new OptionSetter(new DuplicateOptionSource()); in testOptionSetter_duplicateOptions()
299 new OptionSetter(new DuplicateOptionSourceUnsupportedType()); in testOptionSetter_duplicateOptionsUnsupportedType()
312 OptionSetter setter = new OptionSetter(object1, object2); in testOptionSetter_sharedOptions()
332 OptionSetter parser = new OptionSetter(object1, object2); in testOptionSetter_sharedEnumMap()
359 OptionSetter parser = new OptionSetter(object1, object2); in testOptionSetter_sharedEnumCollection()
377 new OptionSetter(new AllTypesOptionSource(), new SharedOptionWrongTypeSource()); in testOptionSetter_sharedOptionsDiffType()
390 OptionSetter setter = new OptionSetter(object1, object2); in testOptionSetter_namespacedClassName()
403 OptionSetter setter = new OptionSetter(object1, object2); in testOptionSetter_namespacedAlias()
421 OptionSetter setter = new OptionSetter(object_base, configHolder); in testOptionSetter_frequencyForDeviceObject()
[all …]
DDynamicRemoteFileResolverTest.java94 OptionSetter setter = in testResolve()
95 new OptionSetter(object) { in testResolve()
130 OptionSetter setter = in testResolve_remoteFileList()
131 new OptionSetter(object) { in testResolve_remoteFileList()
172 OptionSetter setter = in testResolve_remoteFileList_downloadError()
173 new OptionSetter(object) { in testResolve_remoteFileList_downloadError()
214 OptionSetter setter = in testResolve_remoteMap()
215 new OptionSetter(object) { in testResolve_remoteMap()
259 OptionSetter setter = in testResolve_remoteMultiMap()
260 new OptionSetter(object) { in testResolve_remoteMultiMap()
[all …]
/tools/loganalysis/tests/src/com/android/loganalysis/util/config/
DOptionSetterTest.java216 new OptionSetter(new GenericTypeOptionSource()); in testOptionSetter_noType()
228 new OptionSetter(new DuplicateOptionSource()); in testOptionSetter_duplicateOptions()
241 OptionSetter setter = new OptionSetter(object1, object2); in testOptionSetter_sharedOptions()
261 OptionSetter parser = new OptionSetter(object1, object2); in testOptionSetter_sharedEnumMap()
288 OptionSetter parser = new OptionSetter(object1, object2); in testOptionSetter_sharedEnumCollection()
306 new OptionSetter(new AllTypesOptionSource(), new SharedOptionWrongTypeSource()); in testOptionSetter_sharedOptionsDiffType()
319 OptionSetter setter = new OptionSetter(object1, object2); in testOptionSetter_namespacedClassName()
332 OptionSetter setter = new OptionSetter(object1, object2); in testOptionSetter_namespacedAlias()
344 new OptionSetter(new CollectionTypeOptionSource()); in testOptionSetter_unparamType()
356 new OptionSetter(new NonCollectionGenericTypeOptionSource()); in testOptionSetter_genericType()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java25 import com.android.tradefed.config.OptionSetter;
111 OptionSetter setter = new OptionSetter(test); in testPollingRun()
135 OptionSetter setter = new OptionSetter(badTest); in testRun_runtimeException()
142 OptionSetter s = new OptionSetter(test); in testRun_runtimeException()
166 OptionSetter setter = new OptionSetter(badTest); in testRun_deviceUnresponsive()
173 OptionSetter s = new OptionSetter(test); in testRun_deviceUnresponsive()
197 OptionSetter setter = new OptionSetter(badTest); in testRun_dnae()
204 OptionSetter s = new OptionSetter(test); in testRun_dnae()
241 OptionSetter setter = new OptionSetter(badTest); in testRun_dnae_reportNotExecuted()
297 OptionSetter setter = new OptionSetter(badTest); in testRun_dnae_NotLastDevice()
[all …]
DShardHelperTest.java34 import com.android.tradefed.config.OptionSetter;
126 OptionSetter setter = new OptionSetter(options); in testSplitWithShardCount()
132 setter = new OptionSetter(test); in testSplitWithShardCount()
156 OptionSetter setter = new OptionSetter(options); in testSplit_noShardCount()
160 setter = new OptionSetter(test); in testSplit_noShardCount()
185 OptionSetter setter = new OptionSetter(options); in testSplitWithShardCount_notEnoughTest()
190 setter = new OptionSetter(test); in testSplitWithShardCount_notEnoughTest()
228 OptionSetter setter = new OptionSetter(options); in testCloneStatusChecker()
235 setter = new OptionSetter(test); in testCloneStatusChecker()
275 OptionSetter setter = new OptionSetter(options); in testCloneMetricCollector()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java22 import com.android.tradefed.config.OptionSetter;
186 OptionSetter setter = new OptionSetter(mBase); in testIncludeTestCase_optionGroup_noAnnotation()
199 OptionSetter setter = new OptionSetter(mBase); in testIncludeTestCase_optionGroup_differentAnnotationGroup()
212 OptionSetter setter = new OptionSetter(mBase); in testIncludeTestCase_optionGroup_sameAnnotationGroup()
225 OptionSetter setter = new OptionSetter(mBase); in testIncludeTestCase_optionGroup_multiGroup()
249 OptionSetter setter = new OptionSetter(mBase); in testExcludeTestCase_optionGroup_noAnnotation()
262 OptionSetter setter = new OptionSetter(mBase); in testExcludeTestCase_optionGroup_sameGroup()
275 OptionSetter setter = new OptionSetter(mBase); in testExcludeTestCase_optionGroup_multiGroup()
285 OptionSetter setter = new OptionSetter(mBase); in testExcludeTestCase_includeAndExclude()
397 OptionSetter setter = new OptionSetter(mBase); in testActualRunAnnotated_include()
[all …]
DFilePullerDeviceMetricCollectorTest.java6 import com.android.tradefed.config.OptionSetter;
78 OptionSetter setter = new OptionSetter(mFilePuller); in testPullMatchingKey()
99 OptionSetter setter = new OptionSetter(mFilePuller); in testPullMatchingKeyPattern()
121 OptionSetter setter = new OptionSetter(mFilePuller); in testMetricFileProcessingFlow()
147 OptionSetter setter = new OptionSetter(mFilePuller); in testPatternNotMatching()
168 OptionSetter setter = new OptionSetter(mFilePuller); in testPullMatchingDirectory()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DNoisyDryRunTestTest.java27 import com.android.tradefed.config.OptionSetter;
101 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun()
128 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun_withKeystore()
145 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun_invalidCmdFile()
171 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun_invalidCmdLine()
191 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testCheckFileWithTimeout()
211 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testCheckFileWithTimeout_missingFile()
245 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testCheckFileWithTimeout_delayFile()
304 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testLoading_sandboxed()
359 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testLoading_sandboxed_failed()
DHostTestTest.java24 import com.android.tradefed.config.OptionSetter;
499 OptionSetter createOptionSetter(Object obj) throws ConfigurationException { in createOptionSetter()
500 return new OptionSetter(obj) { in createOptionSetter()
538 OptionSetter setter = new OptionSetter(mHostTest);
618 OptionSetter setter = new OptionSetter(mHostTest);
794 OptionSetter setter = new OptionSetter(mHostTest);
824 OptionSetter setter = new OptionSetter(mHostTest);
842 OptionSetter setter = new OptionSetter(mHostTest);
926 OptionSetter setter = new OptionSetter(mHostTest);
937 OptionSetter setter = new OptionSetter(mHostTest);
[all …]
DGTestBaseTest.java25 import com.android.tradefed.config.OptionSetter;
45 private OptionSetter mSetter;
70 mSetter = new OptionSetter(gTestBase); in testGetGTestFilters_default()
83 mSetter = new OptionSetter(gTestBase); in testGTestFilters_positive()
96 mSetter = new OptionSetter(gTestBase); in testGTestFilters_negative()
109 mSetter = new OptionSetter(gTestBase); in testGTestFilters_postive_and_negative()
123 mSetter = new OptionSetter(gTestBase); in testFilterResultWhenPrepending()
146 mSetter = new OptionSetter(gTestBase); in testCreateResultParser()
172 mSetter = new OptionSetter(gTestBase); in testGTestFilters_positiveAndSharding()
197 mSetter = new OptionSetter(gTestBase); in testCoverage_addsCodeCoverageListener()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunnerTest.java21 import com.android.tradefed.config.OptionSetter;
100 OptionSetter setter = new OptionSetter(mTest); in setUp()
108 OptionSetter setter = new OptionSetter(mTest); in testRun()
137 OptionSetter setter = new OptionSetter(mTest); in testRun_collectOnly()
167 OptionSetter setter = new OptionSetter(mTest); in testRun_method()
188 OptionSetter setter = new OptionSetter(mTest); in testRun_method_collectOnly()
210 OptionSetter setter = new OptionSetter(mTest); in testRun_excludeFilter_paramMethod()
238 OptionSetter setter = new OptionSetter(mTest); in testRun_ignored()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparerTest.java25 import com.android.tradefed.config.OptionSetter;
66 OptionSetter setter = new OptionSetter(mPreparer); in testMergeFiles()
89 OptionSetter setter = new OptionSetter(mPreparer); in testMergeFiles_collision()
109 OptionSetter setter = new OptionSetter(mPreparer); in testMergeFiles_keyNotFound()
122 OptionSetter setter = new OptionSetter(mPreparer); in testReceiverNotFound()
140 OptionSetter setter = new OptionSetter(mPreparer); in testProviderNotFound()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupTest.java27 import com.android.tradefed.config.OptionSetter;
188 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_checkMinSdk_failParsing()
219 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_checkMinSdk_apiLow()
249 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_checkMinSdk_apiOk()
278 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_executePostInstall()
295 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_uninstallAll_noPackage()
311 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_uninstallAll()
329 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_uninstallAll_fails()
DRunCommandTargetPreparerTest.java26 import com.android.tradefed.config.OptionSetter;
69 OptionSetter setter = new OptionSetter(mPreparer); in testSetUp()
87 OptionSetter setter = new OptionSetter(mPreparer); in testSetUp_withTimeout()
113 OptionSetter setter = new OptionSetter(mPreparer); in testDisabled()
129 OptionSetter setter = new OptionSetter(mPreparer); in testTearDown()
148 OptionSetter setter = new OptionSetter(mPreparer); in testBgCmd()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DSubprocessResultsReporterTest.java21 import com.android.tradefed.config.OptionSetter;
68 OptionSetter setter = new OptionSetter(mReporter); in testPrintEvent_printToFile()
89 OptionSetter setter = new OptionSetter(mReporter); in testPrintEvent_nonWritableFile()
116 OptionSetter setter = new OptionSetter(mReporter); in testPrintEvent_printToSocket()
152 OptionSetter setter = new OptionSetter(mReporter); in testTestLog()
180 OptionSetter setter = new OptionSetter(mReporter); in testTestLog_disabled()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceSelectionOptionsTest.java25 import com.android.tradefed.config.OptionSetter;
547 OptionSetter setter = new OptionSetter(mDeviceSelection);
559 OptionSetter setter = new OptionSetter(mDeviceSelection);
576 OptionSetter setter = new OptionSetter(mDeviceSelection);
592 OptionSetter setter = new OptionSetter(mDeviceSelection);
602 OptionSetter setter = new OptionSetter(mDeviceSelection);
611 OptionSetter setter = new OptionSetter(mDeviceSelection);
620 OptionSetter setter = new OptionSetter(mDeviceSelection);
631 OptionSetter setter = new OptionSetter(mDeviceSelection);
642 OptionSetter setter = new OptionSetter(mDeviceSelection);
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java29 import com.android.tradefed.config.OptionSetter;
82 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_doesNotExists()
98 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable()
122 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_dnae()
162 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_search()
190 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_notFound()
219 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_failure()
/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DFileLoggerTest.java27 import com.android.tradefed.config.OptionSetter;
153 OptionSetter setter = new OptionSetter(logger); in testClone()
170 OptionSetter setter = new OptionSetter(logger); in testFilteringComponent()
194 OptionSetter setter = new OptionSetter(logger); in testFiltering_classVerbosity()
214 OptionSetter setter = new OptionSetter(logger); in testFiltering_ddms()
238 OptionSetter setter = new OptionSetter(logger); in testFiltering_ddms_log()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecutionTest.java35 import com.android.tradefed.config.OptionSetter;
101 OptionSetter setter = new OptionSetter(mOptions); in testParentConfig()
123 OptionSetter setter = new OptionSetter(mOptions); in testParentConfig_errorStage()
150 OptionSetter setter = new OptionSetter(mOptions); in testParentConfig_exception()
175 OptionSetter setter = new OptionSetter(stubProvider); in testParentSandbox_testMode()
188 OptionSetter setter = new OptionSetter(stubProvider); in testParentSandbox_NotTestMode()

12345