Home
last modified time | relevance | path

Searched refs:forClass (Results 1 – 25 of 47) sorted by relevance

12

/tools/platform-compat/javatest/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandlerTest.java101 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/
DLocalAndroidVirtualDeviceTest.java414 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/
DLogcatCrashResultForwarderTest.java110 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()
DJsonHttpTestResultReporterTest.java73 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()
DLUCIResultReporterTest.java75 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()
DSubprocessResultsReporterTest.java121 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()
DJUnitToInvocationResultForwarderTest.java132 ArgumentCaptor<TestDescription> capture = ArgumentCaptor.forClass(TestDescription.class); in testStartTest_annotations()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGoogleBenchmarkResultParserTest.java96 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()
DGTestResultParserTest.java221 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()
DGTestListenerTest.java96 ArgumentCaptor.forClass(FailureDescription.class); in testDuplicateTestsFailsWithOptionEnabled()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DDeviceSetupTest.java103 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 …]
DPushFilePreparerTest.java397 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()
DModuleOemTargetPreparerTest.java176 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()
DDeviceActionTargetPreparerTest.java120 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/
DFilePullerLogCollectorTest.java81 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()
DBluetoothHciSnoopLogCollectorTest.java120 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/
DMoblyYamlResultParserTest.java150 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/
DRetryRescheduler.java370 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/
DDeviceReleaseReporterTest.java71 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()
DEarlyDeviceReleaseFeatureTest.java89 ArgumentCaptor.forClass(Map.class); in testFeature_oneDevice()
107 ArgumentCaptor.forClass(Map.class); in testFeature_multipleDevices()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterDeviceMonitorTest.java142 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/
DDetectRegressionTest.java145 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/
DProtoResultParserTest.java160 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/
DModuleDefinitionTest.java454 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 …]
DITestSuiteTest.java558 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()

12