Home
last modified time | relevance | path

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

1234567

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DBaseTestSuiteTest.java31 import com.android.tradefed.config.OptionSetter;
110 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_noMatch()
127 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_match_parameterized()
159 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_parameterized_filter()
189 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_match()
213 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_oneMatch()
237 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_multiMatchNoExactMatch()
260 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_multiMatchOneExactMatch()
279 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests()
296 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite2()
[all …]
DITestSuiteTest.java40 import com.android.tradefed.config.OptionSetter;
431 OptionSetter setter = new OptionSetter(mTestSuite); in testRun()
456 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_whiteListPreparer()
541 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_failedSystemChecker_reportFailure()
580 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_failedSystemChecker_reportFailure_bugreport()
632 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_rebootBeforeModule()
681 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_unresponsiveDevice()
740 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_deviceUnavailable()
808 OptionSetter setter = new OptionSetter(mTestSuite); in testRun_runtimeException()
918 OptionSetter setter = new OptionSetter(mTestSuite); in testGetAbis_primaryAbiOnly()
[all …]
DAtestRunnerTest.java27 import com.android.tradefed.config.OptionSetter;
67 private OptionSetter setter;
92 setter = new OptionSetter(mSpyRunner); in testLoadTests_one()
102 setter = new OptionSetter(mSpyRunner); in testLoadTests_two()
114 setter = new OptionSetter(mSpyRunner); in testLoadTests_filter()
135 setter = new OptionSetter(mSpyRunner); in testLoadTests_WithTFConfigSpecified()
150 setter = new OptionSetter(mSpyRunner); in testLoadTests_WithModuleAndTFConfigSpecified()
171 setter = new OptionSetter(mSpyRunner); in testLoadTests_WithModuleConfigSpecified()
184 setter = new OptionSetter(mSpyRunner); in testLoadTests_ignoreFilter()
201 OptionSetter setter = new OptionSetter(mSpyRunner); in testWaitForDebugger()
[all …]
DTfSuiteRunnerTest.java31 import com.android.tradefed.config.OptionSetter;
113 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests()
130 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite2()
142 OptionSetter setter = new OptionSetter(mRunner); in testSplit()
158 OptionSetter setter = new OptionSetter(mRunner); in testSplit_nothingToLoad()
170 OptionSetter setter = new OptionSetter(mRunner); in testLoadSuite_noSubConfigs()
183 OptionSetter setter = new OptionSetter(mRunner); in testLoadSuite()
208 OptionSetter setter = new OptionSetter(mRunner); in testLoadSuite_cycle()
225 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite()
283 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_additionalTestsZip()
[all …]
DModuleSplitterTest.java26 import com.android.tradefed.config.OptionSetter;
63 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_configNotShardable()
68 OptionSetter setter = new OptionSetter(config.getConfigurationDescription()); in testSplitModule_configNotShardable()
99 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_configNotStrictShardable_dynamic()
104 OptionSetter setter = new OptionSetter(config.getConfigurationDescription()); in testSplitModule_configNotStrictShardable_dynamic()
134 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_configNotStrictShardable_notDynamic()
139 OptionSetter setter = new OptionSetter(config.getConfigurationDescription()); in testSplitModule_configNotStrictShardable_notDynamic()
165 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_noIntraModuleSharding()
269 OptionSetter setter = new OptionSetter(test); in testSplitModule_testShardable_shard()
298 OptionSetter setter = new OptionSetter(test); in testSplitModule_testShardable_shard_noDynamic()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DOptionSetterTest.java278 new OptionSetter(new GenericTypeOptionSource()); in testOptionSetter_noType()
290 new OptionSetter(new DuplicateOptionSource()); in testOptionSetter_duplicateOptions()
303 new OptionSetter(new DuplicateOptionSourceUnsupportedType()); in testOptionSetter_duplicateOptionsUnsupportedType()
316 OptionSetter setter = new OptionSetter(object1, object2); in testOptionSetter_sharedOptions()
336 OptionSetter parser = new OptionSetter(object1, object2); in testOptionSetter_sharedEnumMap()
363 OptionSetter parser = new OptionSetter(object1, object2); in testOptionSetter_sharedEnumCollection()
381 new OptionSetter(new AllTypesOptionSource(), new SharedOptionWrongTypeSource()); in testOptionSetter_sharedOptionsDiffType()
394 OptionSetter setter = new OptionSetter(object1, object2); in testOptionSetter_namespacedClassName()
407 OptionSetter setter = new OptionSetter(object1, object2); in testOptionSetter_namespacedAlias()
425 OptionSetter setter = new OptionSetter(object_base, configHolder); in testOptionSetter_frequencyForDeviceObject()
[all …]
DDynamicRemoteFileResolverTest.java123 OptionSetter setter = new OptionSetter(object); in testResolve()
148 OptionSetter setter = new OptionSetter(object); in testResolveWithQuery()
176 OptionSetter setter = new OptionSetter(object); in testResolveOptional()
200 OptionSetter setter = new OptionSetter(object); in testResolve_remoteFileList()
231 OptionSetter setter = new OptionSetter(object); in testResolve_remoteFileList_downloadError()
269 OptionSetter setter = new OptionSetter(object); in testResolve_remoteMap()
304 OptionSetter setter = new OptionSetter(object); in testResolve_remoteMultiMap()
347 OptionSetter setter = new OptionSetter(object); in testResolve_remoteMultiMap_concurrent()
382 OptionSetter setter2 = new OptionSetter(object); in testResolve_remoteMultiMap_concurrent()
412 OptionSetter setter = new OptionSetter(object); in testResolve_withNoGlobalNameSpace()
[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/testtype/
DHostTestTest.java25 import com.android.tradefed.config.OptionSetter;
605 OptionSetter setter = new OptionSetter(mHostTest); in setUp()
685 OptionSetter setter = new OptionSetter(mHostTest); in testRun_MetricTestCase_withOption()
863 OptionSetter setter = new OptionSetter(mHostTest); in testRun_multipleClass()
893 OptionSetter setter = new OptionSetter(mHostTest); in testRun_multipleClassAndMethodName()
912 OptionSetter setter = new OptionSetter(mHostTest); in testRun_deviceTest()
996 OptionSetter setter = new OptionSetter(mHostTest); in testCountTestCasesJUnitVersionMixed()
1007 OptionSetter setter = new OptionSetter(mHostTest); in testCountTestCasesJUnitVersionMixedWithFiltering()
1370 OptionSetter setter = new OptionSetter(mHostTest); in testRun_junit_version_mix()
1381 OptionSetter setter = new OptionSetter(mHostTest); in testRun_junit_version_mix_collect()
[all …]
DNoisyDryRunTestTest.java28 import com.android.tradefed.config.OptionSetter;
105 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun()
132 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun_withKeystore()
149 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun_invalidCmdFile()
175 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun_invalidCmdLine()
195 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testCheckFileWithTimeout()
215 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testCheckFileWithTimeout_missingFile()
249 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testCheckFileWithTimeout_delayFile()
308 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testLoading_sandboxed()
363 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testLoading_sandboxed_failed()
[all …]
DJarHostTestTest.java24 import com.android.tradefed.config.OptionSetter;
78 OptionSetter setter = new OptionSetter(mTest); in setUp()
141 OptionSetter setter = new OptionSetter(mTest); in testSplit_withJar()
221 OptionSetter setter = new OptionSetter(mTest); in testSplit_countWithFilter()
265 OptionSetter setter = new OptionSetter(mTest); in testCountTestFails()
299 OptionSetter setter = new OptionSetter(mTest); in testJarHostMetrics()
321 OptionSetter setter = new OptionSetter(mTest); in testRunWithJar()
355 OptionSetter setter = new OptionSetter(mTest); in testRunWithClassFromExternalJar()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java28 import com.android.tradefed.config.OptionSetter;
123 OptionSetter setterFirst = new OptionSetter(first); in testPollingRun()
130 OptionSetter setter = new OptionSetter(test); in testPollingRun()
158 OptionSetter setter = new OptionSetter(badTest); in testRun_runtimeException()
165 OptionSetter s = new OptionSetter(test); in testRun_runtimeException()
189 OptionSetter setter = new OptionSetter(badTest); in testRun_deviceUnresponsive()
196 OptionSetter s = new OptionSetter(test); in testRun_deviceUnresponsive()
220 OptionSetter setter = new OptionSetter(badTest); in testRun_dnae()
227 OptionSetter s = new OptionSetter(test); in testRun_dnae()
263 OptionSetter setter = new OptionSetter(badTest); in testRun_dnae_reportNotExecuted()
[all …]
DShardHelperTest.java32 import com.android.tradefed.config.OptionSetter;
127 OptionSetter setter = new OptionSetter(options); in testSplitWithShardCount()
133 setter = new OptionSetter(test); in testSplitWithShardCount()
157 OptionSetter setter = new OptionSetter(options); in testSplit_noShardCount()
161 setter = new OptionSetter(test); in testSplit_noShardCount()
186 OptionSetter setter = new OptionSetter(options); in testSplitWithShardCount_notEnoughTest()
191 setter = new OptionSetter(test); in testSplitWithShardCount_notEnoughTest()
229 OptionSetter setter = new OptionSetter(options); in testCloneStatusChecker()
236 setter = new OptionSetter(test); in testCloneStatusChecker()
276 OptionSetter setter = new OptionSetter(options); in testCloneMetricCollector()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceManagerTest.java28 import com.android.tradefed.config.OptionSetter;
74 OptionSetter setter = new OptionSetter(mOptions); in setUp()
205 OptionSetter setter = new OptionSetter(mOptions); in testBuildGceCommand_withServiceAccountJsonKeyFile()
247 OptionSetter setter = new OptionSetter(mOptions); in testBuildGceCommandWithEmulatorBuild()
294 OptionSetter setter = new OptionSetter(mOptions); in testBuildGceCommandWithGceDriverParam()
329 OptionSetter setter = new OptionSetter(mOptions); in testStartGce_timeout()
382 OptionSetter setter = new OptionSetter(mOptions); in testBuildGceCommandWithKernelBuild()
417 OptionSetter setter = new OptionSetter(mOptions); in testStartGce()
474 OptionSetter setter = new OptionSetter(mOptions); in testStartGce_failed()
516 OptionSetter setter = new OptionSetter(mOptions); in testStartGce_bootFail()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreFactoryTest.java24 import com.android.tradefed.config.OptionSetter;
73 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_same()
84 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_modified()
100 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_null()
116 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_primaryFileModified()
133 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_hostBasedFileModified()
150 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_primaryFileNotAccessible()
167 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_hostBasedFileNotAccessible()
183 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_valueOverriddenWhenHostNameMatches()
199 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_valueUnchangedWhenNoHostNameMatch()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DStatsdEventMetricPostProcessorTest.java32 import com.android.tradefed.config.OptionSetter;
61 private OptionSetter mOptionSetter;
81 mOptionSetter = new OptionSetter(mProcessor); in setUp()
126 OptionSetter setter = new OptionSetter(mProcessor); in testFormattingMultipleAtomTypes()
163 OptionSetter setter = new OptionSetter(mProcessor); in testCsvForRepeatedKeys()
192 OptionSetter setter = new OptionSetter(mProcessor); in testNewKeysForAtomsOfSameTypeAndDifferentValues()
220 OptionSetter setter = new OptionSetter(mProcessor); in testAccessingEventMetricDataField()
242 OptionSetter setter = new OptionSetter(mProcessor); in testAccessingRepeatedField()
270 OptionSetter setter = new OptionSetter(mProcessor); in testIgnoresRepeatedFieldInBothKeyAndValue()
289 OptionSetter setter = new OptionSetter(mProcessor); in testIgnoresMultipleRepeatedFieldInKeyOrValue()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DUserCheckerTest.java25 import com.android.tradefed.config.OptionSetter;
63 OptionSetter mOptionSetter = new OptionSetter(checker); in testSwitchIsSuccess()
91 OptionSetter mOptionSetter = new OptionSetter(checker); in testCreateIsSuccess()
120 OptionSetter mOptionSetter = new OptionSetter(checker); in testCreateCleanup()
152 OptionSetter mOptionSetter = new OptionSetter(checker); in testCreateCleanup_cleanupFail()
212 OptionSetter mOptionSetter = new OptionSetter(checker); in testSwitchToSystem()
228 OptionSetter mOptionSetter = new OptionSetter(checker); in testSwitchToSecondary()
244 OptionSetter mOptionSetter = new OptionSetter(checker); in testSwitchToSecondary_fail()
260 OptionSetter mOptionSetter = new OptionSetter(checker); in testSwitchToGuest()
280 OptionSetter mOptionSetter = new OptionSetter(checker); in testCreateSecondary()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java25 import com.android.tradefed.config.OptionSetter;
216 OptionSetter setter = new OptionSetter(mBase); in testIncludeTestCase_optionGroup_noAnnotation()
229 OptionSetter setter = new OptionSetter(mBase); in testIncludeTestCase_optionGroup_differentAnnotationGroup()
242 OptionSetter setter = new OptionSetter(mBase); in testIncludeTestCase_optionGroup_sameAnnotationGroup()
255 OptionSetter setter = new OptionSetter(mBase); in testIncludeTestCase_optionGroup_multiGroup()
279 OptionSetter setter = new OptionSetter(mBase); in testExcludeTestCase_optionGroup_noAnnotation()
292 OptionSetter setter = new OptionSetter(mBase); in testExcludeTestCase_optionGroup_sameGroup()
305 OptionSetter setter = new OptionSetter(mBase); in testExcludeTestCase_optionGroup_multiGroup()
315 OptionSetter setter = new OptionSetter(mBase); in testExcludeTestCase_includeAndExclude()
429 OptionSetter setter = new OptionSetter(mBase); in testActualRunAnnotated_include()
[all …]
DPerfettoPullerMetricCollectorTest.java22 import com.android.tradefed.config.OptionSetter;
75 OptionSetter setter = new OptionSetter(mPerfettoMetricCollector); in testNoProcessingFlow()
93 OptionSetter setter = new OptionSetter(mPerfettoMetricCollector); in testProcessingFlow()
127 OptionSetter setter = new OptionSetter(mPerfettoMetricCollector); in testCompressedProcessingFlow()
164 OptionSetter setter = new OptionSetter(mPerfettoMetricCollector); in testScriptFailureStatus()
198 OptionSetter setter = new OptionSetter(mPerfettoMetricCollector); in testBinaryArgs()
236 OptionSetter setter = new OptionSetter(mPerfettoMetricCollector); in testTraceProcessorArgsDefaults()
282 OptionSetter setter = new OptionSetter(mPerfettoMetricCollector); in testTraceProcessorAdditionalArgs()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceSelectionOptionsTest.java25 import com.android.tradefed.config.OptionSetter;
544 OptionSetter setter = new OptionSetter(mDeviceSelection);
554 OptionSetter setter = new OptionSetter(mDeviceSelection);
566 OptionSetter setter = new OptionSetter(mDeviceSelection);
583 OptionSetter setter = new OptionSetter(mDeviceSelection);
599 OptionSetter setter = new OptionSetter(mDeviceSelection);
609 OptionSetter setter = new OptionSetter(mDeviceSelection);
618 OptionSetter setter = new OptionSetter(mDeviceSelection);
627 OptionSetter setter = new OptionSetter(mDeviceSelection);
638 OptionSetter setter = new OptionSetter(mDeviceSelection);
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java19 import com.android.tradefed.config.OptionSetter;
118 OptionSetter setter = new OptionSetter(mTest); in testRun()
159 OptionSetter setter = new OptionSetter(mTest); in testRun_failWithIncludeFilters()
198 OptionSetter setter = new OptionSetter(mTest); in testRun_withIncludeFilters()
260 OptionSetter setter = new OptionSetter(mTest); in testRun_withExcludeFilters()
323 OptionSetter setter = new OptionSetter(mTest); in testRun_withAdbPath()
366 OptionSetter setter = new OptionSetter(mTest); in testRun_withSharedLibInHostTestsDir()
411 OptionSetter setter = new OptionSetter(mTest); in testRun_withSharedLib()
452 OptionSetter setter = new OptionSetter(mTest); in testRunFail_exception()
498 OptionSetter setter = new OptionSetter(mTest); in testRunFail_failureOnly()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryHostTestTest.java19 import com.android.tradefed.config.OptionSetter;
154 OptionSetter setter = new OptionSetter(mTest); in testRun()
179 OptionSetter setter = new OptionSetter(mTest); in testRun_withAdbPath()
198 OptionSetter setter = new OptionSetter(mTest); in testRunFail_exception()
218 OptionSetter setter = new OptionSetter(mTest); in testRunFail_list()
248 OptionSetter setter = new OptionSetter(mTest); in testRunFail_failureOnly()
268 OptionSetter setter = new OptionSetter(mTest); in testExcludeFilter()
307 OptionSetter setter = new OptionSetter(mTest); in testIncludeExcludeFilter()
351 OptionSetter setter = new OptionSetter(mTest); in testMultipleIncludeExcludeFilter()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java31 import com.android.tradefed.config.OptionSetter;
96 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_doesNotExists()
116 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable()
144 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_relativePath()
178 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_dnae()
229 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_search()
261 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_notFound()
292 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_failure()
338 OptionSetter setter = new OptionSetter(mExecutableTest); in testRunHostExecutable_timeout()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunnerTest.java21 import com.android.tradefed.config.OptionSetter;
104 OptionSetter setter = new OptionSetter(mTest); in setUp()
116 OptionSetter setter = new OptionSetter(mTest); in testRun()
145 OptionSetter setter = new OptionSetter(mTest); in testRun_collectOnly()
175 OptionSetter setter = new OptionSetter(mTest); in testRun_method()
196 OptionSetter setter = new OptionSetter(mTest); in testRun_method_collectOnly()
218 OptionSetter setter = new OptionSetter(mTest); in testRun_excludeFilter_paramMethod()
246 OptionSetter setter = new OptionSetter(mTest); in testRun_ignored()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupTest.java26 import com.android.tradefed.config.OptionSetter;
202 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_checkMinSdk_failParsing()
234 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_checkMinSdk_apiLow()
264 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_checkMinSdk_apiOk()
294 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_executePostInstall()
312 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_uninstallAll_noPackage()
329 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_uninstallAll()
348 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_uninstallAll_fails()

1234567