/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | AssignableFrom.java | 29 public boolean apply(TestMethod testMethod) { in apply() argument 30 return root.isAssignableFrom(testMethod.getEnclosingClass()); in apply()
|
D | TestSuiteBuilder.java | 258 private void addTest(TestMethod testMethod) throws Exception { in addTest() argument 259 addSuiteIfNecessary(testMethod.getEnclosingClassname()); in addTest() 260 suiteForCurrentClass.addTest(testMethod.createTest()); in addTest()
|
D | TestGrouping.java | 73 for (Method testMethod : getTestMethods(testCase)) { in getTests() 74 testMethods.add(new TestMethod(testMethod, testCase)); in getTests()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/annotation/ |
D | HasMethodAnnotation.java | 38 public boolean apply(TestMethod testMethod) { in apply() argument 39 return testMethod.getAnnotation(annotationClass) != null; in apply()
|
D | HasClassAnnotation.java | 38 public boolean apply(TestMethod testMethod) { in apply() argument 39 return testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
|
D | HasAnnotation.java | 41 public boolean apply(TestMethod testMethod) { in apply() argument 42 return hasMethodOrClassAnnotation.apply(testMethod); in apply()
|
/frameworks/testing/support/src/android/support/test/internal/runner/ |
D | TestLoader.java | 164 for (Method testMethod : loadedClass.getMethods()) { in isTestClass() 165 if (testMethod.isAnnotationPresent(org.junit.Test.class)) { in isTestClass() 190 for (Method testMethod : loadedClass.getMethods()) { in hasJUnit3TestMethod() 191 if (isPublicTestMethod(testMethod)) { in hasJUnit3TestMethod()
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/ |
D | HasClassAnnotationTest.java | 41 TestMethod testMethod = new TestMethod(method, aClass); in classHasAnnotation() local 42 return new HasClassAnnotation(expectedClassification).apply(testMethod); in classHasAnnotation()
|
D | HasMethodAnnotationTest.java | 43 TestMethod testMethod = new TestMethod(method, aClass); in methodHasAnnotation() local 44 return new HasMethodAnnotation(expectedClassification).apply(testMethod); in methodHasAnnotation()
|
D | HasAnnotationTest.java | 47 TestMethod testMethod = new TestMethod(method, aClass); in hasExampleAnnotation() local 48 return new HasAnnotation(Example.class).apply(testMethod); in hasExampleAnnotation()
|
/frameworks/base/test-runner/src/android/test/ |
D | InstrumentationTestRunner.java | 777 Method testMethod = null; in startTest() local 779 testMethod = test.getClass().getMethod(testName); in startTest() 781 if (testMethod.isAnnotationPresent(RepetitiveTest.class)) { in startTest() 782 int numIterations = testMethod.getAnnotation( in startTest() 809 if (testMethod != null && testMethod.isAnnotationPresent(TimedTest.class)) { in startTest() 811 mIncludeDetailedStats = testMethod.getAnnotation( in startTest()
|
/frameworks/base/core/tests/utillib/src/android/test/ |
D | BandwidthTestCase.java | 75 final Method testMethod = method; in runTest() local 80 runMethod(testMethod, tolerance, repetitive); in runTest()
|
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
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()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaRecorderStateUnitTestTemplate.java | 55 public void runTestOnMethod(MediaRecorderMethodUnderTest testMethod) { in runTestOnMethod() argument 56 mMethodUnderTest = testMethod; in runTestOnMethod()
|
D | MediaPlayerStateUnitTestTemplate.java | 79 public void runTestOnMethod(MediaPlayerMethodUnderTest testMethod) { in runTestOnMethod() argument 80 mMethodUnderTest = testMethod; in runTestOnMethod()
|
/frameworks/base/core/java/android/test/ |
D | InstrumentationTestCase.java | 184 final Method testMethod = method; in runTest() local 189 runMethod(testMethod, tolerance, repetitive); in runTest()
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
D | TestSuiteBuilderTest.java | 161 public boolean apply(TestMethod testMethod) { in testsWhoseNameContains() 162 return testMethod.getName().contains(string); in testsWhoseNameContains()
|