public class CreateViewTest extends AndroidTestCase implements PerformanceTestCase
Modifier and Type | Class and Description |
---|---|
static class |
CreateViewTest.ViewOne |
PerformanceTestCase.Intermediates
mContext
Constructor and Description |
---|
CreateViewTest() |
Modifier and Type | Method and Description |
---|---|
boolean |
isPerformanceOnly()
This method is used to determine what modes this test case can run in.
|
int |
startPerformance(PerformanceTestCase.Intermediates intermediates)
Set up to begin performance tests.
|
void |
testLayout1() |
void |
testLayout2() |
void |
testLayout3() |
void |
testLayout4() |
void |
testLayout5() |
void |
testLayout6() |
assertActivityRequiresPermission, assertReadingContentUriRequiresPermission, assertWritingContentUriRequiresPermission, getContext, getTestContext, scrubClass, setContext, setTestContext, setUp, tearDown, testAndroidTestCaseSetupProperly
public boolean isPerformanceOnly()
PerformanceTestCase
isPerformanceOnly
in interface PerformanceTestCase
public int startPerformance(PerformanceTestCase.Intermediates intermediates)
PerformanceTestCase
If you return a non-zero iteration count, you should call
intermediates.startTiming
and
intermediates.endTiming
to report the
duration of the test whose performance should actually be measured.
startPerformance
in interface PerformanceTestCase
intermediates
- Callback for sending intermediate results.