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 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:
      scanAnnotatedMembers in class org.junit.runners.model.TestClass
    • applicableMethodsOf

      private static List<Method> applicableMethodsOf(Class<?> clazz)
    • applicableFieldsOf

      private static Field[] applicableFieldsOf(Class<?> clazz)
    • ancestry

      private Stream<Class<?>> ancestry()
    • superclassHierarchy

      private static Stream<Class<?>> superclassHierarchy(Class<?> clazz)
    • interfaceAncestry

      private static Stream<Class<?>> interfaceAncestry(Class<?> clazz)