/tools/platform-compat/javatest/com/android/class2nonsdklist/ |
D | UnsupportedAppUsageAnnotationHandlerTest.java | 101 ArgumentCaptor<String> greylist = ArgumentCaptor.forClass(String.class); in testGreylistMethod() 122 ArgumentCaptor<String> greylist = ArgumentCaptor.forClass(String.class); in testGreylistConstructor() 143 ArgumentCaptor<String> greylist = ArgumentCaptor.forClass(String.class); in testGreylistField() 164 ArgumentCaptor<String> greylist = ArgumentCaptor.forClass(String.class); in testGreylistImplicit() 184 ArgumentCaptor<String> format = ArgumentCaptor.forClass(String.class); in testGreylistImplicit_Invalid_MissingOnClass() 206 ArgumentCaptor<String> format = ArgumentCaptor.forClass(String.class); in testGreylistImplicit_Invalid_PresentOnMember() 228 ArgumentCaptor<String> greylist = ArgumentCaptor.forClass(String.class); in testGreylistMethodExpectedSignature() 269 ArgumentCaptor<String> greylist = ArgumentCaptor.forClass(String.class); in testGreylistInnerClassMethod() 307 ArgumentCaptor<String> greylist = ArgumentCaptor.forClass(String.class); in testMethodArgGenerics() 336 ArgumentCaptor<String> greylist = ArgumentCaptor.forClass(String.class); in testOverrideMethodWithBridge() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | LocalAndroidVirtualDeviceTest.java | 414 ArgumentCaptor<String> reportFile = ArgumentCaptor.forClass(String.class); in testPreinvocationSetupSuccess() 415 ArgumentCaptor<String> hostPackageDir = ArgumentCaptor.forClass(String.class); in testPreinvocationSetupSuccess() 416 ArgumentCaptor<String> imageDir = ArgumentCaptor.forClass(String.class); in testPreinvocationSetupSuccess() 417 ArgumentCaptor<String> instanceDir = ArgumentCaptor.forClass(String.class); in testPreinvocationSetupSuccess() 418 ArgumentCaptor<String> bootImageDir = ArgumentCaptor.forClass(String.class); in testPreinvocationSetupSuccess() 419 ArgumentCaptor<String> systemImageDir = ArgumentCaptor.forClass(String.class); in testPreinvocationSetupSuccess() 420 ArgumentCaptor<String> otaToolsDir = ArgumentCaptor.forClass(String.class); in testPreinvocationSetupSuccess() 480 ArgumentCaptor<String> reportFile = ArgumentCaptor.forClass(String.class); in testShutdown() 481 ArgumentCaptor<String> hostPackageDir = ArgumentCaptor.forClass(String.class); in testShutdown() 482 ArgumentCaptor<String> imageDir = ArgumentCaptor.forClass(String.class); in testShutdown() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | LogcatCrashResultForwarderTest.java | 110 ArgumentCaptor.forClass(FailureDescription.class); in testCaptureTestCrash_oneCrashingLogcat() 115 ArgumentCaptor.forClass(FailureDescription.class); in testCaptureTestCrash_oneCrashingLogcat() 175 ArgumentCaptor.forClass(FailureDescription.class); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 223 ArgumentCaptor.forClass(FailureDescription.class); in testCaptureTestCrash_duplicateStack() 247 ArgumentCaptor.forClass(FailureDescription.class); in testTestTimedOutTests() 273 ArgumentCaptor.forClass(FailureDescription.class); in testShellTimedOutTests()
|
D | JsonHttpTestResultReporterTest.java | 73 ArgumentCaptor<JSONObject> jsonCaptor = ArgumentCaptor.forClass(JSONObject.class); in testSkipFailedRuns_notSet() 93 ArgumentCaptor<JSONObject> jsonCaptor = ArgumentCaptor.forClass(JSONObject.class); in testSkipFailedRuns_set() 111 ArgumentCaptor<JSONObject> jsonCaptor = ArgumentCaptor.forClass(JSONObject.class); in testInvalidMetricsNotSet() 131 ArgumentCaptor<JSONObject> jsonCaptor = ArgumentCaptor.forClass(JSONObject.class); in testInvalidAndInvalidMetricsNotSet() 165 ArgumentCaptor<JSONObject> jsonCaptor = ArgumentCaptor.forClass(JSONObject.class); in testAdditionalKeyValuePairs()
|
D | LUCIResultReporterTest.java | 75 ArgumentCaptor<File> fileCaptor = ArgumentCaptor.forClass(File.class); in tearDown() 89 ArgumentCaptor<JSONObject> jsonCaptor = ArgumentCaptor.forClass(JSONObject.class); in shouldSetRequiredJsonKeys_passedTest() 107 ArgumentCaptor<JSONObject> jsonCaptor = ArgumentCaptor.forClass(JSONObject.class); in shouldSetRequiredJsonKeys_failedTest() 128 ArgumentCaptor<JSONObject> jsonCaptor = ArgumentCaptor.forClass(JSONObject.class); in shouldReportSeparateTestResults_failedThenPassedTest() 145 ArgumentCaptor<JSONObject> jsonCaptor = ArgumentCaptor.forClass(JSONObject.class); in shouldSetValidJsonValues()
|
D | SubprocessResultsReporterTest.java | 121 ArgumentCaptor.forClass(FailureDescription.class); in testPrintEvent_printToSocket() 158 ArgumentCaptor.forClass(FailureDescription.class); in testPrintEvent_printToSocket_StructuredFailures() 160 ArgumentCaptor.forClass(FailureDescription.class); in testPrintEvent_printToSocket_StructuredFailures()
|
D | JUnitToInvocationResultForwarderTest.java | 132 ArgumentCaptor<TestDescription> capture = ArgumentCaptor.forClass(TestDescription.class); in testStartTest_annotations()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | GoogleBenchmarkResultParserTest.java | 96 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testParseSimpleFile() 152 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testParseSimpleFile_twoTests() 210 ArgumentCaptor<String> capture = ArgumentCaptor.forClass(String.class); in testParse_benchmarkError() 250 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testParseSimpleFile_withWarning() 277 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testParse_ignore() 309 ArgumentCaptor.forClass(FailureDescription.class); in testParse_aborted() 331 ArgumentCaptor.forClass(FailureDescription.class); in testParse_timedout()
|
D | GTestResultParserTest.java | 221 ArgumentCaptor.forClass(FailureDescription.class); in testParseSimpleFile_LinkError() 250 ArgumentCaptor.forClass(FailureDescription.class); in testParseSimpleFile_earlyError() 297 ArgumentCaptor.forClass(FailureDescription.class); in testParseSimpleFileWithoutRunComplete() 342 ArgumentCaptor.forClass(FailureDescription.class); in testParse_interrupted()
|
D | GTestListenerTest.java | 96 ArgumentCaptor.forClass(FailureDescription.class); in testDuplicateTestsFailsWithOptionEnabled()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | DeviceSetupTest.java | 103 ArgumentCaptor<String> setPropCapture = ArgumentCaptor.forClass(String.class); in testSetup() 547 false /* Expect no screen on command */, ArgumentCaptor.forClass(String.class)); in testSetup_screen_stayon_default() 559 false /* Expect no screen on command */, ArgumentCaptor.forClass(String.class)); in testSetup_screen_stayon_off() 572 false /* Expect no screen on command */, ArgumentCaptor.forClass(String.class)); in testSetup_screen_timeout() 929 ArgumentCaptor<String> setPropCapture = ArgumentCaptor.forClass(String.class); in testSetup_no_disable_dialing() 981 ArgumentCaptor<String> setPropCapture = ArgumentCaptor.forClass(String.class); in testSetup_no_disable_audio() 997 ArgumentCaptor<String> setPropCapture = ArgumentCaptor.forClass(String.class); in testSetup_no_test_harness() 1019 ArgumentCaptor<String> setPropCapture = ArgumentCaptor.forClass(String.class); in testSetup_disalbe_dalvik_verifier() 1142 ArgumentCaptor<String> setPropCapture = ArgumentCaptor.forClass(String.class); in testSetup_legacy() 1315 ArgumentCaptor.forClass(String.class)); in testSetup_rootDisabled_withoutChangeSystemProp() [all …]
|
D | PushFilePreparerTest.java | 397 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_abiDirectory_noBitness() 430 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_abiDirectory_noBitness_withModule() 462 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_abiDirectory() 500 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_moduleName_dirs() 669 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_moduleName_ignored() 708 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_moduleName_multiAbi() 749 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_moduleName_multiabi_files() 788 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_moduleName_noMatch() 856 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_moduleName_repeating_name() 895 ArgumentCaptor<Set<String>> capture = ArgumentCaptor.forClass(Set.class); in testPush_moduleName_multiAbi_repeatedName()
|
D | ModuleOemTargetPreparerTest.java | 176 ArgumentCaptor.forClass(ImmutableMultimap.class); in testSetupInstallModules() 211 ArgumentCaptor.forClass(ImmutableMultimap.class); in testSetupInstallApks() 239 ArgumentCaptor.forClass(ImmutableMultimap.class); in testSetupRecoverModule() 284 ArgumentCaptor.forClass(ImmutableMultimap.class); in testSetupRecoverAndInstall()
|
D | DeviceActionTargetPreparerTest.java | 120 ArgumentCaptor<List> argCaptor = ArgumentCaptor.forClass(List.class); in setUp_installMainlineModules() 149 ArgumentCaptor<List> argCaptor = ArgumentCaptor.forClass(List.class); in setUp_installApksZips()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | FilePullerLogCollectorTest.java | 81 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testSkipStub() 117 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testPullAndLog() 159 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testSkipTestCollection() 187 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testPostProcessFiles() 226 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testCompressDirectoryBeforeUpload()
|
D | BluetoothHciSnoopLogCollectorTest.java | 120 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testPullFileAndLog() 167 ArgumentCaptor<HashMap<String, Metric>> capture = ArgumentCaptor.forClass(HashMap.class); in testPullDirMultipleSnoopLogs()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/mobly/ |
D | MoblyYamlResultParserTest.java | 150 mStartedDescCaptor = ArgumentCaptor.forClass(TestDescription.class); in setUpArgumentCaptors() 151 mBeginTimeCaptor = ArgumentCaptor.forClass(Long.class); in setUpArgumentCaptors() 156 mFailedDescCaptor = ArgumentCaptor.forClass(TestDescription.class); in setUpArgumentCaptors() 157 mFailureDescriptionCaptor = ArgumentCaptor.forClass(FailureDescription.class); in setUpArgumentCaptors() 162 mEndDescCaptor = ArgumentCaptor.forClass(TestDescription.class); in setUpArgumentCaptors() 163 mEndTimeCaptor = ArgumentCaptor.forClass(Long.class); in setUpArgumentCaptors()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryRescheduler.java | 370 Map<TestDescription, TestResult> forClass = returnMap.get(noParamName); in sortMethodToClass() local 371 if (forClass == null) { in sortMethodToClass() 372 forClass = new LinkedHashMap<>(); in sortMethodToClass() 373 returnMap.put(noParamName, forClass); in sortMethodToClass() 375 forClass.put(entry.getKey(), entry.getValue()); in sortMethodToClass()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/internal/ |
D | DeviceReleaseReporterTest.java | 71 ArgumentCaptor<Map<String, String>> capture = ArgumentCaptor.forClass(Map.class); in releaseDevices_oneDevice() 93 ArgumentCaptor<Map<String, String>> capture = ArgumentCaptor.forClass(Map.class); in releaseDevices_multipleDevices()
|
D | EarlyDeviceReleaseFeatureTest.java | 89 ArgumentCaptor.forClass(Map.class); in testFeature_oneDevice() 107 ArgumentCaptor.forClass(Map.class); in testFeature_multipleDevices()
|
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/ |
D | ClusterDeviceMonitorTest.java | 142 ArgumentCaptor<ClusterHostEvent> capture = ArgumentCaptor.forClass(ClusterHostEvent.class); in testDispatch() 166 ArgumentCaptor<ClusterHostEvent> capture = ArgumentCaptor.forClass(ClusterHostEvent.class); in testLabel() 256 ArgumentCaptor<ClusterHostEvent> capture = ArgumentCaptor.forClass(ClusterHostEvent.class); in testDeviceExtraInfo()
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | DetectRegressionTest.java | 145 ArgumentCaptor<List<TableRow>> runResultCaptor = ArgumentCaptor.forClass(List.class); in testRunRegressionDetection() 147 ArgumentCaptor.forClass(MultiMap.class); in testRunRegressionDetection()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 160 ArgumentCaptor<LogFile> capture = ArgumentCaptor.forClass(LogFile.class); in testEvents() 166 ArgumentCaptor.forClass(FailureDescription.class); in testEvents() 276 ArgumentCaptor.forClass(FailureDescription.class); in testEvents_invocationFailure() 318 ArgumentCaptor.forClass(FailureDescription.class); in testEvents_invocationFailure_errorNotSet() 414 ArgumentCaptor.forClass(IInvocationContext.class); in testEvents_finaleProto() 577 ArgumentCaptor<LogFile> capture = ArgumentCaptor.forClass(LogFile.class); in testEvents_subprocess() 735 ArgumentCaptor.forClass(FailureDescription.class); in testIncompleteModule()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 454 ArgumentCaptor.forClass(FailureDescription.class); in testDynamicDownloadThrows_ReportsRunFailed() 484 ArgumentCaptor.forClass(FailureDescription.class); in testRun_tearDownException() 556 ArgumentCaptor.forClass(FailureDescription.class); in testRun_aggregateRunFailures() 687 ArgumentCaptor.forClass(FailureDescription.class); in testRun_failPreparation() 731 ArgumentCaptor.forClass(FailureDescription.class); in testRun_failPreparation_runtime() 772 ArgumentCaptor.forClass(FailureDescription.class); in testRun_failPreparation_error() 818 ArgumentCaptor.forClass(FailureDescription.class); in testRun_failPreparation_moduleListener() 827 ArgumentCaptor.forClass(FailureDescription.class); in testRun_failPreparation_moduleListener() 879 ArgumentCaptor.forClass(FailureDescription.class); in testRun_failPreparation_unresponsive() 937 ArgumentCaptor.forClass(FailureDescription.class); in testRun_failPreparation_PassAfterModuleRetry() [all …]
|
D | ITestSuiteTest.java | 558 ArgumentCaptor.forClass(FailureDescription.class); in testRun_failedSystemChecker_reportFailure() 600 ArgumentCaptor.forClass(FailureDescription.class); in testRun_failedSystemChecker_reportFailure_bugreport() 666 ArgumentCaptor.forClass(FailureDescription.class); in testRun_preparationPassAfterRetry_report2times() 759 ArgumentCaptor.forClass(FailureDescription.class); in testRun_unresponsiveDevice() 825 ArgumentCaptor.forClass(FailureDescription.class); in testRun_deviceUnavailable() 890 ArgumentCaptor.forClass(FailureDescription.class); in testRun_runtimeException() 1336 ArgumentCaptor<HashMap<String, Metric>> c = ArgumentCaptor.forClass(HashMap.class); in testRun_withCollectors() 1875 ArgumentCaptor.forClass(FailureDescription.class); in testReportNotExecuted() 1914 ArgumentCaptor.forClass(FailureDescription.class); in testReportNotExecuted_moduleInProgress() 2000 ArgumentCaptor<HashMap<String, Metric>> captured = ArgumentCaptor.forClass(HashMap.class); in testPostProcessorAddsMetricsForPerfModule()
|