IMonitorFactory
Kotlin
|Java
public
interface
IMonitorFactory
androidx.test.jank.IMonitorFactory |
An interface used to define a class that constructs IMonitor
s for test methods.
Implementing classes must have a public constructor that takes an ERROR(/Instrumentation)
instance as the sole argument.
Summary
Public methods | |
---|---|
abstract
List<IMonitor>
|
getMonitors(Method method, Object test)
Returns a list of |
Public methods
getMonitors
public abstract List<IMonitor> getMonitors (Method method, Object test)
Returns a list of IMonitor
s that should be used to monitor the given test method.
Parameters | |
---|---|
method |
Method : The test method to monitor. |
test |
Object : An instance of the class to which method belongs. |
Returns | |
---|---|
List<IMonitor> |
A list of IMonitor s that should be used to monitor the given test method.
|