Package net.jqwik.api
Schnittstelle SampleReportingFormat
- Alle Superschnittstellen:
Comparable<SampleReportingFormat>
- Alle bekannten Implementierungsklassen:
JavaBeanReportingFormat
@API(status=MAINTAINED,
since="1.4.0")
public interface SampleReportingFormat
extends Comparable<SampleReportingFormat>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
default int
compareTo
(SampleReportingFormat other) static Object
plainLabel
(String plain) Use in report(Object) if you just want to report a plain label and not a String in quotes.default int
priority()
Higher priorities have precedence.Transform the value into one that will be handled by default mechanism, e.g. a Collection, a String, a Map.
-
Methodendetails
-
plainLabel
Use in report(Object) if you just want to report a plain label and not a String in quotes.- Parameter:
plain
- String to report- Gibt zurück:
- an object that will be reported as a plain label
-
appliesTo
- Parameter:
value
- the value to format- Gibt zurück:
- true if this format applies
-
report
Transform the value into one that will be handled by default mechanism, e.g. a Collection, a String, a Map.- Parameter:
value
- the value to format- Gibt zurück:
- the transformed value
-
label
- Parameter:
value
- the value to format- Gibt zurück:
- an optional label prepended to a value's report
-
priority
default int priority()Higher priorities have precedence.- Gibt zurück:
- priority with which to apply this format
-
compareTo
- Angegeben von:
compareTo
in SchnittstelleComparable<SampleReportingFormat>
-