Package com.tngtech.jgiven.annotation
Annotation Interface NamedFormat
Allow to specify an identifiable format
- Since:
- 0.15.0
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionSpecify an inlineFormat
Class<? extends Annotation>
Specify a custom format annotation
-
Element Details
-
name
String nameSpecify a name identifying this format
-
-
-
format
Format formatSpecify an inlineFormat
Mutually exclusive with
formatAnnotation()
- Default:
- @com.tngtech.jgiven.annotation.Format(com.tngtech.jgiven.format.DefaultObjectFormatter.class)
-
formatAnnotation
Class<? extends Annotation> formatAnnotationSpecify a custom format annotation- Default:
- java.lang.annotation.Annotation.class
-