| java.lang.Object | ||
| ↳ | org.junit.rules.ExternalResource | |
| ↳ | android.support.test.rule.logging.LoggingBaseRule | |
Known Direct Subclasses
|
Base class for logging rules to remove boiler-plate instance variables used by most logging rules.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Request the log be written to a specific location.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Indicate to the
Rule that this is the testRunNumberth time the test method
is being called in a test instrumentation.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.junit.rules.ExternalResource
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.junit.rules.TestRule
| |||||||||||
Request the log be written to a specific location.
File logFileOutputDirectory directory to log output to String fileName to override the default file name, if desiredIndicate to the Rule that this is the testRunNumberth time the test method
is being called in a test instrumentation. This method only needs to be called when a test
method is being called multiple times in a test instrumentation.
| testRunNumber | indicates the nth run for the test method in zero-index form |
|---|