org.unitils.inject.annotation |
|
Java Source File Name | Type | Comment |
InjectInto.java | Annotation | Annotation indicating that the the
org.unitils.inject.InjectModule should try to inject the object assigned to
the annotated field to the object defined by the target attribute (or the object(s) assigned to the field annotated
with
TestedObject . |
InjectIntoByType.java | Annotation | Annotation indicating that the the
org.unitils.inject.InjectModule should try to inject the object assigned to
the annotated field to the object defined by the target attribute (or the object(s) assigned to the field annotated
with
TestedObject . |
InjectIntoStatic.java | Annotation | Annotation indicating that the the
org.unitils.inject.InjectModule should try to inject the object assigned to
the annotated field to a static property of the class defined by the target attribute.
Explicit injection is used, which means that the object is injected to the property indicated by the
InjectIntoStatic.property() attribute.
You can also specify what action needs to be performed after the test. |
InjectIntoStaticByType.java | Annotation | Annotation indicating that the
org.unitils.inject.InjectModule should try to inject the object assigned to
the annotated field to a static property of the class defined by the target attribute.
Automatic injection by type is used, which means that a the object is injected to the most specific static property
with an assignable type.
You can also specify what action needs to be performed after the test. |
TestedObject.java | Annotation | Annotation indicating the object under test. |