Searched refs:testMethod (Results 1 - 13 of 13) 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 DTestPredicates.java54 public boolean apply(TestMethod testMethod) { argument
55 return testMethod.getAnnotation(annotationClass) != null ||
56 testMethod.getEnclosingClass().getAnnotation(annotationClass) != null;
H A DTestSuiteBuilder.java255 private void addTest(TestMethod testMethod) throws Exception { argument
256 addSuiteIfNecessary(testMethod.getEnclosingClassname());
257 suiteForCurrentClass.addTest(testMethod.createTest());
H A DTestGrouping.java71 for (Method testMethod : getTestMethods(testCase)) {
72 testMethods.add(new TestMethod(testMethod, testCase));
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DTestPredicatesTest.java47 TestMethod testMethod = new TestMethod(method, aClass);
48 return TestPredicates.hasAnnotation(Example.class).apply(testMethod);
H A DTestSuiteBuilderTest.java174 public boolean apply(TestMethod testMethod) {
175 return testMethod.getName().contains(string);
/frameworks/base/packages/SystemUI/tests/src/com/android/
H A DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java156 for (Method testMethod : loadedClass.getMethods()) {
157 if (testMethod.isAnnotationPresent(org.junit.Test.class)) {
182 for (Method testMethod : loadedClass.getMethods()) {
183 if (isPublicTestMethod(testMethod)) {
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java75 final Method testMethod = method;
80 runMethod(testMethod, tolerance, repetitive);
/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/legacy-test/src/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/src/android/test/
H A DInstrumentationTestRunner.java442 * Expected format: com.android.TestClass#testMethod
783 Method testMethod = null;
785 testMethod = test.getClass().getMethod(testName);
787 if (testMethod.isAnnotationPresent(RepetitiveTest.class)) {
788 int numIterations = testMethod.getAnnotation(

Completed in 461 milliseconds