Package net.jqwik.engine.descriptor
Class DiscoverySupport
- java.lang.Object
-
- net.jqwik.engine.descriptor.DiscoverySupport
-
public class DiscoverySupport extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DiscoverySupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringdetermineLabel(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 voidwarnWhenJunitAnnotationsArePresent(java.lang.reflect.AnnotatedElement element)
-
-
-
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)
-
-