/aosp14/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestPredicates.java | 54 public boolean apply(TestMethod testMethod) { in apply() argument 55 return testMethod.getAnnotation(annotationClass) != null || in apply() 56 testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
|
H A D | AssignableFrom.java | 29 public boolean apply(TestMethod testMethod) { in apply() argument 30 return root.isAssignableFrom(testMethod.getEnclosingClass()); in apply()
|
H A D | TestSuiteBuilder.java | 257 private void addTest(TestMethod testMethod) throws Exception { in addTest() argument 258 addSuiteIfNecessary(testMethod.getEnclosingClassname()); in addTest() 259 suiteForCurrentClass.addTest(testMethod.createTest()); in addTest()
|
H A D | TestGrouping.java | 71 for (Method testMethod : getTestMethods(testCase)) { in getTests() 72 testMethods.add(new TestMethod(testMethod, testCase)); in getTests()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/ |
H A D | AAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java | 170 for (Method testMethod : loadedClass.getMethods()) { in isTestClass() 171 if (testMethod.isAnnotationPresent(org.junit.Test.class)) { in isTestClass() 196 for (Method testMethod : loadedClass.getMethods()) { in hasJUnit3TestMethod() 197 if (isPublicTestMethod(testMethod)) { in hasJUnit3TestMethod()
|
/aosp14/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
H A D | TestPredicatesTest.java | 47 TestMethod testMethod = new TestMethod(method, aClass); in hasExampleAnnotation() local 48 return TestPredicates.hasAnnotation(Example.class).apply(testMethod); in hasExampleAnnotation()
|
H A D | TestSuiteBuilderTest.java | 174 public boolean apply(TestMethod testMethod) { in testsWhoseNameContains() 175 return testMethod.getName().contains(string); in testsWhoseNameContains()
|
/aosp14/frameworks/base/core/tests/utillib/src/android/test/ |
H A D | BandwidthTestCase.java | 75 final Method testMethod = method; in runTest() local 80 runMethod(testMethod, tolerance, repetitive); in runTest()
|
/aosp14/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestRunner.java | 293 Method testMethod = null; in startTest() local 295 testMethod = test.getClass().getMethod(testName); in startTest() 297 if (testMethod.isAnnotationPresent(RepetitiveTest.class)) { in startTest() 298 int numIterations = testMethod.getAnnotation(RepetitiveTest.class) in startTest()
|
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaRecorderStateUnitTestTemplate.java | 55 public void runTestOnMethod(MediaRecorderMethodUnderTest testMethod) { in runTestOnMethod() argument 56 mMethodUnderTest = testMethod; in runTestOnMethod()
|
H A D | MediaPlayerStateUnitTestTemplate.java | 79 public void runTestOnMethod(MediaPlayerMethodUnderTest testMethod) { in runTestOnMethod() argument 80 mMethodUnderTest = testMethod; in runTestOnMethod()
|
/aosp14/frameworks/base/test-base/src/android/test/ |
H A D | InstrumentationTestCase.java | 190 final Method testMethod = method; in runTest() local 195 runMethod(testMethod, tolerance, repetitive); in runTest()
|
/aosp14/frameworks/base/test-runner/src/android/test/ |
H A D | InstrumentationTestRunner.java | 782 Method testMethod = null; in startTest() local 784 testMethod = test.getClass().getMethod(testName); in startTest() 786 if (testMethod.isAnnotationPresent(RepetitiveTest.class)) { in startTest() 787 int numIterations = testMethod.getAnnotation( in startTest()
|