TestTargetClass
@Target([AnnotationTarget.CLASS, AnnotationTarget.FILE]) classTestTargetClass
dalvik.annotation.TestTargetClass |
Defines an annotation for test classes that allows to link them to the class that is being tested. The current assumption is that the test are somewhat organized according to the API classes they test. Might be too strict for some cases.
Summary
Public constructors | |
---|---|
TestTargetClass(value: KClass<*>) Defines an annotation for test classes that allows to link them to the class that is being tested. |
Properties | |
---|---|
KClass<*> |
Specifies the class being tested. |
Public constructors
TestTargetClass
TestTargetClass(value: KClass<*>)
Deprecated: Obsolete.
Defines an annotation for test classes that allows to link them to the class that is being tested. The current assumption is that the test are somewhat organized according to the API classes they test. Might be too strict for some cases.
Properties
value
valvalue: KClass<*>
Deprecated: Deprecated in Java.
Specifies the class being tested.