public interface AbstractTypesProvider
AbstractTypes
instances in contract tests.Modifier and Type | Method and Description |
---|---|
AbstractTypes |
getTypes(Map<Class<?>,TypeElement> classTypeElementMap)
Puts
TypeElement instances into the given map (corresponding to the Class keys) and returns a
AbstractTypes instance. |
void |
preContract()
Performs pre-contract actions.
|
void preContract()
This method is called from within an BeforeClass
annotated method. It is
therefore possible to throw a SkipException
in this method.
AbstractTypes getTypes(Map<Class<?>,TypeElement> classTypeElementMap)
TypeElement
instances into the given map (corresponding to the Class
keys) and returns a
AbstractTypes
instance.
Implementations of this method must put a TypeElement
instance for each Class
key into the
given map. Implementations must not add or remove entries to/from the given map.
classTypeElementMap
- Map with Class
objects as keys. The value for each key is initially undefined
and must be updated with the respective TypeElement
upon return.AbstractTypes
instance that will be used for the contract testCopyright © 2014–2015. All rights reserved.