/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 | 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() {
|
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()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/ |
D | AnonymousClassTestCase.java | 27 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnonymousClassTest"); in testRegularClassIsNotAnonymous() 36 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnonymousClassTest$X"); in testNamedInnerClassIsNotAnonymous() 45 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnonymousClassTest$Y"); in testStaticInnerClassIsNotAnonymous() 54 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnonymousClassTest$1"); in testAnonymousInnerClassIsAnonymous()
|
D | PLSETestCase.java | 41 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.PLSETestClass"); in testB208() 57 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.PLSETestClass"); in testB79() 75 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.PLSETestEnum"); in testB262() 96 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.PLSETestClass2"); in testB295()
|
D | EnclosingMethodAttributeTestCase.java | 40 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AttributeTestClassEM01$1S"); in testCheckMethodLevelNamedInnerClass() 63 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AttributeTestClassEM02$1"); in testCheckClassLevelNamedInnerClass() 86 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AttributeTestClassEM02$1"); in testAttributeSerializtion()
|
D | EnumAccessFlagTestCase.java | 32 JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.SimpleEnum"); in testEnumClassSaysItIs() 36 clazz = getTestClass(PACKAGE_BASE_NAME+".data.SimpleClass"); in testEnumClassSaysItIs()
|
D | AnnotationAccessFlagTestCase.java | 32 JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.SimpleAnnotation"); in testAnnotationClassSaysItIs() 36 clazz = getTestClass(PACKAGE_BASE_NAME+".data.SimpleClass"); in testAnnotationClassSaysItIs()
|
D | AbstractCounterVisitorTestCase.java | 27 protected abstract JavaClass getTestClass() throws ClassNotFoundException; in getTestClass() method in AbstractCounterVisitorTestCase 35 new DescendingVisitor(getTestClass(), getVisitor()).visit(); in setUp()
|
D | CounterVisitorTestCase.java | 26 protected JavaClass getTestClass() throws ClassNotFoundException in getTestClass() method in CounterVisitorTestCase 28 return getTestClass(PACKAGE_BASE_NAME+".data.MarkedType"); in 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()
|
/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/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | ParameterizedRobolectricTestRunner.java | 118 List<Object[]> parametersList = getParametersList(getTestClass(), classLoader); in computeParams() 128 "%s.%s() must return a Collection of arrays.", getTestClass().getName(), name)); in computeParams() 153 getTestClass().getName() in injectParametersIntoFields() 248 getTestClass().getJavaClass()); in getHelperTestRunner() 262 return getTestClass().getAnnotatedFields(Parameter.class); in getAnnotatedFieldsByParameter() 277 TestClass testClass = getTestClass();
|
/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/ |
D | ClassMethodMap.java | 56 if (tm.getEnabled() && tm.getTestClass().equals(m.getTestClass())) return false; in removeAndCheckIfLast() 65 return m.getTestClass().getRealClass(); in getMethodClass()
|
/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()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/ |
D | FieldAnnotationsTestCase.java | 38 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnnotatedFields"); in testFieldAnnotationEntrys() 50 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnnotatedFields"); in testFieldAnnotationEntrysReadWrite() 71 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnnotatedFields"); in testFieldAnnotationModification()
|
D | GeneratingAnnotatedClassesTestCase.java | 200 final JavaClass jc = getTestClass(PACKAGE_BASE_NAME+".data.SimpleAnnotatedClass"); in testTransformClassToClassGen_SimpleTypes() 215 final JavaClass jc = getTestClass(PACKAGE_BASE_NAME+".data.AnnotatedWithEnumClass"); in testTransformClassToClassGen_EnumType() 230 … final JavaClass jc = getTestClass(PACKAGE_BASE_NAME+".data.AnnotatedWithCombinedAnnotation"); in testTransformClassToClassGen_ArrayAndAnnotationTypes() 337 final JavaClass jc = getTestClass(PACKAGE_BASE_NAME+".data.ComplexAnnotatedClass"); in testTransformComplexClassToClassGen() 365 final JavaClass jc = getTestClass(PACKAGE_BASE_NAME+".data.SimpleAnnotatedClass"); in testModifyingClasses1() 382 final JavaClass jc = getTestClass(PACKAGE_BASE_NAME+".data.SimpleAnnotatedClass"); in testModifyingClasses2()
|
/external/testng/src/main/java/org/testng/junit/ |
D | JUnit4TestClass.java | 12 super(test.getTestClass()); in JUnit4TestClass()
|
/external/robolectric-shadows/junit/src/main/java/org/robolectric/internal/ |
D | SandboxTestRunner.java | 184 SandboxConfig classConfig = getTestClass().getJavaClass().getAnnotation(SandboxConfig.class); 236 Class bootstrappedTestClass = sandbox.bootstrappedClass(getTestClass().getJavaClass()); 326 addShadows(shadowClasses, getTestClass().getJavaClass().getAnnotation(SandboxConfig.class));
|