Home
last modified time | relevance | path

Searched refs:methods (Results 1 – 10 of 10) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DLegacyFlickerDecorator.kt74 val methods = getCandidateProviderMethods(testClass) in doValidateInstanceMethods() constant
76 if (methods.isEmpty() || methods.size > 1) { in doValidateInstanceMethods()
77 val prefix = if (methods.isEmpty()) "One" else "Only one" in doValidateInstanceMethods()
84 val method = methods.first() in doValidateInstanceMethods()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DLegacyFlickerServiceDecoratorTest.kt84 val methods = in hasUniqueMethodNames() constant
88 val duplicatedMethods = methods.groupBy { it.name }.filter { it.value.size > 1 } in hasUniqueMethodNames()
91 Truth.assertWithMessage("Methods").that(methods).isNotEmpty() in hasUniqueMethodNames()
DFlickerServiceDecoratorTest.kt239 val methods = decorator.getTestMethods(test) in handleDuplicateFlickerMethods() constant
241 Truth.assertThat(methods.size).isAtLeast(2) in handleDuplicateFlickerMethods()
242 val flickerTestMethods = methods.filterIsInstance<FlickerServiceCachedTestCase>() in handleDuplicateFlickerMethods()
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/settings/
DREADME.md26 ## Follow the rules to create the methods and variables:
28 - Put the methods and variables in the same interface if you do something in the page
31 - Use protected methods and variables if they are reusable
/platform_testing/libraries/runner/src/main/java/platform/test/runner/parameterized/
DParameterizedRunnerDelegate.java197 List<FrameworkMethod> methods = testClass.getAnnotatedMethods(Parameters.class); in getParametersMethod() local
201 for (FrameworkMethod each : methods) { in getParametersMethod()
/platform_testing/libraries/health/runners/microbenchmark/src/android/platform/test/microbenchmark/
DFunctional.java72 private Statement artifactSaver(Statement statement, Stream<FrameworkMethod> methods) { in artifactSaver() argument
79 methods.forEach( in artifactSaver()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DLongevityClassRunner.java300 protected List<Throwable> invokeAndCollectErrors(List<FrameworkMethod> methods, Object target) in invokeAndCollectErrors() argument
303 for (FrameworkMethod method : methods) { in invokeAndCollectErrors()
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/
DFlickerServiceRule.kt155 return testClass.methods.flatMap { it.annotations.asList() }.any { it is FlickerTest } in testClassHasFlickerTestAnnotations()
/platform_testing/libraries/health/runners/longevity/
DREADME.md68 * `timeout_msec <long>` - a timeout for individual test methods.
/platform_testing/libraries/flicker/
DREADME.md62 The trace subjects expose methods to filter the range of entries and test for changing assertions.