Home
last modified time | relevance | path

Searched refs:testMethod (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestPredicates.java54 public boolean apply(TestMethod testMethod) { in apply() argument
55 return testMethod.getAnnotation(annotationClass) != null || in apply()
56 testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
DAssignableFrom.java29 public boolean apply(TestMethod testMethod) { in apply() argument
30 return root.isAssignableFrom(testMethod.getEnclosingClass()); in apply()
DTestSuiteBuilder.java257 private void addTest(TestMethod testMethod) throws Exception { in addTest() argument
258 addSuiteIfNecessary(testMethod.getEnclosingClassname()); in addTest()
259 suiteForCurrentClass.addTest(testMethod.createTest()); in addTest()
DTestGrouping.java71 for (Method testMethod : getTestMethods(testCase)) { in getTests()
72 testMethods.add(new TestMethod(testMethod, testCase)); in getTests()
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java172 for (Method testMethod : loadedClass.getMethods()) { in isTestClass()
173 if (testMethod.isAnnotationPresent(org.junit.Test.class)) { in isTestClass()
198 for (Method testMethod : loadedClass.getMethods()) { in hasJUnit3TestMethod()
199 if (isPublicTestMethod(testMethod)) { in hasJUnit3TestMethod()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DTestPredicatesTest.java47 TestMethod testMethod = new TestMethod(method, aClass); in hasExampleAnnotation() local
48 return TestPredicates.hasAnnotation(Example.class).apply(testMethod); in hasExampleAnnotation()
DTestSuiteBuilderTest.java174 public boolean apply(TestMethod testMethod) { in testsWhoseNameContains()
175 return testMethod.getName().contains(string); in testsWhoseNameContains()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java75 final Method testMethod = method; in runTest() local
80 runMethod(testMethod, tolerance, repetitive); in runTest()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java293 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/
DMediaRecorderStateUnitTestTemplate.java55 public void runTestOnMethod(MediaRecorderMethodUnderTest testMethod) { in runTestOnMethod() argument
56 mMethodUnderTest = testMethod; in runTestOnMethod()
DMediaPlayerStateUnitTestTemplate.java79 public void runTestOnMethod(MediaPlayerMethodUnderTest testMethod) { in runTestOnMethod() argument
80 mMethodUnderTest = testMethod; in runTestOnMethod()
/frameworks/base/test-base/src/android/test/
DInstrumentationTestCase.java190 final Method testMethod = method; in runTest() local
195 runMethod(testMethod, tolerance, repetitive); in runTest()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java782 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()