Home
last modified time | relevance | path

Searched refs:mTestRunner (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DDeviceCollectorsTest.java62 private RemoteAndroidTestRunner mTestRunner; field in DeviceCollectorsTest
69 mTestRunner = in setUp()
72 mTestRunner.addInstrumentationArg(AndroidJUnitTest.NEW_RUN_LISTENER_ORDER_KEY, "true"); in setUp()
73 mTestRunner.addInstrumentationArg("notClass", "android.device.tests.TestEvents"); in setUp()
84 mTestRunner.addInstrumentationArg("listener", STUB_BASE_COLLECTOR); in testBaseListenerRuns()
85 mTestRunner.setClassName("android.device.collectors.BaseMetricListenerInstrumentedTest"); in testBaseListenerRuns()
87 assertTrue(getDevice().runInstrumentationTests(mTestRunner, listener)); in testBaseListenerRuns()
110 mTestRunner.addInstrumentationArg("listener", STUB_BASE_COLLECTOR); in testBaseListenerRuns_withExcludeFilters()
111 mTestRunner.addInstrumentationArg("exclude-filter-group", "testGroup"); in testBaseListenerRuns_withExcludeFilters()
112 mTestRunner.setClassName("android.device.collectors.BaseMetricListenerInstrumentedTest"); in testBaseListenerRuns_withExcludeFilters()
[all …]
DBatterystatsCollectorHostTest.java68 private RemoteAndroidTestRunner mTestRunner; field in BatterystatsCollectorHostTest
75 mTestRunner = in setUp()
87 mTestRunner.addInstrumentationArg("listener", BATTERYSTATS_COLLECTOR); in testBatteryStatsListener_perRun()
88 mTestRunner.addInstrumentationArg("batterystats-format", "file:batterystats-log"); in testBatteryStatsListener_perRun()
89 mTestRunner.addInstrumentationArg("batterystats-per-run", "true"); in testBatteryStatsListener_perRun()
90 mTestRunner.setClassName("android.device.collectors.BatteryStatsListenerTest"); in testBatteryStatsListener_perRun()
120 assertTrue(getDevice().runInstrumentationTests(mTestRunner, collector)); in testBatteryStatsListener_perRun()
138 mTestRunner.addInstrumentationArg("listener", BATTERYSTATS_COLLECTOR); in testBatteryStatsListener_perTest()
139 mTestRunner.addInstrumentationArg("batterystats-format", "file:batterystats-log"); in testBatteryStatsListener_perTest()
140 mTestRunner.addInstrumentationArg("batterystats-per-run", "false"); in testBatteryStatsListener_perTest()
[all …]
DScreenshotOnFailureCollectorHostTest.java59 private RemoteAndroidTestRunner mTestRunner; field in ScreenshotOnFailureCollectorHostTest
66 mTestRunner = in setUp()
68 mTestRunner.setClassName("android.device.tests.TestEvents"); in setUp()
79 mTestRunner.addInstrumentationArg("listener", SCREENSHOT_COLLECTOR); in testScreenshotListener()
80 mTestRunner.addInstrumentationArg("screenshot-format", "file:screenshot-log"); in testScreenshotListener()
110 assertTrue(getDevice().runInstrumentationTests(mTestRunner, collector)); in testScreenshotListener()
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/loggers/
DDeviceFileLoggerHostTest.java54 private RemoteAndroidTestRunner mTestRunner; field in DeviceFileLoggerHostTest
61 mTestRunner = in setUp()
64 mTestRunner.addInstrumentationArg(AndroidJUnitTest.NEW_RUN_LISTENER_ORDER_KEY, "true"); in setUp()
72 mTestRunner.addInstrumentationArg("listener", FILE_LOGGER); in testFileIsLogged()
73 mTestRunner.setClassName("android.device.loggers.test.StubInstrumentationAnnotatedTest"); in testFileIsLogged()
75 assertTrue(getDevice().runInstrumentationTests(mTestRunner, listener)); in testFileIsLogged()