//Extensions for Dagger Hilt/it.czerwinski.android.hilt.annotations/TestBound
TestBound
[jvm] @Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class TestBound(component: KClass<*>)
Marks test implementation bound to the supertype of the annotated class in the given component.
Annotated implementation must have exactly one direct supertype (excluding java.lang.Object).
Any annotations annotated with @Scope or @Qualifier will also annotate the resulting @Binds method.
Since
1.1.0
Constructors
Name | Summary |
---|---|
TestBound | [jvm] fun TestBound(component: KClass<*> = SingletonComponent::class) |
Functions
Name | Summary |
---|---|
equals | [jvm] Content open operator fun equals(other: Any?): Boolean |
hashCode | [jvm] Content open fun hashCode(): Int |
toString | [jvm] Content open fun toString(): String |
Properties
Name | Summary |
---|---|
component | [jvm] val component: KClass<*>Hilt component in which the binding should be installed. |