JankTest
public
abstract
@interface
JankTest
implements
Annotation
android.support.test.jank.JankTest |
Annotation used to configure a jank test method.
Summary
Public methods | |
---|---|
String
|
afterLoop()
Alternate method to execute after each iteration
Note: the annotated method must have same signature as |
String
|
afterTest()
Alternate method to execute after all iterations have completed. |
String
|
beforeLoop()
Alternate method to execute before each iteration
Note: the annotated method must have same signature as |
String
|
beforeTest()
Alternate method to execute before the test method
Note: the annotated method must have same signature as |
int
|
defaultIterationCount()
Default iteration count to run if not specified by command line |
int
|
expectedFrames()
The minimum number of frames expected |
Inherited methods | |
---|---|
From
interface
java.lang.annotation.Annotation
|
Public methods
afterLoop
String afterLoop ()
Alternate method to execute after each iteration
Note: the annotated method must have same signature as afterLoop()
Returns | |
---|---|
String |
afterTest
String afterTest ()
Alternate method to execute after all iterations have completed.
Important: the annotated method must take a parameter of type
Bundle
.
Returns | |
---|---|
String |
See also:
beforeLoop
String beforeLoop ()
Alternate method to execute before each iteration
Note: the annotated method must have same signature as beforeLoop()
Returns | |
---|---|
String |
beforeTest
String beforeTest ()
Alternate method to execute before the test method
Note: the annotated method must have same signature as beforeTest()
Returns | |
---|---|
String |
defaultIterationCount
int defaultIterationCount ()
Default iteration count to run if not specified by command line
Returns | |
---|---|
int |
expectedFrames
int expectedFrames ()
The minimum number of frames expected
Returns | |
---|---|
int |
Annotations
Classes