Searched refs:testMethod (Results 1 – 13 of 13) sorted by relevance
54 public boolean apply(TestMethod testMethod) { in apply() argument55 return testMethod.getAnnotation(annotationClass) != null || in apply()56 testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
29 public boolean apply(TestMethod testMethod) { in apply() argument30 return root.isAssignableFrom(testMethod.getEnclosingClass()); in apply()
257 private void addTest(TestMethod testMethod) throws Exception { in addTest() argument258 addSuiteIfNecessary(testMethod.getEnclosingClassname()); in addTest()259 suiteForCurrentClass.addTest(testMethod.createTest()); in addTest()
71 for (Method testMethod : getTestMethods(testCase)) { in getTests()72 testMethods.add(new TestMethod(testMethod, testCase)); in getTests()
172 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()
47 TestMethod testMethod = new TestMethod(method, aClass); in hasExampleAnnotation() local48 return TestPredicates.hasAnnotation(Example.class).apply(testMethod); in hasExampleAnnotation()
174 public boolean apply(TestMethod testMethod) { in testsWhoseNameContains()175 return testMethod.getName().contains(string); in testsWhoseNameContains()
75 final Method testMethod = method; in runTest() local80 runMethod(testMethod, tolerance, repetitive); in runTest()
293 Method testMethod = null; in startTest() local295 testMethod = test.getClass().getMethod(testName); in startTest()297 if (testMethod.isAnnotationPresent(RepetitiveTest.class)) { in startTest()298 int numIterations = testMethod.getAnnotation(RepetitiveTest.class) in startTest()
55 public void runTestOnMethod(MediaRecorderMethodUnderTest testMethod) { in runTestOnMethod() argument56 mMethodUnderTest = testMethod; in runTestOnMethod()
79 public void runTestOnMethod(MediaPlayerMethodUnderTest testMethod) { in runTestOnMethod() argument80 mMethodUnderTest = testMethod; in runTestOnMethod()
190 final Method testMethod = method; in runTest() local195 runMethod(testMethod, tolerance, repetitive); in runTest()
782 Method testMethod = null; in startTest() local784 testMethod = test.getClass().getMethod(testName); in startTest()786 if (testMethod.isAnnotationPresent(RepetitiveTest.class)) { in startTest()787 int numIterations = testMethod.getAnnotation( in startTest()