Package dagger.hilt.android.testing
Annotation Type 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 java.lang.Class<?>
value
Returns the baseApplication
class.
-