Annotation Interface VetoObjectTestContract
@Retention(RUNTIME)
@Target(TYPE)
@Repeatable(VetoObjectTestContracts.class)
public @interface VetoObjectTestContract
A contract Veto is used for suppressing certain test-contracts. The default
implementations run usually all available contracts, e.g. it will run
ObjectTestContracts.EQUALS_AND_HASHCODE
,
ObjectTestContracts.SERIALIZABLE
and
ObjectTestContracts.TO_STRING
. If one of the contracts is not
suitable for your concrete test you can suppress this contract to be run by
using this annotation.- Author:
- Oliver Wolff
-
Required Element Summary
Required Elements
-
Element Details
-
value
- Returns:
- the concrete contract to be suppressed / ignored
-