/external/junit/src/main/java/org/junit/runners/ |
D | BlockJUnit4ClassRunner.java | 96 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 …]
|
D | Parameterized.java | 274 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()
|
D | ParentRunner.java | 132 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/ |
D | Theories.java | 84 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/ |
D | BlockJUnit4ClassRunnerWithParameters.java | 27 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()
|
D | TestWithParameters.java | 38 public TestClass getTestClass() { in getTestClass() method in TestWithParameters
|
/external/testng/src/main/java/org/testng/internal/ |
D | MethodInstance.java | 49 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();
|
D | TestNGMethod.java | 179 ITestClass tc= getTestClass(); in clone() 224 String c1 = o1.getTestClass().getName(); 225 String c2 = o2.getTestClass().getName();
|
D | Invoker.java | 165 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 …]
|
D | ClonedMethod.java | 163 public ITestClass getTestClass() { in getTestClass() method in ClonedMethod 164 return m_method.getTestClass(); in getTestClass()
|
/external/testng/src/main/java/org/testng/ |
D | ClassMethodMap.java | 56 if (tm.getEnabled() && tm.getTestClass().equals(m.getTestClass())) return false; in removeAndCheckIfLast() 65 return m.getTestClass().getRealClass(); in getMethodClass()
|
D | ITestResult.java | 44 public IClass getTestClass(); in getTestClass() method
|
D | PreserveOrderMethodInterceptor.java | 21 + " index:" + mi.getMethod().getTestClass().getXmlClass().getIndex()); in p()
|
D | ITestNGMethod.java | 28 ITestClass getTestClass(); in getTestClass() method
|
/external/junit/src/main/java/org/junit/internal/runners/ |
D | JUnit4ClassRunner.java | 78 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/ |
D | ChronologicalPanel.java | 69 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()
|
D | Model.java | 74 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()
|
D | IgnoredMethodsPanel.java | 32 map.put(method.getTestClass().getRealClass(), method); in getContent()
|
/external/testng/src/main/java/org/testng/junit/ |
D | JUnit4TestClass.java | 12 super(test.getTestClass()); in JUnit4TestClass()
|
D | JUnit4TestMethod.java | 23 Class<?> c = desc.getTestClass(); in getMethod()
|
/external/testng/src/main/java/org/testng/internal/annotations/ |
D | BaseAnnotation.java | 23 public Class getTestClass() { in getTestClass() method in BaseAnnotation
|
/external/testng/src/main/java/org/testng/reporters/util/ |
D | StackTraceTools.java | 18 String cname = method.getTestClass().getName(); in getTestRoot()
|
/external/testng/src/main/java/org/testng/reporters/ |
D | EmailableReporter2.java | 592 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()
|
D | TestHTMLReporter.java | 85 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/ |
D | Categories.java | 273 Class<?> testClass= description.getTestClass(); in parentDescription() 362 if (each.getTestClass() == null) { in canHaveCategorizedChildren()
|