Annotation Type TestTargets


@Retention(RUNTIME)
@Target(METHOD)
public @interface TestTargets
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.
  • Required Element Summary

    Required Elements
    Modifier and Type Required Element Description
    TestTargetNew[] value
    Specifies the API methods that are tested by the annotated test method.
  • Element Details

    • value

      TestTargetNew[] value
      Specifies the API methods that are tested by the annotated test method.