Annotation Interface Named
An annotation that specifies a name to specify a method in a test class.
-
Field Summary
Fields -
Optional Element Summary
Optional Elements
-
Field Details
-
DEFAULT_VALUE
A default value.
The name of the annotated method is recognized using the method name itself. The signature will not be taken into account. To avoid ambiguity, specify the name explicitly.
- See Also:
-
-
Element Details
-
value
String valueShould return a name to specify a method this annotation is attached to. If the value is a string without length, the name of the method (Method#getName()
) itself will be used for it.- Returns:
- A name of a method this annotation is attached to.
- Default:
""
-