| java.lang.Object | |||
| ↳ | org.junit.rules.ExternalResource | ||
| ↳ | android.support.test.rule.logging.LoggingBaseRule | ||
| ↳ | android.support.test.rule.logging.EnableTestTracingRule | ||
When applied to a test class this TestRule calls
Trace.beginSection() before test method execution. The TestRule then calls
Trace.endSection() after test method execution. The TestRule enables Systrace/Atrace
output to have discrete information about when/which test methods were run (which helps during
performance test debugging).
Trace isn't
supported.
Usage:
\@Rule
public EnableTestTracingRule mEnableTestTracing = new EnableTestTracingRule();
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.test.rule.logging.LoggingBaseRule
| |||||||||||
From class
org.junit.rules.ExternalResource
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.junit.rules.TestRule
| |||||||||||