Home
last modified time | relevance | path

Searched refs:getTestClass (Results 1 – 25 of 49) sorted by relevance

12

/external/junit/src/main/java/org/junit/runners/
DBlockJUnit4ClassRunner.java96 description = Description.createTestDescription(getTestClass().getJavaClass(), in describeChild()
119 return getTestClass().getAnnotatedMethods(Test.class); in computeTestMethods()
134 if (getTestClass().isANonStaticInnerClass()) { in validateNoNonStaticInnerClass()
135 String gripe = "The inner class " + getTestClass().getName() in validateNoNonStaticInnerClass()
167 if (!getTestClass().isANonStaticInnerClass() in validateZeroArgConstructor()
169 && (getTestClass().getOnlyConstructor().getParameterTypes().length != 0)) { in validateZeroArgConstructor()
176 return getTestClass().getJavaClass().getConstructors().length == 1; in hasOneConstructor()
196 RULE_VALIDATOR.validate(getTestClass(), errors); in validateFields()
200 RULE_METHOD_VALIDATOR.validate(getTestClass(), errors); in validateMethods()
217 return getTestClass().getOnlyConstructor().newInstance(); in createTest()
[all …]
DParameterized.java274 return createTestWithParameters(getTestClass(), pattern, index, in createTestWithNotNormalizedParameters()
291 List<FrameworkMethod> methods = getTestClass().getAnnotatedMethods( in getParametersMethod()
300 + getTestClass().getName()); in getParametersMethod()
335 String className = getTestClass().getName(); in parametersMethodReturnedWrongType()
DParentRunner.java132 if (getTestClass().getJavaClass() != null) { in applyValidators()
134 errors.addAll(each.validateTestClass(getTestClass())); in applyValidators()
152 List<FrameworkMethod> methods = getTestClass().getAnnotatedMethods(annotation); in validatePublicVoidNoArgMethods()
160 CLASS_RULE_VALIDATOR.validate(getTestClass(), errors); in validateClassRules()
161 CLASS_RULE_METHOD_VALIDATOR.validate(getTestClass(), errors); in validateClassRules()
313 public final TestClass getTestClass() {
/external/junit/src/main/java/org/junit/experimental/theories/
DTheories.java84 Field[] fields = getTestClass().getJavaClass().getDeclaredFields(); in validateDataPointFields()
100 Method[] methods = getTestClass().getJavaClass().getDeclaredMethods(); in validateDataPointMethods()
157 List<FrameworkMethod> theoryMethods = getTestClass().getAnnotatedMethods(Theory.class); in computeTestMethods()
165 return new TheoryAnchor(method, getTestClass()); in methodBlock()
181 private TestClass getTestClass() { in getTestClass() method in Theories.TheoryAnchor
188 testMethod.getMethod(), getTestClass())); in evaluate()
218 new BlockJUnit4ClassRunner(getTestClass().getJavaClass()) { in runWithCompleteAssignment()
258 return getTestClass().getOnlyConstructor().newInstance(params); in runWithCompleteAssignment()
/external/junit/src/main/java/org/junit/runners/parameterized/
DBlockJUnit4ClassRunnerWithParameters.java27 super(test.getTestClass().getJavaClass()); in BlockJUnit4ClassRunnerWithParameters()
43 return getTestClass().getOnlyConstructor().newInstance(parameters); in createTestUsingConstructorInjection()
56 Object testClassInstance = getTestClass().getJavaClass().newInstance(); in createTestUsingFieldInjection()
64 throw new Exception(getTestClass().getName() in createTestUsingFieldInjection()
137 return getTestClass().getAnnotatedFields(Parameter.class); in getAnnotatedFieldsByParameter()
DTestWithParameters.java38 public TestClass getTestClass() { in getTestClass() method in TestWithParameters
/external/testng/src/main/java/org/testng/internal/
DMethodInstance.java49 XmlTest test1 = o1.getMethod().getTestClass().getXmlTest();
50 XmlTest test2 = o2.getMethod().getTestClass().getXmlTest();
61 XmlClass class1 = o1.getMethod().getTestClass().getXmlClass();
62 XmlClass class2 = o2.getMethod().getTestClass().getXmlClass();
DTestNGMethod.java179 ITestClass tc= getTestClass(); in clone()
224 String c1 = o1.getTestClass().getName();
225 String c2 = o2.getTestClass().getName();
DInvoker.java165 testClass= tm.getTestClass(); in invokeConfigurations()
255 …recordConfigurationInvocationFailed(tm, testResult.getTestClass(), annotation, currentTestMethod, … in handleConfigurationSkip()
310 …recordConfigurationInvocationFailed(tm, testResult.getTestClass(), annotation, currentTestMethod, … in handleConfigurationFailure()
1020 assert null != testMethod.getTestClass() in invokeTestMethods()
1062 final ITestClass testClass= testMethod.getTestClass(); in invokeTestMethods()
1174 new TestResult(testMethod.getTestClass(), in invokeTestMethods()
1196 new TestResult(testMethod.getTestClass(), in registerSkippedTestResult()
1291 testMethod.getTestClass(), in handleParameters()
1435 ITestClass testClass= testMethod.getTestClass(); in runWorkers()
1536 if (r.getTestClass() != method.getTestClass() || instance == o) result.add(r); in keepSameInstances()
[all …]
DClonedMethod.java163 public ITestClass getTestClass() { in getTestClass() method in ClonedMethod
164 return m_method.getTestClass(); in getTestClass()
/external/testng/src/main/java/org/testng/
DClassMethodMap.java56 if (tm.getEnabled() && tm.getTestClass().equals(m.getTestClass())) return false; in removeAndCheckIfLast()
65 return m.getTestClass().getRealClass(); in getMethodClass()
DITestResult.java44 public IClass getTestClass(); in getTestClass() method
DPreserveOrderMethodInterceptor.java21 + " index:" + mi.getMethod().getTestClass().getXmlClass().getIndex()); in p()
DITestNGMethod.java28 ITestClass getTestClass(); in getTestClass() method
/external/junit/src/main/java/org/junit/internal/runners/
DJUnit4ClassRunner.java78 return getTestClass().getName(); in getName()
82 return getTestClass().getConstructor().newInstance(); in createTest()
117 …return Description.createTestDescription(getTestClass().getJavaClass(), testName(method), testAnno… in methodDescription()
144 protected TestClass getTestClass() { in getTestClass() method in JUnit4ClassRunner
/external/testng/src/main/java/org/testng/reporters/jq/
DChronologicalPanel.java69 if (!m.getTestClass().getName().equals(currentClass)) { in getContent()
74 xsb.addRequired(D, m.getTestClass().getName(), C, "chronological-class-name"); in getContent()
75 currentClass = m.getTestClass().getName(); in getContent()
DModel.java74 rbc.addResult(tr.getTestClass().getRealClass(), tr); in init()
85 rbc.addResult(tr.getTestClass().getRealClass(), tr); in init()
96 rbc.addResult(tr.getTestClass().getRealClass(), tr); in init()
DIgnoredMethodsPanel.java32 map.put(method.getTestClass().getRealClass(), method); in getContent()
/external/testng/src/main/java/org/testng/junit/
DJUnit4TestClass.java12 super(test.getTestClass()); in JUnit4TestClass()
DJUnit4TestMethod.java23 Class<?> c = desc.getTestClass(); in getMethod()
/external/testng/src/main/java/org/testng/internal/annotations/
DBaseAnnotation.java23 public Class getTestClass() { in getTestClass() method in BaseAnnotation
/external/testng/src/main/java/org/testng/reporters/util/
DStackTraceTools.java18 String cname = method.getTestClass().getName(); in getTestRoot()
/external/testng/src/main/java/org/testng/reporters/
DEmailableReporter2.java592 int result = o1.getTestClass().getName()
593 .compareTo(o2.getTestClass().getName());
663 String previousClassName = result.getTestClass().getName(); in groupResults()
668 String className = result.getTestClass().getName(); in groupResults()
DTestHTMLReporter.java85 sb.append("<td title='").append(tr.getTestClass().getName()).append(".") in generateTable()
91 String testClass = tr.getTestClass().getName(); in generateTable()
/external/junit/src/main/java/org/junit/experimental/categories/
DCategories.java273 Class<?> testClass= description.getTestClass(); in parentDescription()
362 if (each.getTestClass() == null) { in canHaveCategorizedChildren()

12