Home
last modified time | relevance | path

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

12

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DLogcatCollectorTest.java123 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testLogcatCollectionOnEveryTestEnd()
170 ArgumentCaptor<String> captureFinalTime = ArgumentCaptor.forClass(String.class); in testLogcatCollectionWithBeforeDuration()
195 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testLogcatCollectionWithBeforeDuration()
244 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testLogcatCollectionWithDirectoryOption()
279 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testLogcatOnlyOnTestFailureOption()
325 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testRetrievingLogcat()
395 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testLogcatTimespan()
481 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testMultipleIterations()
DBaseMetricListenerInstrumentedTest.java134 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics()
180 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics_withIncludeFilters()
228 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics_withIncludeFilters_multiGroup()
272 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics_withExcludeFilters()
316 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics_withBothFilters()
562 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetricsSameMethodName()
615 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testSameMethodNameWithValidIntervalOption()
670 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testSameMethodNameWithSkipIterationOption()
724 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testSameMethodNameWithInvalidIntervalNumber()
764 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportAsInstrumentationResultsIfEnabled()
DScreenshotOnFailureCollectorTest.java132 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testSavePngAsFile()
168 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testSaveUixAsFile()
205 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testNoUixWithoutOption()
DGcaEventLogCollectorTest.java103 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testGcaEventLogCollectionOnTestEnd_includeFailure()
159 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testGcaEventLogCollectOnTestEnd_skipFailure()
DBatteryStatsListenerTest.java170 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testTestRunToBytesCollector()
216 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testTestCaseCollector()
DScreenRecordCollectorTest.java151 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testScreenRecord()
326 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testNullMethodNameDoesNotAppearInVideoName()
/platform_testing/host_runners/utils/tests/src/com/android/runner/utils/
DInstrumentationResultProtoParserTest.java268 ArgumentCaptor<Map<String, String>> captureTestMetrics = ArgumentCaptor.forClass(Map.class); in testOneTestSuccessWithMetrics()
324 ArgumentCaptor.forClass(Map.class); in testOneTestSuccessWithMultipleListeners()
331 ArgumentCaptor.forClass(Map.class); in testOneTestSuccessWithMultipleListeners()
354 ArgumentCaptor<Map<String, String>> captureRunMetrics = ArgumentCaptor.forClass(Map.class); in testOneRunSuccessWithMetrics()
383 ArgumentCaptor<Map<String, String>> captureTestMetrics = ArgumentCaptor.forClass(Map.class); in testOneTestAndRunSuccessWithMetrics()
384 ArgumentCaptor<Map<String, String>> captureRunMetrics = ArgumentCaptor.forClass(Map.class); in testOneTestAndRunSuccessWithMetrics()
420 ArgumentCaptor.forClass(Map.class); in testMultipleTestSuccessWithMetrics()
422 ArgumentCaptor.forClass(Map.class); in testMultipleTestSuccessWithMetrics()
423 ArgumentCaptor<Map<String, String>> captureRunMetrics = ArgumentCaptor.forClass(Map.class); in testMultipleTestSuccessWithMetrics()
462 ArgumentCaptor<Map<String, String>> captureTestMetrics = ArgumentCaptor.forClass(Map.class); in testOneTestFailure()
[all …]
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DTestUtils.kt40 val SCENARIO = ScenarioBuilder().forClass(DummyTestClassValid::class.java.name).build()
DLegacyFlickerDecoratorTest.kt48 ScenarioBuilder().forClass(TestUtils.DummyTestClassValid::class.java.name).build() in <lambda>()
67 ScenarioBuilder().forClass(TestUtils.DummyTestClassValid::class.java.name).build() in <lambda>()
103 ScenarioBuilder().forClass(TestUtils.DummyTestClassValid::class.java.name).build() in <lambda>()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevityClassRunnerTest.java366 ArgumentCaptor<List> methodsCaptor = ArgumentCaptor.forClass(List.class); in testAfterClass_runAsAfterForPassingTest()
392 ArgumentCaptor<List> methodsCaptor = ArgumentCaptor.forClass(List.class); in testAfterClass_runAsAfterClassForFailingTest()
435 ArgumentCaptor<Description> captor = ArgumentCaptor.forClass(Description.class); in testReportIteration_noIterationSet()
454 ArgumentCaptor<Description> captor = ArgumentCaptor.forClass(Description.class); in testReportIteration_withIteration_withDefaultSeparator()
476 ArgumentCaptor<Description> captor = ArgumentCaptor.forClass(Description.class); in testReportIteration_withIteration_withCustomSeparator()
568 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in verifyForAssertionFailures()
DProfileSuiteTest.java272 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in testTimestampScheduling_respectsSuiteTimeout()
489 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in verifyForAssertionFailures()
/platform_testing/libraries/flicker/utils/src/android/tools/rules/
DStopAllTracesRule.kt56 ScenarioBuilder().forClass(kotlin.io.path.createTempFile().name).build() in TraceMonitor()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DDex2oatPressureRuleTest.java116 ArgumentCaptor<String> compiledPackages = ArgumentCaptor.forClass(String.class); in testInvokesCompilationCyclically()
163 ArgumentCaptor.forClass(String.class); in testNoAdditionalCompilationIsTriggeredAfterTestFinishes()
178 ArgumentCaptor.forClass(String.class); in testNoAdditionalCompilationIsTriggeredAfterTestFinishes()
307 ArgumentCaptor<String> compiledInTest1 = ArgumentCaptor.forClass(String.class); in testMultipleTestsParsePackageNamesIndependently()
314 ArgumentCaptor<String> compiledInBothTests = ArgumentCaptor.forClass(String.class); in testMultipleTestsParsePackageNamesIndependently()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/
DLegacyFlickerTest.kt49 scenario = scenarioBuilder.forClass(testClass).build() as ScenarioImpl in toString()
/platform_testing/libraries/flicker/utils/src/android/tools/
DScenarioBuilder.kt28 fun forClass(cls: String) = apply { testClass = cls } in <lambda>() method
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioCapturerTests.java138 ArgumentCaptor<Runnable> runnableArgCaptor = ArgumentCaptor.forClass(Runnable.class); in attachOutput_attachesOutputSuccessfully_outputStream()
179 ArgumentCaptor<Runnable> runnableArgCaptor = ArgumentCaptor.forClass(Runnable.class); in attachOutput_attachesOutputSuccessfully_file()
203 ArgumentCaptor<Runnable> runnableArgCaptor = ArgumentCaptor.forClass(Runnable.class); in close_stopsPublisherAsExpected()
DJavaAudioSystemServiceTests.java170 ArgumentCaptor.forClass(javax.sound.sampled.AudioFormat.class); in createCapturerFor_opensTargetDataLineCorrectly()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/config/
DQuickswitchTest.kt56 val scenario = ScenarioBuilder().forClass("QuickSwitch").build() in canExtractQuickswitch()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DTraceMonitor.kt118 val scenario = ScenarioBuilder().forClass(className).build() in <lambda>()
DMonitorUtils.kt114 .forScenario(ScenarioBuilder().forClass(tmpFile.name).build()) in withTracing()
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioTestHarnessClientTests.java101 ArgumentCaptor.forClass(AudioTestHarnessGrpc.AudioTestHarnessStub.class); in startCapture_createsNewStubWithProperChannel()
DGrpcAudioCaptureStreamTests.java104 ArgumentCaptor<Long> timeValueCaptor = ArgumentCaptor.forClass(Long.class); in create_schedulesCancellationTaskWithProperDeadline()
105 ArgumentCaptor<TimeUnit> timeUnitCaptor = ArgumentCaptor.forClass(TimeUnit.class); in create_schedulesCancellationTaskWithProperDeadline()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DUtils.kt58 val TEST_SCENARIO = ScenarioBuilder().forClass("test").build() as ScenarioImpl in <lambda>()
197 scenario: Scenario = ScenarioBuilder().forClass(kotlin.io.path.createTempFile().name).build() in newTestResultWriter()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceResultsCollector.kt82 .forClass(description.testClass.canonicalName) in <lambda>()
98 .forClass( in <lambda>()
/platform_testing/libraries/audio-test-harness/tradefed/src/test/java/com/android/media/audiotestharness/tradefed/
DAudioTestHarnessHermeticServerManagingMetricCollectorTests.java132 ArgumentCaptor.forClass(SharedHostConfiguration.class); in onTestRunStart_usesCustomSharedHostConfigurationWhenCaptureDevicesSet()

12