Package dalvik.annotation
Annotation Type TestTarget
@Retention(RUNTIME) @Target(ANNOTATION_TYPE) @Deprecated public @interface TestTarget
Deprecated.
Obsolete.
Defines an annotation used be used within the TestInfo annotation. It
specifies a single method target for the test (but can be used multiple
times).
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringconceptNameDeprecated.Specifies the name of a concept being tested.Class<?>[]methodArgsDeprecated.Specifies the signature of the method that is being tested, in terms of Java classes.StringmethodNameDeprecated.Specifies the name of the method that is being tested.
-
Element Details
-
methodName
String methodNameDeprecated.Specifies the name of the method that is being tested.- Default:
- ""
-
conceptName
String conceptNameDeprecated.Specifies the name of a concept being tested. Use this ifmethodNameis not accurate enough. E.g. forPattern.compile(String)methodNameis not sufficient since the String contains a pattern with its own syntax which has to be tested with different aspects. Areas concerned are e.g. JDBC (SELECT, INSERT, UPDATE, DELETE, ...), regex (character sets, operators,...), formatters (DecimalFormat, DateFormat, ChoiceFormat, ...), ...- Default:
- ""
-
methodArgs
Class<?>[] methodArgsDeprecated.Specifies the signature of the method that is being tested, in terms of Java classes.- Default:
- {}
-