Searched refs:testMethod (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DAssignableFrom.java29 public boolean apply(TestMethod testMethod) { argument
30 return root.isAssignableFrom(testMethod.getEnclosingClass());
H A DTestSuiteBuilder.java258 private void addTest(TestMethod testMethod) throws Exception { argument
259 addSuiteIfNecessary(testMethod.getEnclosingClassname());
260 suiteForCurrentClass.addTest(testMethod.createTest());
H A DTestGrouping.java73 for (Method testMethod : getTestMethods(testCase)) {
74 testMethods.add(new TestMethod(testMethod, testCase));
/frameworks/base/test-runner/src/android/test/suitebuilder/annotation/
H A DHasClassAnnotation.java38 public boolean apply(TestMethod testMethod) { argument
39 return testMethod.getEnclosingClass().getAnnotation(annotationClass) != null;
H A DHasMethodAnnotation.java38 public boolean apply(TestMethod testMethod) { argument
39 return testMethod.getAnnotation(annotationClass) != null;
H A DHasAnnotation.java41 public boolean apply(TestMethod testMethod) { argument
42 return hasMethodOrClassAnnotation.apply(testMethod);
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
H A DHasClassAnnotationTest.java41 TestMethod testMethod = new TestMethod(method, aClass);
42 return new HasClassAnnotation(expectedClassification).apply(testMethod);
H A DHasMethodAnnotationTest.java43 TestMethod testMethod = new TestMethod(method, aClass);
44 return new HasMethodAnnotation(expectedClassification).apply(testMethod);
H A DHasAnnotationTest.java47 TestMethod testMethod = new TestMethod(method, aClass);
48 return new HasAnnotation(Example.class).apply(testMethod);
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java75 final Method testMethod = method;
80 runMethod(testMethod, tolerance, repetitive);
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java438 * Expected format: com.android.TestClass#testMethod
782 Method testMethod = null;
784 testMethod = test.getClass().getMethod(testName);
786 if (testMethod.isAnnotationPresent(RepetitiveTest.class)) {
787 int numIterations = testMethod.getAnnotation(
814 if (testMethod != null && testMethod.isAnnotationPresent(TimedTest.class)) {
816 mIncludeDetailedStats = testMethod.getAnnotation(
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestRunner.java293 Method testMethod = null;
295 testMethod = test.getClass().getMethod(testName);
297 if (testMethod.isAnnotationPresent(RepetitiveTest.class)) {
298 int numIterations = testMethod.getAnnotation(RepetitiveTest.class)
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java190 final Method testMethod = method;
195 runMethod(testMethod, tolerance, repetitive);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaRecorderStateUnitTestTemplate.java53 * @param testMethod the method under test.
55 public void runTestOnMethod(MediaRecorderMethodUnderTest testMethod) { argument
56 mMethodUnderTest = testMethod;
H A DMediaPlayerStateUnitTestTemplate.java77 * @param testMethod the method under test.
79 public void runTestOnMethod(MediaPlayerMethodUnderTest testMethod) { argument
80 mMethodUnderTest = testMethod;
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DTestSuiteBuilderTest.java161 public boolean apply(TestMethod testMethod) {
162 return testMethod.getName().contains(string);

Completed in 283 milliseconds