Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

IMonitorFactory

public interface IMonitorFactory

androidx.test.jank.IMonitorFactory


An interface used to define a class that constructs IMonitors 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 IMonitors that should be used to monitor the given test method.

Public methods

getMonitors

List<IMonitor> getMonitors (Method method, 
                Object test)

Returns a list of IMonitors 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 IMonitors that should be used to monitor the given test method.