/aosp_15_r20/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/annotationitem/ |
H A D | CommonAnnotationItemTest.kt | 236 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant 295 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant 345 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant 395 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant 506 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant 576 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant 618 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant 659 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant 718 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant 766 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant [all …]
|
/aosp_15_r20/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/ |
H A D | LegacyFlickerJUnit4ClassRunnerTest.kt | 76 val testClass = TestClass(SimpleFaasTest::class.java) in <lambda>() constant 92 val testClass = TestClass(SimpleFaasTest::class.java) in <lambda>() constant 108 val testClass = TestClass(SimpleFaasTest::class.java) in <lambda>() constant 117 val testClass = TestClass(SimpleTestWithFlakyTest::class.java) in <lambda>() constant 129 val testClass = TestClass(SimpleTestWithFlakyTest::class.java) in <lambda>() constant 151 val testClass = TestClass(SimpleFaasTest::class.java) in <lambda>() constant 168 val testClass = TestClass(SimpleFaasTest::class.java) in <lambda>() constant 186 val testClass = TestClass(SimpleFaasTest::class.java) in <lambda>() constant 205 val testClass = TestClass(SimpleFaasTestWithFlakyTest::class.java) in <lambda>() constant 233 val testClass = TestClass(TransitionRunCounterWithFaasTest::class.java) in <lambda>() constant [all …]
|
/aosp_15_r20/external/robolectric/processor/src/test/java/org/robolectric/annotation/processing/validator/ |
H A D | RealObjectValidatorTest.java | 25 final String testClass = in realObjectWithoutImplements_shouldNotCompile() local 36 final String testClass = in realObjectParameterizedMissingParameters_shouldNotCompile() local 47 final String testClass = in realObjectParameterizedMismatch_shouldNotCompile() local 58 final String testClass = in realObjectWithEmptyImplements_shouldNotRaiseOwnError() local 69 final String testClass = in realObjectWithEmptyClassName_shouldNotRaiseOwnError() local 85 final String testClass = in realObjectWithTypeMismatch_shouldNotCompile() local 98 final String testClass = in realObjectWithClassName_typeMismatch_shouldNotCompile() local 111 final String testClass = in realObjectWithCorrectType_shouldCompile() local 130 final String testClass = in realObjectWithNestedClassName_shouldCompile() local
|
H A D | ImplementsValidatorTest.java | 22 final String testClass = in implementsWithoutClassOrClassName_shouldNotCompile() local 33 final String testClass = in value_withUnresolvableClassNameAndOldMaxSdk_shouldNotCompile() local 40 final String testClass = in value_withClassName_shouldNotCompile() local 51 final String testClass = in implementsWithParameterMismatch_shouldNotCompile() local 70 final String testClass = in implementsWithMissingParameters_shouldNotCompile() local 88 final String testClass = in implementsWithCorrectParameters_shouldCompile() local 103 final String testClass = in implementsWithExtraParameters_shouldNotCompile() local 118 final String testClass = in constructorShadowWithoutImplementation_shouldNotCompile() local
|
H A D | ResetterValidatorTest.java | 15 final String testClass = in resetterWithoutImplements_shouldNotCompile() local 26 final String testClass = in nonStaticResetter_shouldNotCompile() local 37 final String testClass = in nonPublicResetter_shouldNotCompile() local 48 final String testClass = in resetterWithParameters_shouldNotCompile() local 59 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowWithTwoResetters"; in twoValidResetters_shouldNotCompile() local 73 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowDummy"; in goodResetter_shouldCompile() local
|
/aosp_15_r20/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/ |
H A D | CommonModifierListWriterTest.kt | 61 val testClass = codebase.assertClass("test.pkg.Test") in modifiers public() constant 93 val testClass = codebase.assertClass("test.pkg.Test") in modifiers public final method in open class() constant 125 val testClass = codebase.assertClass("test.pkg.Test") in modifiers public explicitly final method in final class() constant 161 val testClass = codebase.assertClass("test.pkg.Test") in modifiers public explicitly final method in final class - normalized() constant 193 val testClass = codebase.assertClass("test.pkg.Test") in modifiers public implicitly final method in final class() constant
|
/aosp_15_r20/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/rules/ |
D | TaskbarUnitTestRuleTest.kt | 74 val testClass = in testInjectController_validControllerType_isInjected() constant 90 val testClass = in testInjectController_multipleControllers_areInjected() constant 105 val testClass = in testInjectController_invalidControllerType_exceptionThrown() constant 125 val testClass = in testInjectController_recreateTaskbar_controllerChanged() constant 141 val testClass = in testInjectBubbleController_bubbleFlagOn_isInjected() constant 158 val testClass = in testInjectBubbleController_bubbleFlagOff_exceptionThrown() constant
|
/aosp_15_r20/external/TestParameterInjector/src/main/java/com/google/testing/junit/testparameterinjector/ |
H A D | TestParameterAnnotationMethodProcessor.java | 289 private final TestClass testClass; field in TestParameterAnnotationMethodProcessor 296 TestClass testClass, boolean onlyForFieldsAndParameters) { in TestParameterAnnotationMethodProcessor() 312 static TestMethodProcessor forAllAnnotationPlacements(TestClass testClass) { in forAllAnnotationPlacements() 324 static TestMethodProcessor onlyForFieldsAndParameters(TestClass testClass) { in onlyForFieldsAndParameters() 481 public ValidationResult validateConstructor(TestClass testClass, List<Throwable> errorsReturned) { in validateConstructor() 500 testClass, in validateConstructor() local 511 TestClass testClass, FrameworkMethod testMethod, List<Throwable> errorsReturned) { in validateTestMethod() 522 testClass, in validateTestMethod() local 533 TestClass testClass, in validateMethodOrConstructorParameters() 612 TestClass testClass, in createStatement() [all …]
|
H A D | ParameterizedTestMethodProcessor.java | 63 ParameterizedTestMethodProcessor(TestClass testClass) { in ParameterizedTestMethodProcessor() 89 public ValidationResult validateConstructor(TestClass testClass, List<Throwable> list) { in validateConstructor() 123 TestClass testClass, FrameworkMethod testMethod, List<Throwable> errorsReturned) { in validateTestMethod() 128 public List<TestInfo> processTest(Class<?> testClass, TestInfo originalTest) { in processTest() 162 TestClass testClass, FrameworkMethod method, Optional<Object> test) { in createTest() 178 TestClass testClass, in createStatement() 214 private Optional<FrameworkMethod> getParametersMethod(TestClass testClass) { in getParametersMethod()
|
H A D | TestParametersMethodProcessor.java | 55 private final TestClass testClass; field in TestParametersMethodProcessor 76 public TestParametersMethodProcessor(TestClass testClass) { in TestParametersMethodProcessor() 81 public ValidationResult validateConstructor(TestClass testClass, List<Throwable> exceptions) { in validateConstructor() 97 TestClass testClass, FrameworkMethod testMethod, List<Throwable> exceptions) { in validateTestMethod() 195 TestClass testClass, FrameworkMethod method, Optional<Object> test) { in createTest() 218 TestClass testClass, in createStatement()
|
H A D | TestMethodProcessor.java | 34 List<TestInfo> processTest(Class<?> testClass, TestInfo originalTest); in processTest() 54 Optional<Object> createTest(TestClass testClass, FrameworkMethod method, Optional<Object> test); in createTest() 67 TestClass testClass, in createStatement() 78 ValidationResult validateConstructor(TestClass testClass, List<Throwable> errorsReturned); in validateConstructor() 87 TestClass testClass, FrameworkMethod testMethod, List<Throwable> errorsReturned); in validateTestMethod()
|
/aosp_15_r20/platform_testing/libraries/runner/src/main/java/platform/test/runner/parameterized/ |
H A D | ParameterizedRunnerDelegate.java | 58 public Object createTestInstance(final TestClass testClass) throws Exception { in createTestInstance() 71 private Object[] computeParams(final TestClass testClass) throws Exception { in computeParams() 101 private void injectParametersIntoFields(Object testClassInstance, final TestClass testClass) in injectParametersIntoFields() 138 static void validateFields(List<Throwable> errors, TestClass testClass) { in validateFields() 182 private static List<FrameworkField> getAnnotatedFieldsByParameter(TestClass testClass) { in getAnnotatedFieldsByParameter() 186 static boolean fieldsAreAnnotated(TestClass testClass) { in fieldsAreAnnotated() 191 static List<Object> getParametersList(TestClass testClass) throws Throwable { in getParametersList() 196 static FrameworkMethod getParametersMethod(TestClass testClass) throws Exception { in getParametersMethod()
|
/aosp_15_r20/external/junit/src/main/java/org/junit/validator/ |
H A D | AnnotationsValidator.java | 33 public List<Exception> validateTestClass(TestClass testClass) { in validateTestClass() 46 abstract Iterable<T> getAnnotatablesForTestClass(TestClass testClass); in getAnnotatablesForTestClass() 51 public List<Exception> validateTestClass(TestClass testClass) { in validateTestClass() 81 Iterable<TestClass> getAnnotatablesForTestClass(TestClass testClass) { in getAnnotatablesForTestClass() 87 AnnotationValidator validator, TestClass testClass) { in validateAnnotatable() 96 TestClass testClass) { in getAnnotatablesForTestClass() 110 Iterable<FrameworkField> getAnnotatablesForTestClass(TestClass testClass) { in getAnnotatablesForTestClass()
|
/aosp_15_r20/external/vogar/src/vogar/target/junit/junit3/ |
H A D | TestCaseRunnerFactory.java | 75 Class<? extends TestCase> testClass, String methodName, Annotation[] annotations) { in createTest() 81 Class<? extends Test> testClass, String name, Throwable throwable) { in createFailingTest() 89 Class<? extends TestCase> testClass, List<DescribableStatement> tests) { in createSuite() 106 private static TestCase createTestCase(Class<? extends TestCase> testClass, String name) in createTestCase() 134 private final Class<? extends TestCase> testClass; field in TestCaseRunnerFactory.RunTestCaseStatement 138 Class<? extends TestCase> testClass, String name, Annotation[] annotations) { in RunTestCaseStatement()
|
H A D | TestCaseTransformer.java | 54 public S createSuite(Class<? extends TestCase> testClass) { in createSuite() 60 Class<? extends TestCase> testClass, String methodName, Annotation[] annotations) { in createTest() 64 private T createWarning(Class<? extends Test> testClass, String name, Throwable throwable) { in createWarning() 68 private List<T> testsFromTestCase(final Class<? extends TestCase> testClass) { in testsFromTestCase() 101 public static void validateTestClass(Class<?> testClass) { in validateTestClass()
|
/aosp_15_r20/packages/modules/AdServices/shared/testing-libraries/device-side/java/com/android/adservices/shared/testing/junit/ |
D | EasilyExtensibleBlockJUnit4ClassRunner.java | 46 protected EasilyExtensibleBlockJUnit4ClassRunner(Class<?> testClass) in EasilyExtensibleBlockJUnit4ClassRunner() 51 protected EasilyExtensibleBlockJUnit4ClassRunner(TestClass testClass) in EasilyExtensibleBlockJUnit4ClassRunner() 58 protected List<TestRule> getTestRules(TestClass testClass, Object target) { in getTestRules() 65 protected List<MethodRule> rules(TestClass testClass, Object target) { in rules() 73 FrameworkMethod method, TestClass testClass, Object target, Statement statement) { in withRules() 117 protected static List<Class<?>> getSuperClasses(Class<?> testClass) { in getSuperClasses()
|
/aosp_15_r20/external/TestParameterInjector/junit5/src/main/java/com/google/testing/junit/testparameterinjector/junit5/ |
H A D | TestParameterAnnotationMethodProcessor.java | 349 private ImmutableList<AnnotationTypeOrigin> calculateAnnotationTypeOrigins(Class<?> testClass) { in calculateAnnotationTypeOrigins() 438 Class<?> testClass, Origin firstOrigin, Origin... otherOrigins) { in getAnnotationTypeOrigins() 522 Class<?> testClass = constructor.getDeclaringClass(); in validateConstructor() local 536 public ExecutableValidationResult validateTestMethod(Method testMethod, Class<?> testClass) { in validateTestMethod() 555 Class<?> testClass, in validateMethodOrConstructorParameters() 779 Method method, Class<?> testClass) { in getParameterValuesForMethod() 808 TestIndexHolder testIndexHolder, Class<?> testClass) { in getParameterValuesForTest() 826 Method method, Class<?> testClass) { in getAnnotationValuesForUsedAnnotationTypes() 870 List<AnnotationTypeOrigin> annotationTypeOrigins, Class<?> testClass, Method method) { in removeOverrides()
|
/aosp_15_r20/external/TestParameterInjector/junit4/src/main/java/com/google/testing/junit/testparameterinjector/ |
H A D | TestParameterAnnotationMethodProcessor.java | 349 private ImmutableList<AnnotationTypeOrigin> calculateAnnotationTypeOrigins(Class<?> testClass) { in calculateAnnotationTypeOrigins() 438 Class<?> testClass, Origin firstOrigin, Origin... otherOrigins) { in getAnnotationTypeOrigins() 522 Class<?> testClass = constructor.getDeclaringClass(); in validateConstructor() local 536 public ExecutableValidationResult validateTestMethod(Method testMethod, Class<?> testClass) { in validateTestMethod() 555 Class<?> testClass, in validateMethodOrConstructorParameters() 779 Method method, Class<?> testClass) { in getParameterValuesForMethod() 808 TestIndexHolder testIndexHolder, Class<?> testClass) { in getParameterValuesForTest() 826 Method method, Class<?> testClass) { in getAnnotationValuesForUsedAnnotationTypes() 870 List<AnnotationTypeOrigin> annotationTypeOrigins, Class<?> testClass, Method method) { in removeOverrides()
|
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/plugins/ |
H A D | HierarchicalConfigurationStrategyTest.java | 484 ConfigurationStrategy configStrategy, Class<?> testClass, String methodName) in computeConfig() 490 Class<?> testClass, String methodName, final Map<String, String> configProperties) { in configFor() 494 private Config configFor(Class<?> testClass, String methodName) { in configFor() 500 Class<?> testClass, String methodName, Config.Implementation globalConfig) { in configFor() 505 Class<?> testClass, in configFor() 527 private static Method getMethod(Class<?> testClass, String methodName) { in getMethod() 680 public String getConfigFor(@Nonnull Class<?> testClass) { in getConfigFor()
|
/aosp_15_r20/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/media/projection/ |
H A D | MediaProjectionAtomsTests.java | 113 final String testClass = ".MediaProjectionTest"; in testMediaProjectionStateChanged_stoppedCapture() local 158 final String testClass = ".MediaProjectionTest"; in testMediaProjectionTargetChanged_stoppedCapture() local 204 final String testClass = ".MediaProjectionTests"; in testMediaProjectionStateChanged_setupCancelled() local 207 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), testClass, testMethod); in testMediaProjectionStateChanged_setupCancelled() local 232 final String testClass = ".MediaProjectionTests"; in testMediaProjectionStateChanged_appSelectorShown() local 238 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), testClass, testMethod2); in testMediaProjectionStateChanged_appSelectorShown() local
|
/aosp_15_r20/external/libchrome/base/test/android/junit/src/org/chromium/base/test/params/ |
H A D | ParameterizedRunnerDelegateCommonTest.java | 24 private static Object createTest(TestClass testClass, ParameterSet classParameterSet) in createTest() 54 TestClass testClass = new TestClass(BadTestClassWithMoreThanOneConstructor.class); in testCreateTestWithMoreThanOneConstructor() local 60 TestClass testClass = new TestClass(BadTestClassWithTwoArgumentConstructor.class); in testCreateTestWithIncorrectArguments() local 67 TestClass testClass = new TestClass(BadTestClassAbstract.class); in testCreateTestWithAbstractClass() local 74 TestClass testClass = new TestClass(BadTestClassConstructorThrows.class); in testCreateTestWithThrowingConstructor() local
|
/aosp_15_r20/external/cronet/base/test/android/junit/src/org/chromium/base/test/params/ |
H A D | ParameterizedRunnerDelegateCommonTest.java | 24 private static Object createTest(TestClass testClass, ParameterSet classParameterSet) in createTest() 55 TestClass testClass = new TestClass(BadTestClassWithMoreThanOneConstructor.class); in testCreateTestWithMoreThanOneConstructor() local 61 TestClass testClass = new TestClass(BadTestClassWithTwoArgumentConstructor.class); in testCreateTestWithIncorrectArguments() local 68 TestClass testClass = new TestClass(BadTestClassAbstract.class); in testCreateTestWithAbstractClass() local 75 TestClass testClass = new TestClass(BadTestClassConstructorThrows.class); in testCreateTestWithThrowingConstructor() local
|
/aosp_15_r20/frameworks/base/test-runner/src/android/test/ |
H A D | AndroidTestRunner.java | 54 Class testClass = loadTestClass(testClassName); in setTestClassName() local 62 setTest(getTest(testClass), testClass); in setTestClassName() local 70 private void setTest(Test test, Class<? extends Test> testClass) { in setTest() 99 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) { in buildSingleTestMethod() 115 private TestCase newSingleTestMethod(Class testClass, String testMethodName, in newSingleTestMethod() 134 Class<? extends Test> testClass) { in shouldRunSingleTestMethod()
|
/aosp_15_r20/external/junit/src/main/java/org/junit/runners/ |
H A D | Parameterized.java | 341 AssumptionViolationRunner(TestClass testClass, String methodName, in AssumptionViolationRunner() 363 private final TestClass testClass; field in Parameterized.RunnersFactory 423 TestClass testClass, FrameworkMethod parametersMethod) throws Throwable { in allParameters() 442 private static FrameworkMethod getParametersMethod(TestClass testClass) throws Exception { in getParametersMethod() 485 TestClass testClass, FrameworkMethod parametersMethod) throws Exception { in parametersMethodReturnedWrongType() 495 TestClass testClass, String pattern, int index, in createTestWithParameters()
|
/aosp_15_r20/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/junit/ |
H A D | Utils.java | 59 static String inputsDirectoryResourcePath(Class<?> testClass, Method testMethod) { in inputsDirectoryResourcePath() 64 static String inputsDirectoryResourcePath(Class<?> testClass) { in inputsDirectoryResourcePath() 73 Class<?> testClass, Method testMethod, Path baseDir) { in inputsDirectorySourcePath() 103 static Path generatedCorpusPath(Class<?> testClass, Method testMethod) { in generatedCorpusPath() 110 static String getLegacyInstrumentationFilter(Class<?> testClass) { in getLegacyInstrumentationFilter()
|