Home
last modified time | relevance | path

Searched refs:setter (Results 1 – 25 of 103) sorted by relevance

12345

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DBaseTestSuiteTest.java110 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_noMatch() local
111 setter.setOptionValue("module", "my_module"); in testSetupFilters_noMatch()
127 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_match_parameterized() local
128 setter.setOptionValue("module", "Gesture"); in testSetupFilters_match_parameterized()
159 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_parameterized_filter() local
160 setter.setOptionValue("enable-parameterized-modules", "true"); in testSetupFilters_parameterized_filter()
162 setter.setOptionValue("module", "Gesture"); in testSetupFilters_parameterized_filter()
189 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_match() local
190 setter.setOptionValue("module", "Gesture"); in testSetupFilters_match()
213 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_oneMatch() local
[all …]
DAtestRunnerTest.java67 private OptionSetter setter; field in AtestRunnerTest
92 setter = new OptionSetter(mSpyRunner); in testLoadTests_one()
93 setter.setOptionValue("suite-config-prefix", "tf"); in testLoadTests_one()
94 setter.setOptionValue("include-filter", "tf/fake"); in testLoadTests_one()
102 setter = new OptionSetter(mSpyRunner); in testLoadTests_two()
103 setter.setOptionValue("suite-config-prefix", "tf"); in testLoadTests_two()
104 setter.setOptionValue("include-filter", "tf/fake"); in testLoadTests_two()
105 setter.setOptionValue("include-filter", "tf/func"); in testLoadTests_two()
114 setter = new OptionSetter(mSpyRunner); in testLoadTests_filter()
115 setter.setOptionValue("suite-config-prefix", "tf"); in testLoadTests_filter()
[all …]
DTfSuiteRunnerTest.java113 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests() local
114 setter.setOptionValue("suite-config-prefix", "suite"); in testLoadTests()
115 setter.setOptionValue("run-suite-tag", "example-suite"); in testLoadTests()
130 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite2() local
131 setter.setOptionValue("suite-config-prefix", "suite"); in testLoadTests_suite2()
132 setter.setOptionValue("run-suite-tag", "example-suite2"); in testLoadTests_suite2()
142 OptionSetter setter = new OptionSetter(mRunner); in testSplit() local
143 setter.setOptionValue("suite-config-prefix", "suite"); in testSplit()
144 setter.setOptionValue("run-suite-tag", "example-suite"); in testSplit()
158 OptionSetter setter = new OptionSetter(mRunner); in testSplit_nothingToLoad() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreFactoryTest.java73 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_same() local
74 setter.setOptionValue("json-key-store-file", mJsonFile.getAbsolutePath()); in testLoadKeyStore_same()
84 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_modified() local
85 setter.setOptionValue("json-key-store-file", mJsonFile.getAbsolutePath()); in testLoadKeyStore_modified()
100 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_null() local
101 setter.setOptionValue("json-key-store-file", mJsonFile.getAbsolutePath()); in testLoadKeyStore_null()
116 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_primaryFileModified() local
117 setter.setOptionValue("json-key-store-file", mJsonFile.getAbsolutePath()); in testLoadKeyStore_primaryFileModified()
118 setter.setOptionValue("host-based-key-store-file", mJsonFile2.getAbsolutePath()); in testLoadKeyStore_primaryFileModified()
133 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_hostBasedFileModified() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparerTest.java66 OptionSetter setter = new OptionSetter(mPreparer); in testMergeFiles() local
67 setter.setOptionValue("src-device", "device1"); in testMergeFiles()
68 setter.setOptionValue("dest-device", "device2"); in testMergeFiles()
69 setter.setOptionValue("key-to-copy", EXAMPLE_KEY); in testMergeFiles()
89 OptionSetter setter = new OptionSetter(mPreparer); in testMergeFiles_collision() local
90 setter.setOptionValue("src-device", "device1"); in testMergeFiles_collision()
91 setter.setOptionValue("dest-device", "device2"); in testMergeFiles_collision()
92 setter.setOptionValue("key-to-copy", EXAMPLE_KEY); in testMergeFiles_collision()
109 OptionSetter setter = new OptionSetter(mPreparer); in testMergeFiles_keyNotFound() local
110 setter.setOptionValue("src-device", "device1"); in testMergeFiles_keyNotFound()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollectorTest.java75 OptionSetter setter = new OptionSetter(mPerfettoMetricCollector); in testNoProcessingFlow() local
76 setter.setOptionValue("pull-pattern-keys", "perfettofile"); in testNoProcessingFlow()
93 OptionSetter setter = new OptionSetter(mPerfettoMetricCollector); in testProcessingFlow() local
94 setter.setOptionValue("pull-pattern-keys", "perfettofile"); in testProcessingFlow()
95 setter.setOptionValue("perfetto-binary-path", "trx"); in testProcessingFlow()
96 setter.setOptionValue("convert-metric-file", "false"); in testProcessingFlow()
127 OptionSetter setter = new OptionSetter(mPerfettoMetricCollector); in testCompressedProcessingFlow() local
128 setter.setOptionValue("pull-pattern-keys", "perfettofile"); in testCompressedProcessingFlow()
129 setter.setOptionValue("perfetto-binary-path", "trx"); in testCompressedProcessingFlow()
130 setter.setOptionValue("compress-perfetto", "true"); in testCompressedProcessingFlow()
[all …]
DScheduleMultipleDeviceMetricCollectorTest.java132 OptionSetter setter = new OptionSetter(mMultipleMetricCollector); in testMultipleMetricCollector_success() local
136 setter.setOptionValue("metric-storage-path", metricStoragePath.toString()); in testMultipleMetricCollector_success()
144 setter.setOptionValue( in testMultipleMetricCollector_success()
154 setter.setOptionValue("metric-collector-command-classes", key); in testMultipleMetricCollector_success()
204 OptionSetter setter = new OptionSetter(mMultipleMetricCollector); in testMultipleMetricCollector_collectorNotFound() local
208 setter.setOptionValue("metric-storage-path", metricStoragePath.toString()); in testMultipleMetricCollector_collectorNotFound()
214 setter.setOptionValue( in testMultipleMetricCollector_collectorNotFound()
223 setter.setOptionValue("metric-collector-command-classes", key); in testMultipleMetricCollector_collectorNotFound()
252 OptionSetter setter = new OptionSetter(mMultipleMetricCollector); in testMultipleMetricCollector_failsForNonNegativeInterval() local
255 setter.setOptionValue("metric-storage-path", folder.newFolder().toString()); in testMultipleMetricCollector_failsForNonNegativeInterval()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java127 OptionSetter setter = new OptionSetter(options); in testSplitWithShardCount() local
129 setter.setOptionValue("shard-count", "3"); in testSplitWithShardCount()
133 setter = new OptionSetter(test); in testSplitWithShardCount()
136 setter.setOptionValue("num-shards", "5"); in testSplitWithShardCount()
157 OptionSetter setter = new OptionSetter(options); in testSplit_noShardCount() local
161 setter = new OptionSetter(test); in testSplit_noShardCount()
162 setter.setOptionValue("num-shards", "5"); in testSplit_noShardCount()
186 OptionSetter setter = new OptionSetter(options); in testSplitWithShardCount_notEnoughTest() local
187 setter.setOptionValue("shard-count", "10"); in testSplitWithShardCount_notEnoughTest()
191 setter = new OptionSetter(test); in testSplitWithShardCount_notEnoughTest()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DDynamicRemoteFileResolverTest.java122 OptionSetter setter = new OptionSetter(object); in testResolve() local
123 setter.setOptionValue("remote-file", "gs://fake/path"); in testResolve()
134 Set<File> downloadedFile = setter.validateRemoteFilePath(mResolver); in testResolve()
147 OptionSetter setter = new OptionSetter(object); in testResolveWithQuery() local
151 setter.setOptionValue("remote-file", "gs://fake/path?key=value"); in testResolveWithQuery()
163 Set<File> downloadedFile = setter.validateRemoteFilePath(mResolver); in testResolveWithQuery()
174 OptionSetter setter = new OptionSetter(object); in testResolveWithQuery_overrides() local
178 setter.setOptionValue("remote-file", "gs://fake/path?key=value"); in testResolveWithQuery_overrides()
191 Set<File> downloadedFile = setter.validateRemoteFilePath(mResolver); in testResolveWithQuery_overrides()
203 OptionSetter setter = new OptionSetter(object); in testResolveOptional() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DStatsdEventMetricPostProcessorTest.java126 OptionSetter setter = new OptionSetter(mProcessor); in testFormattingMultipleAtomTypes() local
127 setter.setOptionValue( in testFormattingMultipleAtomTypes()
131 setter.setOptionValue( in testFormattingMultipleAtomTypes()
133 setter.setOptionValue( in testFormattingMultipleAtomTypes()
163 OptionSetter setter = new OptionSetter(mProcessor); in testCsvForRepeatedKeys() local
164 setter.setOptionValue( in testCsvForRepeatedKeys()
192 OptionSetter setter = new OptionSetter(mProcessor); in testNewKeysForAtomsOfSameTypeAndDifferentValues() local
193 setter.setOptionValue( in testNewKeysForAtomsOfSameTypeAndDifferentValues()
220 OptionSetter setter = new OptionSetter(mProcessor); in testAccessingEventMetricDataField() local
221 setter.setOptionValue( in testAccessingEventMetricDataField()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DMainlineTestModuleControllerTest.java65 OptionSetter setter = new OptionSetter(mController); in testModuleExistsRun() local
66 setter.setOptionValue("enable", "true"); in testModuleExistsRun()
67 setter.setOptionValue("mainline-module-package-name", "com.google.android.fakeapex"); in testModuleExistsRun()
81 OptionSetter setter = new OptionSetter(mController); in testModuleNotInstalledTestRun() local
82 setter.setOptionValue("enable", "true"); in testModuleNotInstalledTestRun()
83 setter.setOptionValue("mainline-module-package-name", "com.google.android.fakeapex"); in testModuleNotInstalledTestRun()
97 OptionSetter setter = new OptionSetter(mController); in testControllerDisabled() local
98 setter.setOptionValue("enable", "false"); in testControllerDisabled()
108 OptionSetter setter = new OptionSetter(mController); in testControllerEnabledNoMainlineModuleSpecified() local
109 setter.setOptionValue("enable", "true"); in testControllerEnabledNoMainlineModuleSpecified()
DMinApiLevelModuleControllerTest.java65 OptionSetter setter = new OptionSetter(mController); in testDeviceApiLevelLowerThanMinApiLevel() local
66 setter.setOptionValue("api-level-prop", mApiLevelProp); in testDeviceApiLevelLowerThanMinApiLevel()
67 setter.setOptionValue("min-api-level", "29"); in testDeviceApiLevelLowerThanMinApiLevel()
80 OptionSetter setter = new OptionSetter(mController); in testDeviceApiLevelHigherThanMinApiLevel() local
81 setter.setOptionValue("api-level-prop", mApiLevelProp); in testDeviceApiLevelHigherThanMinApiLevel()
82 setter.setOptionValue("min-api-level", "27"); in testDeviceApiLevelHigherThanMinApiLevel()
95 OptionSetter setter = new OptionSetter(mController); in testDeviceApiLevelNotFound() local
96 setter.setOptionValue("api-level-prop", mApiLevelProp); in testDeviceApiLevelNotFound()
97 setter.setOptionValue("min-api-level", "27"); in testDeviceApiLevelNotFound()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DRunCommandTargetPreparerTest.java72 OptionSetter setter = new OptionSetter(mPreparer); in testSetUp() local
73 setter.setOptionValue("run-command", command); in testSetUp()
90 OptionSetter setter = new OptionSetter(mPreparer); in testSetUp_withTimeout() local
91 setter.setOptionValue("run-command", command); in testSetUp_withTimeout()
92 setter.setOptionValue("run-command-timeout", "100"); in testSetUp_withTimeout()
116 OptionSetter setter = new OptionSetter(mPreparer); in testDisabled() local
117 setter.setOptionValue("run-command", command); in testDisabled()
118 setter.setOptionValue("disable", "true"); in testDisabled()
131 OptionSetter setter = new OptionSetter(mPreparer); in testTearDown() local
132 setter.setOptionValue("teardown-command", command); in testTearDown()
[all …]
DRootTargetPreparerTest.java89 OptionSetter setter = new OptionSetter(mRootTargetPreparer); in testSetUpSuccess_rootBefore_forceUnroot() local
90 setter.setOptionValue("force-root", "false"); in testSetUpSuccess_rootBefore_forceUnroot()
104 OptionSetter setter = new OptionSetter(mRootTargetPreparer); in testSetUpSuccess_notRootBefore_forceUnroot() local
105 setter.setOptionValue("force-root", "false"); in testSetUpSuccess_notRootBefore_forceUnroot()
117 OptionSetter setter = new OptionSetter(mRootTargetPreparer); in testSetUpFail_forceUnroot() local
118 setter.setOptionValue("force-root", "false"); in testSetUpFail_forceUnroot()
130 OptionSetter setter = new OptionSetter(mRootTargetPreparer); in testSetUpFail_forceRoot_ignoresFailure() local
131 setter.setOptionValue("throw-on-error", "false"); in testSetUpFail_forceRoot_ignoresFailure()
145 OptionSetter setter = new OptionSetter(mRootTargetPreparer); in testSetUpFail_forceUnroot_ignoresFailure() local
146 setter.setOptionValue("force-root", "false"); in testSetUpFail_forceUnroot_ignoresFailure()
[all …]
DAppSetupTest.java202 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_checkMinSdk_failParsing() local
203 setter.setOptionValue("check-min-sdk", "true"); in testSetup_checkMinSdk_failParsing()
234 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_checkMinSdk_apiLow() local
235 setter.setOptionValue("check-min-sdk", "true"); in testSetup_checkMinSdk_apiLow()
264 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_checkMinSdk_apiOk() local
265 setter.setOptionValue("check-min-sdk", "true"); in testSetup_checkMinSdk_apiOk()
294 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_executePostInstall() local
295 setter.setOptionValue("install", "false"); in testSetup_executePostInstall()
296 setter.setOptionValue("post-install-cmd", fakeCmd); in testSetup_executePostInstall()
312 OptionSetter setter = new OptionSetter(mAppSetup); in testSetup_uninstallAll_noPackage() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunnerTest.java104 OptionSetter setter = new OptionSetter(mTest); in setUp() local
106 setter.setOptionValue("enable-pretty-logs", "false"); in setUp()
116 OptionSetter setter = new OptionSetter(mTest); in testRun() local
117 setter.setOptionValue("class", TestJUnitParamsClass.class.getName()); in testRun()
145 OptionSetter setter = new OptionSetter(mTest); in testRun_collectOnly() local
146 setter.setOptionValue("class", TestJUnitParamsClass.class.getName()); in testRun_collectOnly()
175 OptionSetter setter = new OptionSetter(mTest); in testRun_method() local
176 setter.setOptionValue("class", TestJUnitParamsClass.class.getName()); in testRun_method()
177 setter.setOptionValue("method", "testTwo[0]"); in testRun_method()
196 OptionSetter setter = new OptionSetter(mTest); in testRun_method_collectOnly() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DFileLoggerTest.java153 OptionSetter setter = new OptionSetter(logger); in testClone() local
154 setter.setOptionValue("max-log-size", "500"); in testClone()
155 setter.setOptionValue("log-level", "INFO"); in testClone()
170 OptionSetter setter = new OptionSetter(logger); in testFilteringComponent() local
171 setter.setOptionValue("component-verbosity", "test", LogLevel.DEBUG.toString()); in testFilteringComponent()
172 setter.setOptionValue("component-verbosity", "target_preparer", LogLevel.ERROR.toString()); in testFilteringComponent()
173 setter.setOptionValue("component-verbosity", "build_provider", LogLevel.ERROR.toString()); in testFilteringComponent()
194 OptionSetter setter = new OptionSetter(logger); in testFiltering_classVerbosity() local
195 setter.setOptionValue("class-verbosity", "StubTest", LogLevel.WARN.toString()); in testFiltering_classVerbosity()
196 setter.setOptionValue("component-verbosity", "test", LogLevel.INFO.toString()); in testFiltering_classVerbosity()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmd8475a.py1204 @gateway_ipv4addr.setter
1228 @gateway_ipv6addr.setter
1252 @usim_key.setter
1445 @csfb_type.setter
1471 @csfb_return_to_eutran.setter
1616 @procedure.setter
1643 @bts_direction.setter
1674 @registration_timeout.setter
1698 @power_control.setter
1726 @measurement_LTE.setter
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DEnforcedSeLinuxCheckerTest.java47 OptionSetter setter = new OptionSetter(mChecker); in testEnforced() local
48 setter.setOptionValue("expect-enforced", "true"); in testEnforced()
58 OptionSetter setter = new OptionSetter(mChecker); in testPermissive() local
59 setter.setOptionValue("expect-enforced", "false"); in testPermissive()
69 OptionSetter setter = new OptionSetter(mChecker); in testEnforced_failed() local
70 setter.setOptionValue("expect-enforced", "true"); in testEnforced_failed()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DSubprocessResultsReporterTest.java76 OptionSetter setter = new OptionSetter(mReporter); in testPrintEvent_printToFile() local
79 setter.setOptionValue("subprocess-report-file", tmpReportFile.getAbsolutePath()); in testPrintEvent_printToFile()
99 OptionSetter setter = new OptionSetter(mReporter); in testPrintEvent_nonWritableFile() local
105 setter.setOptionValue("subprocess-report-file", tmpReportFile.getAbsolutePath()); in testPrintEvent_nonWritableFile()
127 OptionSetter setter = new OptionSetter(mReporter); in testPrintEvent_printToSocket() local
128 setter.setOptionValue("subprocess-report-port", in testPrintEvent_printToSocket()
166 OptionSetter setter = new OptionSetter(mReporter); in testPrintEvent_printToSocket_StructuredFailures() local
167 setter.setOptionValue( in testPrintEvent_printToSocket_StructuredFailures()
239 OptionSetter setter = new OptionSetter(mReporter); in testTestLog() local
240 setter.setOptionValue( in testTestLog()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcmw500.py237 @use_carrier_specific.setter
373 @rrc_connection.setter
391 @rrc_connection_timer.setter
407 @dl_mac_padding.setter
422 @connection_type.setter
469 @duplex_mode.setter
488 @band.setter
504 @dl_channel.setter
521 @ul_channel.setter
538 @bandwidth.setter
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceSelectionOptionsTest.java544 OptionSetter setter = new OptionSetter(mDeviceSelection);
545 setter.setOptionValue("require-battery-check", "true");
546 setter.setOptionValue("min-battery", "20");
547 setter.setOptionValue("null-device", "true");
554 OptionSetter setter = new OptionSetter(mDeviceSelection);
555 setter.setOptionValue("require-battery-check", "true");
556 setter.setOptionValue("null-device", "true");
566 OptionSetter setter = new OptionSetter(mDeviceSelection);
567 setter.setOptionValue("min-battery", "20");
583 OptionSetter setter = new OptionSetter(mDeviceSelection);
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DNoisyDryRunTestTest.java105 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun() local
106 setter.setOptionValue("cmdfile", mFile.getAbsolutePath()); in testRun()
132 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun_withKeystore() local
133 setter.setOptionValue("cmdfile", mFile.getAbsolutePath()); in testRun_withKeystore()
149 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun_invalidCmdFile() local
150 setter.setOptionValue("cmdfile", mFile.getAbsolutePath()); in testRun_invalidCmdFile()
175 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testRun_invalidCmdLine() local
176 setter.setOptionValue("cmdfile", mFile.getAbsolutePath()); in testRun_invalidCmdLine()
195 OptionSetter setter = new OptionSetter(noisyDryRunTest); in testCheckFileWithTimeout() local
196 setter.setOptionValue("timeout", "7000"); in testCheckFileWithTimeout()
[all …]
DJarHostTestTest.java78 OptionSetter setter = new OptionSetter(mTest); in setUp() local
79 setter.setOptionValue("enable-pretty-logs", "false"); in setUp()
141 OptionSetter setter = new OptionSetter(mTest); in testSplit_withJar() local
142 setter.setOptionValue("enable-pretty-logs", "false"); in testSplit_withJar()
143 setter.setOptionValue("jar", testJar.getName()); in testSplit_withJar()
221 OptionSetter setter = new OptionSetter(mTest); in testSplit_countWithFilter() local
222 setter.setOptionValue("enable-pretty-logs", "false"); in testSplit_countWithFilter()
223 setter.setOptionValue("jar", testJar.getName()); in testSplit_countWithFilter()
225 setter.setOptionValue("class", "android.ui.cts.TestClass8"); in testSplit_countWithFilter()
265 OptionSetter setter = new OptionSetter(mTest); in testCountTestFails() local
[all …]
DHostTestTest.java602 OptionSetter setter = new OptionSetter(mHostTest); in setUp() local
604 setter.setOptionValue("enable-pretty-logs", "false"); in setUp()
682 OptionSetter setter = new OptionSetter(mHostTest); in testRun_MetricTestCase_withOption() local
683 setter.setOptionValue("set-option", "test-option:test"); in testRun_MetricTestCase_withOption()
685 setter.setOptionValue("set-option", "list-option:test1"); in testRun_MetricTestCase_withOption()
686 setter.setOptionValue("set-option", "list-option:test2"); in testRun_MetricTestCase_withOption()
688 setter.setOptionValue("set-option", "map-option:key=value"); in testRun_MetricTestCase_withOption()
860 OptionSetter setter = new OptionSetter(mHostTest); in testRun_multipleClass() local
861 setter.setOptionValue("class", SuccessTestCase.class.getName()); in testRun_multipleClass()
862 setter.setOptionValue("class", AnotherTestCase.class.getName()); in testRun_multipleClass()
[all …]

12345