Class TestApplicationComponentManager
java.lang.Object
dagger.hilt.android.internal.testing.TestApplicationComponentManager
- All Implemented Interfaces:
OnComponentReadyRunner.OnComponentReadyRunnerHolder
,dagger.hilt.internal.GeneratedComponentManager<Object>
,dagger.hilt.internal.TestSingletonComponentManager
public final class TestApplicationComponentManager
extends Object
implements dagger.hilt.internal.TestSingletonComponentManager, OnComponentReadyRunner.OnComponentReadyRunnerHolder
Do not use except in Hilt generated code!
A manager for the creation of components that live in the test Application.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runner.Description
<T> void
registerModule
(Class<T> moduleClass, T module) For framework use only! This method should be called when a required module is installed.
-
Constructor Details
-
TestApplicationComponentManager
public TestApplicationComponentManager(android.app.Application application)
-
-
Method Details
-
earlySingletonComponent
- Specified by:
earlySingletonComponent
in interfacedagger.hilt.internal.TestSingletonComponentManager
-
generatedComponent
- Specified by:
generatedComponent
in interfacedagger.hilt.internal.GeneratedComponentManager<Object>
-
getOnComponentReadyRunner
- Specified by:
getOnComponentReadyRunner
in interfaceOnComponentReadyRunner.OnComponentReadyRunnerHolder
-
getDescription
public org.junit.runner.Description getDescription() -
getTestInstance
-
registerModule
For framework use only! This method should be called when a required module is installed.
-