@Target(value=FIELD) @Retention(value=RUNTIME) public @interface ObjectUnderTest
NeedleTestcase
.Modifier and Type | Optional Element and Description |
---|---|
String |
id
(Optional) The id of the object under test.
|
Class<?> |
implementation
(Optional) The implementation class of the object under test.
|
boolean |
postConstruct
(Optional) execute @PostConstruct method of a class under test
Note: Behavior in an inheritance hierarchy is not defined by the common
annotations specification
Default is false
|
public abstract Class<?> implementation
Default is the field type.
public abstract String id
Default is the field name.
public abstract boolean postConstruct
Note: Behavior in an inheritance hierarchy is not defined by the common annotations specification
Default is false
Copyright © 2014. All rights reserved.