Annotation Interface CustomTestApplication


@Target(TYPE) public @interface CustomTestApplication
An annotation that creates an application with the given base type that can be used for any test in the given build.

This annotation is useful for creating an application that can be used with instrumentation tests in gradle, since every instrumentation test must share the same application type.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the base Application class.
  • Element Details

    • value

      Class<?> value
      Returns the base Application class.