| /tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
| D | AndroidDebugBridgeWrapperTest.java | 52 CommandResult res = new CommandResult(); in testAdbVersionParsing() local 68 CommandResult res = new CommandResult(); in testAdbVersionParsing_altFormat() local 87 CommandResult res = new CommandResult(); in testAdbVersionParse_runFail() local 103 CommandResult res = new CommandResult(); in testAdbVersionParsing_partial() local 119 CommandResult res = new CommandResult(); in testAdbVersionParsing_parseFail() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
| D | InstallApexModuleTargetPreparerTest.java | 226 CommandResult res = new CommandResult(); in testSetupSuccess_removeExistingStagedApexSuccess() local 253 CommandResult res = new CommandResult(); in testSetupSuccess_noDataUnderApexDataDirs() local 283 CommandResult res = new CommandResult(); in testSetupSuccess_getActivatedPackageSuccess() local 316 CommandResult res = new CommandResult(); in testSetupFail_getActivatedPackageSuccessThrowModuleNotPreloaded() local 346 CommandResult res = new CommandResult(); in testSetupFail_getActivatedPackageFail() local 381 CommandResult res = new CommandResult(); in testSetupFail_apexActivationFailPackageNameWrong() local 423 CommandResult res = new CommandResult(); in testSetupFail_apexActivationFailVersionWrong() local 465 CommandResult res = new CommandResult(); in testSetupFail_apexActivationFailSourceDirWrong() local 507 CommandResult res = new CommandResult(); in testSetupSuccess_activatedSuccessOnQ() local 538 CommandResult res = new CommandResult(); in testSetupAndTearDown_SingleApk() local [all …]
|
| D | FastbootDeviceFlasherTest.java | 533 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testCheckAndFlashBootloader() local 583 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testCheckAndFlashSystem_flashing() local 614 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testFlashingSystemWithRamdisk() local 661 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testSkipFlashingSystemWithRamdisk() local 695 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testCheckAndFlashSystem_withFlashOptions() local 728 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testCheckAndFlashSystem_exception() local
|
| D | AppSetupTest.java | 315 Set<String> res = new HashSet<>(); in testSetup_uninstallAll_noPackage() local 332 Set<String> res = new HashSet<>(); in testSetup_uninstallAll() local 351 Set<String> res = new HashSet<>(); in testSetup_uninstallAll_fails() local
|
| D | RunCommandTargetPreparerTest.java | 74 CommandResult res = new CommandResult(); in testSetUp() local 93 CommandResult res = new CommandResult(); in testSetUp_withTimeout() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
| D | ResourceUtilTest.java | 38 Map<String, String> res = ResourceUtil.readConfigurationFromResource("this/doesnt/exists"); in testLoadNonExisting() local 45 Map<String, String> res = in testLoad() local 57 Map<String, String> res = in testLoad_invalid() local
|
| D | BundletoolUtilTest.java | 87 CommandResult res = new CommandResult(); in testGenerateDeviceSpecFile() local 116 CommandResult res = new CommandResult(); in testextractSplitsFromApks() local 147 CommandResult res = new CommandResult(); in test_extractSplitsFromApksFail() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/ |
| D | RustBinaryHostTestTest.java | 69 CommandResult res = new CommandResult(); in newCommandResult() local 111 private void mockTestRunExpect(File binary, CommandResult res) throws Exception { in mockTestRunExpect() 141 CommandResult res = successResult("", resultCount(6, 1, 2)); in testRun() local 166 CommandResult res = successResult("", resultCount(6, 1, 2)); in testRun_withAdbPath() local 185 CommandResult res = newCommandResult(CommandStatus.EXCEPTION, "Err.", "Exception."); in testRunFail_exception() local 216 CommandResult res = newCommandResult(CommandStatus.FAILED, "", resultCount(6, 1, 2)); in testRunFail_list() local 236 CommandResult res = newCommandResult(CommandStatus.FAILED, "", resultCount(6, 1, 2)); in testRunFail_failureOnly() local 267 CommandResult res = successResult("", resultCount(6, 1, 2)); in testExcludeFilter() local 313 CommandResult res = successResult("", resultCount(3, 0, 0)); in testIncludeExcludeFilter() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/lite/ |
| D | SampleTests.java | 35 int res = 2 + 2; in testAddition() local 42 int res = 2 * 2; in testMultiplication() local 49 int res = 12 - 2; in testSubtraction() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
| D | ModuleSplitterTest.java | 71 List<ModuleDefinition> res = in testSplitModule_configNotShardable() local 107 List<ModuleDefinition> res = in testSplitModule_configNotStrictShardable_dynamic() local 142 List<ModuleDefinition> res = in testSplitModule_configNotStrictShardable_notDynamic() local 171 List<ModuleDefinition> res = in testSplitModule_noIntraModuleSharding() local 208 List<ModuleDefinition> res = in testSplitModule_testNotShardable() local 241 List<ModuleDefinition> res = in testSplitModule_testShardable_didNotShard() local 275 List<ModuleDefinition> res = in testSplitModule_testShardable_shard() local 304 List<ModuleDefinition> res = in testSplitModule_testShardable_shard_noDynamic() local
|
| D | SuiteModuleLoaderTest.java | 251 LinkedHashMap<String, IConfiguration> res = in testInjectConfigOptions_moduleArgs() local 322 LinkedHashMap<String, IConfiguration> res = in testInjectConfigOptions_testArgs() local 362 LinkedHashMap<String, IConfiguration> res = in testInjectConfigOptions_moduleArgs_alias() local 399 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized() local 449 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized_excludeFilter_parameter() local 476 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized_includeFilter_base() local 503 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized_includeFilter_param() local 529 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized_WithModuleArg() local 557 LinkedHashMap<String, IConfiguration> res = in testLoadConfigsFromSpecifiedPaths_OneModule() local 581 LinkedHashMap<String, IConfiguration> res = in testLoadConfigsFromSpecifiedPaths_MultipleModules() local [all …]
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
| D | RemoteFileUtilTest.java | 57 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testFetchRemoteFile() local 92 CommandResult res = new CommandResult(CommandStatus.FAILED); in testFetchRemoteFile_fail() local 121 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testFetchRemoteDir() local 157 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testPushFileToRemote() local 199 CommandResult res = new CommandResult(CommandStatus.FAILED); in testPushFileToRemote_fail() local
|
| D | GceRemoteCmdFormatterTest.java | 35 List<String> res = in testFormatSsh() local 54 List<String> res = in testFormatScp() local
|
| D | AcloudConfigParserTest.java | 54 AcloudConfigParser res = AcloudConfigParser.parseConfig(tmpConfig); in testParse() local 71 AcloudConfigParser res = AcloudConfigParser.parseConfig(new File("doesnotexistsfile")); in testFailParse() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
| D | TradefedSandboxTest.java | 138 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment() local 181 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment_dumpConfigFail() local 221 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment_dumpConfigFail_fallback_fail() local 243 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment_noTfDirJar() local 272 File res = in testSandboxOptions() local
|
| D | SandboxConfigDumpTest.java | 58 int res = mConfigDump.parse(commandLine); in testParseCommandLine() local 79 int res = mConfigDump.parse(commandLine); in testParseCommandLine_filtered() local 100 int res = mConfigDump.parse(commandLine); in testParseCommandLine_run() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
| D | BootstrapBuildProviderTest.java | 66 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild() local 92 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild_add_extra_file() local 117 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild_stubDevice() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/ |
| D | PythonBinaryHostTestTest.java | 123 CommandResult res = new CommandResult(); in testRun() local 165 CommandResult res = new CommandResult(); in testRun_failWithIncludeFilters() local 204 CommandResult res = new CommandResult(); in testRun_withIncludeFilters() local 266 CommandResult res = new CommandResult(); in testRun_withExcludeFilters() local 328 CommandResult res = new CommandResult(); in testRun_withAdbPath() local 373 CommandResult res = new CommandResult(); in testRun_withSharedLibInHostTestsDir() local 418 CommandResult res = new CommandResult(); in testRun_withSharedLib() local 457 CommandResult res = new CommandResult(); in testRunFail_exception() local 503 CommandResult res = new CommandResult(); in testRunFail_failureOnly() local 616 CommandResult res = new CommandResult(); in newCommandResult() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
| D | XmlSuiteResultFormatterTest.java | 103 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testBasicFormat() local 155 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testFailuresReporting() local 207 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testFailuresReporting_notDone() local 263 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testAssumptionFailures_Ignore_Reporting() local 326 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testLogReporting() local 375 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testMetricReporting() local 437 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testDeviceSerials() local 462 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testBasicFormat_shallow() local 513 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testMetricReporting_badKey() local 580 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testRunHistoryReporting() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
| D | StrictShardHelperTest.java | 291 List<IRemoteTest> res = testShard(0); in testMergeSuite_shard0() local 309 List<IRemoteTest> res = testShard(1); in testMergeSuite_shard1() local 327 List<IRemoteTest> res = testShard(2); in testMergeSuite_shard2() local 394 List<IRemoteTest> res = mConfig.getTests(); in testSuite_withAllInterfaces() local 423 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount); in testDistribution_hightests_highcount() local 451 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount); in testDistribution_lowtests_lowcount() local 465 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount); in testDistribution_lowtests_lowcount2() local
|
| /tools/tradefederation/core/src/com/android/tradefed/util/ |
| D | GCSBucketUtil.java | 137 CommandResult res = getRunUtil() in checkGSUtil() local 184 CommandResult res = run in copy() local 282 CommandResult res = getRunUtil() in makeBucket() local 316 CommandResult res = in ls() local 423 CommandResult res = in stat() local 459 CommandResult res = in md5Hash() local 519 CommandResult res = copy(getUriForGcsPath(bucketPath), FILENAME_STDOUT); in pullContents() local 587 CommandResult res = getRunUtil() in remove() local 647 CommandResult res = getRunUtil() in removeBucket() local
|
| D | BundletoolUtil.java | 98 CommandResult res = in generateDeviceSpecFile() local 148 CommandResult res = getRunUtil().runTimedCmd(CMD_TIME_OUT, extractApkCmd); in extractSplitsFromApks() local 184 CommandResult res = in installApks() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
| D | NativeBenchmarkTestTest.java | 81 String res = mBenchmark.getTestPath(); in testGetTestPath() local 89 String res = mBenchmark.getTestPath(); in testGetTestPath_withModule() local
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/config/yaml/ |
| D | ConfigurationYamlParserTest.java | 60 try (InputStream res = readFromRes(YAML_TEST_CONFIG_1)) { in testParseConfig() 110 try (InputStream res = readFromRes(YAML_TEST_CONFIG_1)) { in testParseModule()
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/config/remote/ |
| D | HttpRemoteFileResolverTest.java | 55 File res = in testResolve() local
|