Annotation Interface Tests


@Target(TYPE) @Retention(RUNTIME) public @interface Tests
Wrapper annotation for indicating which components a wrapper implementation supports.

This is used for automatically selecting a wrapper implementation for a given component.

Since:
1.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The fully qualified names of the tested component types, for components that are not on the compile classpath of this module.
    Class<? extends Component>[]
    Array of the classes that is wrapped by the annotated ComponentTester
  • Element Details

    • value

      Class<? extends Component>[] value
      Array of the classes that is wrapped by the annotated ComponentTester
      Returns:
      Component classes that can be wrapped
      Default:
      {}
    • fqn

      String[] fqn
      The fully qualified names of the tested component types, for components that are not on the compile classpath of this module.
      Returns:
      the tested component type names
      Default:
      {}