Class DiscoverySupport


  • public class DiscoverySupport
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String determineLabel​(java.lang.reflect.AnnotatedElement element, java.util.function.Supplier<java.lang.String> defaultNameSupplier)  
      static java.util.Set<net.jqwik.api.domains.Domain> findDomains​(java.lang.reflect.AnnotatedElement element)  
      static java.util.List<java.lang.annotation.Annotation> findJUnitAnnotations​(java.lang.reflect.AnnotatedElement candidate)  
      static java.util.Set<org.junit.platform.engine.TestTag> findTestTags​(java.lang.reflect.AnnotatedElement element)  
      static java.util.Set<net.jqwik.api.domains.Domain> getDomains​(java.util.Optional<JqwikDescriptor> parent, java.util.Set<net.jqwik.api.domains.Domain> domains)  
      static java.util.Set<org.junit.platform.engine.TestTag> getTags​(java.util.Optional<org.junit.platform.engine.TestDescriptor> parent, java.util.Set<org.junit.platform.engine.TestTag> tags)  
      static void warnWhenJunitAnnotationsArePresent​(java.lang.reflect.AnnotatedElement element)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DiscoverySupport

        public DiscoverySupport()
    • Method Detail

      • findTestTags

        public static java.util.Set<org.junit.platform.engine.TestTag> findTestTags​(java.lang.reflect.AnnotatedElement element)
      • findDomains

        public static java.util.Set<net.jqwik.api.domains.Domain> findDomains​(java.lang.reflect.AnnotatedElement element)
      • determineLabel

        public static java.lang.String determineLabel​(java.lang.reflect.AnnotatedElement element,
                                                      java.util.function.Supplier<java.lang.String> defaultNameSupplier)
      • warnWhenJunitAnnotationsArePresent

        public static void warnWhenJunitAnnotationsArePresent​(java.lang.reflect.AnnotatedElement element)
      • findJUnitAnnotations

        public static java.util.List<java.lang.annotation.Annotation> findJUnitAnnotations​(java.lang.reflect.AnnotatedElement candidate)
      • getTags

        public static java.util.Set<org.junit.platform.engine.TestTag> getTags​(java.util.Optional<org.junit.platform.engine.TestDescriptor> parent,
                                                                               java.util.Set<org.junit.platform.engine.TestTag> tags)
      • getDomains

        public static java.util.Set<net.jqwik.api.domains.Domain> getDomains​(java.util.Optional<JqwikDescriptor> parent,
                                                                             java.util.Set<net.jqwik.api.domains.Domain> domains)