Annotation Type TestTargetClass


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

    Required Elements
    Modifier and Type Required Element Description
    Class<?> value
    Deprecated.
    Specifies the class being tested.
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    TestTargetNew[] untestedMethods
    Deprecated.
    Option to specify untested methods for the class.
  • Element Details

    • value

      Class<?> value
      Deprecated.
      Specifies the class being tested.
    • untestedMethods

      TestTargetNew[] untestedMethods
      Deprecated.
      Option to specify untested methods for the class.
      Default:
      {}