/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | BaseTestSuiteTest.java | 111 setter.setOptionValue("module", "my_module"); in testSetupFilters_noMatch() 128 setter.setOptionValue("module", "Gesture"); in testSetupFilters_match_parameterized() 160 setter.setOptionValue("enable-parameterized-modules", "true"); in testSetupFilters_parameterized_filter() 162 setter.setOptionValue("module", "Gesture"); in testSetupFilters_parameterized_filter() 190 setter.setOptionValue("module", "Gesture"); in testSetupFilters_match() 214 setter.setOptionValue("module", "module_name2"); in testSetupFilters_oneMatch() 238 setter.setOptionValue("module", "module_name"); in testSetupFilters_multiMatchNoExactMatch() 261 setter.setOptionValue("module", "module_name"); in testSetupFilters_multiMatchOneExactMatch() 280 setter.setOptionValue("suite-config-prefix", "suite"); in testLoadTests() 281 setter.setOptionValue("run-suite-tag", "example-suite"); in testLoadTests() [all …]
|
D | AtestRunnerTest.java | 93 setter.setOptionValue("suite-config-prefix", "tf"); in testLoadTests_one() 94 setter.setOptionValue("include-filter", "tf/fake"); in testLoadTests_one() 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() 115 setter.setOptionValue("suite-config-prefix", "tf"); in testLoadTests_filter() 116 setter.setOptionValue("include-filter", "tf/uiautomator"); in testLoadTests_filter() 117 setter.setOptionValue("atest-include-filter", "tf/uiautomator:" + classA); in testLoadTests_filter() 118 setter.setOptionValue("atest-include-filter", "tf/uiautomator:" + classB + "#" + method1); in testLoadTests_filter() 136 setter.setOptionValue("suite-config-prefix", "suite"); in testLoadTests_WithTFConfigSpecified() [all …]
|
D | TfSuiteRunnerTest.java | 114 setter.setOptionValue("suite-config-prefix", "suite"); in testLoadTests() 115 setter.setOptionValue("run-suite-tag", "example-suite"); in testLoadTests() 131 setter.setOptionValue("suite-config-prefix", "suite"); in testLoadTests_suite2() 132 setter.setOptionValue("run-suite-tag", "example-suite2"); in testLoadTests_suite2() 143 setter.setOptionValue("suite-config-prefix", "suite"); in testSplit() 144 setter.setOptionValue("run-suite-tag", "example-suite"); in testSplit() 159 setter.setOptionValue("suite-config-prefix", "doesnotexists"); in testSplit_nothingToLoad() 160 setter.setOptionValue("run-suite-tag", "doesnotexists"); in testSplit_nothingToLoad() 171 setter.setOptionValue("suite-config-prefix", "suite"); in testLoadSuite_noSubConfigs() 172 setter.setOptionValue("run-suite-tag", "test-empty"); in testLoadSuite_noSubConfigs() [all …]
|
D | TestMappingSuiteRunnerTest.java | 109 mOptionSetter.setOptionValue("suite-config-prefix", "suite"); in setUp() 197 mOptionSetter.setOptionValue("include-filter", "test1"); in testLoadTests_conflictTestGroup() 198 mOptionSetter.setOptionValue("test-mapping-test-group", "group"); in testLoadTests_conflictTestGroup() 208 mOptionSetter.setOptionValue("include-filter", "test1"); in testLoadTests_conflictOptions() 209 mOptionSetter.setOptionValue("test-mapping-path", "path1"); in testLoadTests_conflictOptions() 225 mOptionSetter.setOptionValue("include-filter", "test1"); in testLoadTests_conflictKeyword() 226 mOptionSetter.setOptionValue("test-mapping-keyword", "key1"); in testLoadTests_conflictKeyword() 237 mOptionSetter.setOptionValue("test-mapping-test-group", "postsubmit"); in testLoadTests_testMappingsZip() 306 mOptionSetter.setOptionValue("test-mapping-keyword", "key_1"); in testLoadTests_testMappingsZipFoundTestsWithKeywords() 307 mOptionSetter.setOptionValue("test-mapping-test-group", "presubmit"); in testLoadTests_testMappingsZipFoundTestsWithKeywords() [all …]
|
D | ITestSuiteTest.java | 432 setter.setOptionValue("reboot-before-test", "true"); in testRun() 457 setter.setOptionValue("reboot-before-test", "true"); in testRun_whiteListPreparer() 458 setter.setOptionValue( in testRun_whiteListPreparer() 542 setter.setOptionValue("report-system-checkers", "true"); in testRun_failedSystemChecker_reportFailure() 581 setter.setOptionValue("report-system-checkers", "true"); in testRun_failedSystemChecker_reportFailure_bugreport() 633 setter.setOptionValue("skip-all-system-status-check", "true"); in testRun_rebootBeforeModule() 634 setter.setOptionValue("reboot-per-module", "true"); in testRun_rebootBeforeModule() 682 setter.setOptionValue("skip-all-system-status-check", "true"); in testRun_unresponsiveDevice() 683 setter.setOptionValue("reboot-per-module", "true"); in testRun_unresponsiveDevice() 741 setter.setOptionValue("skip-all-system-status-check", "true"); in testRun_deviceUnavailable() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | AtraceCollectorTest.java | 73 mOptionSetter.setOptionValue("categories", M_CATEGORIES); in setUp() 138 mOptionSetter.setOptionValue("compress-dump", "false"); in testStartsAtraceOnSetupNoCompression() 189 mOptionSetter.setOptionValue("categories", freqCategory); in testStartsAtraceOnSetupMultipleCategoriesOption() 190 mOptionSetter.setOptionValue("categories", schedCategory); in testStartsAtraceOnSetupMultipleCategoriesOption() 268 mOptionSetter.setOptionValue("preserve-ondevice-log", "true"); in testPreserveFileOnDeviceOption() 332 mOptionSetter.setOptionValue("compress-dump", "false"); in testUploadsLogWithoutCompression() 371 optionSetter.setOptionValue("categories", M_CATEGORIES); in testMultipleDeviceBehavior() 408 mOptionSetter.setOptionValue("post-process-binary", mDummyBinary.getAbsolutePath()); in testExecutesPostProcessPar() 409 mOptionSetter.setOptionValue("post-process-input-file-key", "TRACEF"); in testExecutesPostProcessPar() 410 mOptionSetter.setOptionValue("post-process-args", "-i"); in testExecutesPostProcessPar() [all …]
|
D | PerfettoPullerMetricCollectorTest.java | 76 setter.setOptionValue("pull-pattern-keys", "perfettofile"); in testNoProcessingFlow() 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() 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() 131 setter.setOptionValue("convert-metric-file", "false"); in testCompressedProcessingFlow() 165 setter.setOptionValue("pull-pattern-keys", "perfettofile"); in testScriptFailureStatus() 166 setter.setOptionValue("perfetto-binary-path", "trx"); in testScriptFailureStatus() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | PerfettoGenericPostProcessorTest.java | 91 mOptionSetter.setOptionValue(PREFIX_OPTION, PREFIX_OPTION_VALUE); in testNoMetricsByDefault() 92 mOptionSetter.setOptionValue(INDEX_OPTION, "perfetto.protos.AndroidStartupMetric.startup"); in testNoMetricsByDefault() 113 mOptionSetter.setOptionValue(PREFIX_OPTION, PREFIX_OPTION_VALUE); in testMetricsFilterWithRegEx() 114 mOptionSetter.setOptionValue(INDEX_OPTION, "perfetto.protos.AndroidStartupMetric.startup"); in testMetricsFilterWithRegEx() 115 mOptionSetter.setOptionValue(REGEX_OPTION_VALUE, "android_startup-startup-1.*"); in testMetricsFilterWithRegEx() 140 mOptionSetter.setOptionValue(PREFIX_OPTION, PREFIX_OPTION_VALUE); in testMetricsFilterWithRegExAndReplacePrefix() 141 mOptionSetter.setOptionValue(INDEX_OPTION, "perfetto.protos.AndroidStartupMetric.startup"); in testMetricsFilterWithRegExAndReplacePrefix() 142 mOptionSetter.setOptionValue(REGEX_OPTION_VALUE, "android_startup-startup-1.*"); in testMetricsFilterWithRegExAndReplacePrefix() 143 mOptionSetter.setOptionValue(REPLACE_REGEX_OPTION, "android_startup-startup-1", in testMetricsFilterWithRegExAndReplacePrefix() 171 mOptionSetter.setOptionValue(PREFIX_OPTION, PREFIX_OPTION_VALUE); in testAllMetricsOptionIgnoresFilter() [all …]
|
D | StatsdEventMetricPostProcessorTest.java | 90 mOptionSetter.setOptionValue("statsd-report-data-prefix", REPORT_PREFIX); in setUp() 100 mOptionSetter.setOptionValue( in testFormattingSingleAtom() 102 mOptionSetter.setOptionValue( in testFormattingSingleAtom() 127 setter.setOptionValue( in testFormattingMultipleAtomTypes() 131 setter.setOptionValue( in testFormattingMultipleAtomTypes() 133 setter.setOptionValue( in testFormattingMultipleAtomTypes() 164 setter.setOptionValue( in testCsvForRepeatedKeys() 193 setter.setOptionValue( in testNewKeysForAtomsOfSameTypeAndDifferentValues() 221 setter.setOptionValue( in testAccessingEventMetricDataField() 243 setter.setOptionValue( in testAccessingRepeatedField() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | HostTestTest.java | 607 setter.setOptionValue("enable-pretty-logs", "false"); in setUp() 686 setter.setOptionValue("set-option", "test-option:test"); in testRun_MetricTestCase_withOption() 688 setter.setOptionValue("set-option", "list-option:test1"); in testRun_MetricTestCase_withOption() 689 setter.setOptionValue("set-option", "list-option:test2"); in testRun_MetricTestCase_withOption() 691 setter.setOptionValue("set-option", "map-option:key=value"); in testRun_MetricTestCase_withOption() 864 setter.setOptionValue("class", SuccessTestCase.class.getName()); in testRun_multipleClass() 865 setter.setOptionValue("class", AnotherTestCase.class.getName()); in testRun_multipleClass() 894 setter.setOptionValue("class", SuccessTestCase.class.getName()); in testRun_multipleClassAndMethodName() 895 setter.setOptionValue("class", AnotherTestCase.class.getName()); in testRun_multipleClassAndMethodName() 913 setter.setOptionValue("set-option", "option:value"); in testRun_deviceTest() [all …]
|
D | ClangCodeCoverageListenerTest.java | 132 mCoverageOptionsSetter.setOptionValue("coverage", "true"); in clangCoverageDisabled_noCoverageLog() 145 mCoverageOptionsSetter.setOptionValue("coverage", "true"); in coverageFlushEnabled_flushCalled() 146 mCoverageOptionsSetter.setOptionValue("coverage-toolchain", "CLANG"); in coverageFlushEnabled_flushCalled() 147 mCoverageOptionsSetter.setOptionValue("coverage-flush", "true"); in coverageFlushEnabled_flushCalled() 165 mCoverageOptionsSetter.setOptionValue("coverage", "true"); in testRun_logsCoverageFile() 166 mCoverageOptionsSetter.setOptionValue("coverage-toolchain", "CLANG"); in testRun_logsCoverageFile() 202 mCoverageOptionsSetter.setOptionValue("coverage", "true"); in testOtherFileTypes_ignored() 203 mCoverageOptionsSetter.setOptionValue("coverage-toolchain", "CLANG"); in testOtherFileTypes_ignored() 236 mCoverageOptionsSetter.setOptionValue("coverage", "true"); in testNoClangMeasurements_noLogFile() 237 mCoverageOptionsSetter.setOptionValue("coverage-toolchain", "CLANG"); in testNoClangMeasurements_noLogFile() [all …]
|
D | HostGTestTest.java | 152 setter.setOptionValue("test-filter-key", testFilterKey); in testLoadFilter() 186 mSetter.setOptionValue("before-test-cmd", dirPath + File.separator + "cmd1"); in testRunTest() 187 mSetter.setOptionValue("before-test-cmd", dirPath + File.separator + "cmd2"); in testRunTest() 188 mSetter.setOptionValue("after-test-cmd", dirPath + File.separator + "cmd3"); in testRunTest() 189 mSetter.setOptionValue("after-test-cmd", dirPath + File.separator + "cmd4"); in testRunTest() 190 mSetter.setOptionValue("module-name", moduleName); in testRunTest() 223 mSetter.setOptionValue("module-name", moduleName); in testRun_priority_get_testcase_from_hostlinked_folder() 250 mSetter.setOptionValue("module-name", moduleName); in testRun_get_testcase_from_testcases_folder_if_no_hostlinked_dir_set() 266 mSetter.setOptionValue("module-name", moduleName); in testRun_can_not_find_testcase() 289 mSetter.setOptionValue("module-name", moduleName); in testRun_withSuffix() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | PushFilePreparerTest.java | 81 mOptionSetter.setOptionValue("push-file", "/noexist", "/data/"); in testLocalNoExist() 82 mOptionSetter.setOptionValue("post-push", "ls /"); in testLocalNoExist() 97 mOptionSetter.setOptionValue("push-file", "/bin/sh", "/noexist/"); in testRemoteNoExist() 98 mOptionSetter.setOptionValue("post-push", "ls /"); in testRemoteNoExist() 127 mOptionSetter.setOptionValue("push-file", "perf_test", "/data/local/tmp/"); in testPushFile_RemoteIsDir() 151 mOptionSetter.setOptionValue("push-file", "perf_test", "/data/local/tmp/perf_test1"); in testPushFile_duplicateKey() 152 mOptionSetter.setOptionValue("push-file", "perf_test", "/data/local/tmp/perf_test2"); in testPushFile_duplicateKey() 182 mOptionSetter.setOptionValue("push-file", "perf_test", "/data/local/tmp/"); in testPushDir_RemoteIsDir() 210 mOptionSetter.setOptionValue("push-file", "perf_test", "/data/local/tmp/file"); in testPushDir_RemoteIsFile() 242 mOptionSetter.setOptionValue("push-file", "perf_test", "/data/local/tmp/perf_test"); in testRemotePush_override() [all …]
|
D | TestAppInstallSetupTest.java | 118 mSetter.setOptionValue("cleanup-apks", "true"); in setUp() 119 mSetter.setOptionValue("test-file-name", APK_NAME); in setUp() 120 mSetter.setOptionValue( in setUp() 175 mSetter.setOptionValue("cleanup-apks", "true"); in testSetupAndTeardown_install_package_only() 176 mSetter.setOptionValue("test-file-name", APK_NAME); in testSetupAndTeardown_install_package_only() 187 mSetter.setOptionValue("cleanup-apks", "true"); in testSetupAndTeardown_install_packages_only() 200 setter.setOptionValue("instant-mode", "true"); in testSetup_instantMode() 223 mSetter.setOptionValue("test-file-name", APK_NAME); in testSetup_abi() 251 setter.setOptionValue("instant-mode", "true"); in testSetup_forceMode() 252 setter.setOptionValue("force-install-mode", "FULL"); in testSetup_forceMode() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/ |
D | JSONFileKeyStoreFactoryTest.java | 74 setter.setOptionValue("json-key-store-file", mJsonFile.getAbsolutePath()); in testLoadKeyStore_same() 85 setter.setOptionValue("json-key-store-file", mJsonFile.getAbsolutePath()); in testLoadKeyStore_modified() 101 setter.setOptionValue("json-key-store-file", mJsonFile.getAbsolutePath()); in testLoadKeyStore_null() 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() 134 setter.setOptionValue("json-key-store-file", mJsonFile.getAbsolutePath()); in testLoadKeyStore_hostBasedFileModified() 135 setter.setOptionValue("host-based-key-store-file", mJsonFile2.getAbsolutePath()); in testLoadKeyStore_hostBasedFileModified() 151 setter.setOptionValue("json-key-store-file", mJsonFile.getAbsolutePath()); in testLoadKeyStore_primaryFileNotAccessible() 152 setter.setOptionValue("host-based-key-store-file", mJsonFile2.getAbsolutePath()); in testLoadKeyStore_primaryFileNotAccessible() 168 setter.setOptionValue("json-key-store-file", mJsonFile.getAbsolutePath()); in testLoadKeyStore_hostBasedFileNotAccessible() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolverTest.java | 124 setter.setOptionValue("remote-file", "gs://fake/path"); in testResolve() 152 setter.setOptionValue("remote-file", "gs://fake/path?key=value"); in testResolveWithQuery() 178 setter.setOptionValue("remote-file", "gs://fake/path?optional=true"); in testResolveOptional() 204 setter.setOptionValue("remote-file-list", "gs://fake/path"); in testResolve_remoteFileList() 205 setter.setOptionValue("remote-file-list", "fake/file"); in testResolve_remoteFileList() 232 setter.setOptionValue("remote-file-list", "fake/file"); in testResolve_remoteFileList_downloadError() 233 setter.setOptionValue("remote-file-list", "gs://success/fake/path"); in testResolve_remoteFileList_downloadError() 234 setter.setOptionValue("remote-file-list", "gs://success/fake/path2"); in testResolve_remoteFileList_downloadError() 235 setter.setOptionValue("remote-file-list", "gs://failure/test"); in testResolve_remoteFileList_downloadError() 274 setter.setOptionValue("remote-map", "gs://fake/path", "value"); in testResolve_remoteMap() [all …]
|
D | OptionSetterTest.java | 317 setter.setOptionValue("string", "test"); in testOptionSetter_sharedOptions() 337 parser.setOptionValue("enumMap", key, value); in testOptionSetter_sharedEnumMap() 364 parser.setOptionValue("enumCollection", value); in testOptionSetter_sharedEnumCollection() 395 setter.setOptionValue(AllTypesOptionSource.class.getName() + ":string", "alltest"); in testOptionSetter_namespacedClassName() 396 setter.setOptionValue(SharedOptionSource.class.getName() + ":string", "sharedtest"); in testOptionSetter_namespacedClassName() 408 setter.setOptionValue("all:string", "alltest"); in testOptionSetter_namespacedAlias() 409 setter.setOptionValue("shared:string", "sharedtest"); in testOptionSetter_namespacedAlias() 426 setter.setOptionValue( in testOptionSetter_frequencyForDeviceObject() 428 setter.setOptionValue( in testOptionSetter_frequencyForDeviceObject() 430 setter.setOptionValue( in testOptionSetter_frequencyForDeviceObject() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/ |
D | RustBinaryHostTestTest.java | 155 setter.setOptionValue("test-file", binary.getAbsolutePath()); in testRun() 180 setter.setOptionValue("test-file", binary.getAbsolutePath()); in testRun_withAdbPath() 199 setter.setOptionValue("test-file", binary.getAbsolutePath()); in testRunFail_exception() 219 setter.setOptionValue("test-file", binary.getAbsolutePath()); in testRunFail_list() 249 setter.setOptionValue("test-file", binary.getAbsolutePath()); in testRunFail_failureOnly() 269 setter.setOptionValue("test-file", binary.getAbsolutePath()); in testExcludeFilter() 270 setter.setOptionValue("exclude-filter", "NotMe"); in testExcludeFilter() 271 setter.setOptionValue("exclude-filter", "Long"); in testExcludeFilter() 308 setter.setOptionValue("test-file", binary.getAbsolutePath()); in testIncludeExcludeFilter() 309 setter.setOptionValue("exclude-filter", "MyTest#NotMe"); in testIncludeExcludeFilter() [all …]
|
D | RustBinaryTestTest.java | 302 mCoverageOptionsSetter.setOptionValue("coverage", "true"); in testNativeCoverageAllProcesses() 303 mCoverageOptionsSetter.setOptionValue("coverage-toolchain", "GCOV"); in testNativeCoverageAllProcesses() 304 mCoverageOptionsSetter.setOptionValue("coverage-flush", "true"); in testNativeCoverageAllProcesses() 393 mCoverageOptionsSetter.setOptionValue("coverage", "true"); in testNativeCoverageSpecificProcesses() 394 mCoverageOptionsSetter.setOptionValue("coverage-toolchain", "GCOV"); in testNativeCoverageSpecificProcesses() 395 mCoverageOptionsSetter.setOptionValue("coverage-flush", "true"); in testNativeCoverageSpecificProcesses() 397 mCoverageOptionsSetter.setOptionValue("coverage-processes", processName); in testNativeCoverageSpecificProcesses() 522 setter.setOptionValue("exclude-filter", "NotMe"); in testExcludeFilter() 523 setter.setOptionValue("exclude-filter", "MyTest#Long"); in testExcludeFilter() 531 setter.setOptionValue("exclude-filter", "NotMe2"); in testIncludeExcludeFilter() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/ |
D | ExecutableTargetTestTest.java | 93 setter.setOptionValue("test-command-line", testName1, testCmd1); in testRun_cmdSuccess() 94 setter.setOptionValue("test-command-line", testName2, testCmd2); in testRun_cmdSuccess() 137 setter.setOptionValue("test-command-line", testName1, testCmd1); in testRun_pathNotExist() 138 setter.setOptionValue("test-command-line", testName2, testCmd2); in testRun_pathNotExist() 183 setter.setOptionValue("test-command-line", testName1, testCmd1); in testRun_cmdFailed() 184 setter.setOptionValue("test-command-line", testName2, testCmd2); in testRun_cmdFailed() 230 setter.setOptionValue("test-command-line", testName1, testCmd1); in testRun_addExcludeFilter() 231 setter.setOptionValue("test-command-line", testName2, testCmd2); in testRun_addExcludeFilter() 232 setter.setOptionValue("test-command-line", testName3, testCmd3); in testRun_addExcludeFilter() 286 setter.setOptionValue("test-command-line", testName1, testCmd1); in testRun_addIncludeFilter() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandLauncherTest.java | 101 mOptionSetter.setOptionValue("cluster:root-dir", mRootDir.getAbsolutePath()); in setUp() 102 mOptionSetter.setOptionValue("cluster:env-var", "TF_WORK_DIR", mRootDir.getAbsolutePath()); in setUp() 127 mOptionSetter.setOptionValue("cluster:jvm-option", "-Xmx1g"); in testRun() 128 mOptionSetter.setOptionValue("cluster:env-var", "TF_PATH", tfPathValue); in testRun() 129 mOptionSetter.setOptionValue("cluster:java-property", "FOO", "${TF_WORK_DIR}/foo"); in testRun() 130 mOptionSetter.setOptionValue("cluster:command-line", COMMAND); in testRun() 176 mOptionSetter.setOptionValue("cluster:env-var", "TF_PATH", mTfPath.getAbsolutePath()); in testRun_withSetupScripts() 177 mOptionSetter.setOptionValue("cluster:env-var", "FOO", "foo"); in testRun_withSetupScripts() 178 mOptionSetter.setOptionValue("cluster:env-var", "BAR", "bar"); in testRun_withSetupScripts() 179 mOptionSetter.setOptionValue("cluster:env-var", "ZZZ", "zzz"); in testRun_withSetupScripts() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceSelectionOptionsTest.java | 545 setter.setOptionValue("require-battery-check", "true"); 546 setter.setOptionValue("min-battery", "20"); 547 setter.setOptionValue("null-device", "true"); 555 setter.setOptionValue("require-battery-check", "true"); 556 setter.setOptionValue("null-device", "true"); 567 setter.setOptionValue("min-battery", "20"); 584 setter.setOptionValue("gce-device", "true"); 600 setter.setOptionValue("gce-device", "true"); 601 setter.setOptionValue("serial", "gce-device:0"); 610 setter.setOptionValue("tcp-device", "true"); [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 129 setter.setOptionValue("shard-count", "3"); in testSplitWithShardCount() 136 setter.setOptionValue("num-shards", "5"); in testSplitWithShardCount() 162 setter.setOptionValue("num-shards", "5"); in testSplit_noShardCount() 187 setter.setOptionValue("shard-count", "10"); in testSplitWithShardCount_notEnoughTest() 194 setter.setOptionValue("num-shards", "5"); in testSplitWithShardCount_notEnoughTest() 231 setter.setOptionValue("shard-count", "3"); in testCloneStatusChecker() 239 setter.setOptionValue("num-shards", "5"); in testCloneStatusChecker() 278 setter.setOptionValue("shard-count", "3"); in testCloneMetricCollector() 286 setter.setOptionValue("num-shards", "5"); in testCloneMetricCollector() 351 setter.setOptionValue("shard-count", "2"); in testClone_withKeystore() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | GceManagerTest.java | 75 setter.setOptionValue("wait-gce-teardown", "true"); in setUp() 206 setter.setOptionValue("gce-driver-service-account-json-key-path", "/path/to/key.json"); in testBuildGceCommand_withServiceAccountJsonKeyFile() 248 setter.setOptionValue("gce-driver-param", "--emulator-build-id"); in testBuildGceCommandWithEmulatorBuild() 249 setter.setOptionValue("gce-driver-param", "EMULATOR_BUILD_ID"); in testBuildGceCommandWithEmulatorBuild() 295 setter.setOptionValue("gce-driver-param", "--report-internal-ip"); in testBuildGceCommandWithGceDriverParam() 296 setter.setOptionValue("gce-driver-param", "--no-autoconnect"); in testBuildGceCommandWithGceDriverParam() 331 setter.setOptionValue("allow-gce-boot-timeout-override", "false"); in testStartGce_timeout() 383 setter.setOptionValue("gce-driver-param", "--kernel_build_id"); in testBuildGceCommandWithKernelBuild() 384 setter.setOptionValue("gce-driver-param", "KERNELBUILDID"); in testBuildGceCommandWithKernelBuild() 418 setter.setOptionValue("allow-gce-boot-timeout-override", "true"); in testStartGce() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/ |
D | MergeMultiBuildTargetPreparerTest.java | 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() 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() 110 setter.setOptionValue("src-device", "device1"); in testMergeFiles_keyNotFound() 111 setter.setOptionValue("dest-device", "device2"); in testMergeFiles_keyNotFound() 112 setter.setOptionValue("key-to-copy", EXAMPLE_KEY); in testMergeFiles_keyNotFound() 123 setter.setOptionValue("src-device", "device1"); in testReceiverNotFound() [all …]
|