Searched refs:getTestClass (Results 1 – 11 of 11) sorted by relevance
74 return Description.createTestDescription(getTestClass().getJavaClass(), in describeChild()93 return getTestClass().getAnnotatedMethods(Test.class); in computeTestMethods()107 if (getTestClass().isANonStaticInnerClass()) { in validateNoNonStaticInnerClass()108 String gripe= "The inner class " + getTestClass().getName() in validateNoNonStaticInnerClass()140 if (!getTestClass().isANonStaticInnerClass() in validateZeroArgConstructor()142 && (getTestClass().getOnlyConstructor().getParameterTypes().length != 0)) { in validateZeroArgConstructor()149 return getTestClass().getJavaClass().getConstructors().length == 1; in hasOneConstructor()170 RULE_VALIDATOR.validate(getTestClass(), errors); in validateFields()187 return getTestClass().getOnlyConstructor().newInstance(); in createTest()303 List<FrameworkMethod> befores= getTestClass().getAnnotatedMethods( in withBefores()[all …]
86 return getTestClass().getOnlyConstructor().newInstance( in createTest()96 getTestClass().getName(), getParametersMethod( in computeParams()97 getTestClass()).getName())); in computeParams()135 List<Object[]> parametersList= getParametersList(getTestClass()); in Parameterized()137 runners.add(new TestClassRunnerForParameters(getTestClass().getJavaClass(), in Parameterized()
128 List<FrameworkMethod> methods= getTestClass().getAnnotatedMethods(annotation); in validatePublicVoidNoArgMethods()135 CLASS_RULE_VALIDATOR.validate(getTestClass(), errors); in validateClassRules()251 public final TestClass getTestClass() {
35 Field[] fields= getTestClass().getJavaClass().getDeclaredFields(); in validateDataPointFields()59 List<FrameworkMethod> theoryMethods= getTestClass().getAnnotatedMethods(Theory.class); in computeTestMethods()67 return new TheoryAnchor(method, getTestClass()); in methodBlock()83 private TestClass getTestClass() { in getTestClass() method in Theories.TheoryAnchor90 fTestMethod.getMethod(), getTestClass())); in evaluate()119 new BlockJUnit4ClassRunner(getTestClass().getJavaClass()) { in runWithCompleteAssignment()153 return getTestClass().getOnlyConstructor().newInstance( in runWithCompleteAssignment()
78 return getTestClass().getName(); in getName()82 return getTestClass().getConstructor().newInstance(); in createTest()117 …return Description.createTestDescription(getTestClass().getJavaClass(), testName(method), testAnno… in methodDescription()142 protected TestClass getTestClass() { in getTestClass() method in JUnit4ClassRunner
131 Class<?> testClass= description.getTestClass(); in parentDescription()188 if (each.getTestClass() == null) in canHaveCategorizedChildren()
30 return description.getTestClass().getPackage().getName().equals(mFilterString); in shouldRun()
31 Class<?> c = description.getTestClass(); in shouldRun()
48 public Class<?> getTestClass() { in getTestClass() method in JUnit4TestAdapter
202 public Class<?> getTestClass() { in getTestClass() method in Description
127 Class<?> type= each.getTestClass();