Class JUnitQuickcheckTestClass
java.lang.Object
org.junit.runners.model.TestClass
com.pholser.junit.quickcheck.runner.JUnitQuickcheckTestClass
- All Implemented Interfaces:
org.junit.runners.model.Annotatable
public class JUnitQuickcheckTestClass
extends org.junit.runners.model.TestClass
Extension of JUnit framework class for junit-quickcheck's discovery
of JUnit annotations/methods/fields.
This is a member of a JUnit package so that it has access to
FrameworkField.-
Constructor Summary
ConstructorsConstructorDescriptionJUnitQuickcheckTestClass(Class<?> testClass) Makes a new instance, wrapping the given test class. -
Method Summary
Modifier and TypeMethodDescriptionancestry()private static Field[]applicableFieldsOf(Class<?> clazz) applicableMethodsOf(Class<?> clazz) interfaceAncestry(Class<?> clazz) protected voidscanAnnotatedMembers(Map<Class<? extends Annotation>, List<org.junit.runners.model.FrameworkMethod>> methods, Map<Class<? extends Annotation>, List<org.junit.runners.model.FrameworkField>> fields) superclassHierarchy(Class<?> clazz) Methods inherited from class org.junit.runners.model.TestClass
addToAnnotationLists, collectAnnotatedFieldValues, collectAnnotatedMethodValues, equals, getAnnotatedFields, getAnnotatedFields, getAnnotatedFieldValues, getAnnotatedMethods, getAnnotatedMethods, getAnnotatedMethodValues, getAnnotation, getAnnotations, getJavaClass, getName, getOnlyConstructor, hashCode, isANonStaticInnerClass, isPublic
-
Constructor Details
-
JUnitQuickcheckTestClass
JUnitQuickcheckTestClass(Class<?> testClass) Makes a new instance, wrapping the given test class.- Parameters:
testClass- class with junit-quickcheck tests
-
-
Method Details
-
scanAnnotatedMembers
protected void scanAnnotatedMembers(Map<Class<? extends Annotation>, List<org.junit.runners.model.FrameworkMethod>> methods, Map<Class<? extends Annotation>, List<org.junit.runners.model.FrameworkField>> fields) - Overrides:
scanAnnotatedMembersin classorg.junit.runners.model.TestClass
-
applicableMethodsOf
-
applicableFieldsOf
-
ancestry
-
superclassHierarchy
-
interfaceAncestry
-