Package de.cuioss.test.valueobjects.api.object
package de.cuioss.test.valueobjects.api.object
Provides structures and classes for
Object
-contract
specific tests. This tests will implicitly be run by
ValueObjectTest
. If you want to skip a
certain test you can use
VetoObjectTestContract
to do
so: @VetoObjectTestContract(ObjectTestContracts#SERIALIZABLE)
will
result in the
SerializableContractImpl
not to
being run. The default contract tests are defined within
ObjectTestContracts
- Author:
- Oliver Wolff
-
ClassDescriptionSimple annotation for extended configuration of
ObjectTestContract
.AnObjectTestContract
provides a method that again runs a number of asserts regarding the canonicalObject
method.Shorthand identifier / factory for the individual test contractsIn contrast toVetoObjectTestContract
that is designed for cases where the tests run allObjectTestConfig
, e.g.Wraps a number ofVerifyObjectTestContract
elements.A contract Veto is used for suppressing certain test-contracts.Wraps a number ofVetoObjectTestContract
elements.This Veto is used to exclude specific object types from tests using class path scanning, like .