TestTarget
@Target([AnnotationTarget.ANNOTATION_CLASS]) classTestTarget
dalvik.annotation.TestTarget |
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).
Summary
Public constructors | |
---|---|
TestTarget(conceptName: String, methodArgs: Array<KClass<*>>, methodName: String) Defines an annotation used be used within the TestInfo annotation. |
Properties | |
---|---|
String |
Specifies the name of a concept being tested. |
Array<KClass<*>> |
Specifies the signature of the method that is being tested, in terms of Java classes. |
String |
Specifies the name of the method that is being tested. |
Public constructors
TestTarget
TestTarget(
conceptName: String,
methodArgs: Array<KClass<*>>,
methodName: String)
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).
Properties
conceptName
valconceptName: String
Deprecated: Deprecated in Java.
Specifies the name of a concept being tested. Use this if methodName
is not accurate enough. E.g. for java.util.regex.Pattern#compile(String)
methodName
is 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, ...), ...
methodArgs
valmethodArgs: Array<KClass<*>>
Deprecated: Deprecated in Java.
Specifies the signature of the method that is being tested, in terms of Java classes.
methodName
valmethodName: String
Deprecated: Deprecated in Java.
Specifies the name of the method that is being tested.