Searched refs:resultBundle (Results 1 – 7 of 7) sorted by relevance
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | ScheduledRunMetricListenerTest.java | 66 Bundle resultBundle = new Bundle(); in testPeriodicRun() local 67 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testPeriodicRun() 70 Assert.assertTrue(resultBundle.size() > 4); in testPeriodicRun() 71 assertEquals(TEST_RUN_VALUE + "0", resultBundle.getString(TEST_RUN_KEY + "0")); in testPeriodicRun() 72 assertEquals(TEST_RUN_VALUE + "1", resultBundle.getString(TEST_RUN_KEY + "1")); in testPeriodicRun() 73 assertEquals(TEST_RUN_VALUE + "2", resultBundle.getString(TEST_RUN_KEY + "2")); in testPeriodicRun()
|
D | BaseMetricListenerInstrumentedTest.java | 110 Bundle resultBundle = new Bundle(); 111 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); 126 assertEquals(RUN_START_VALUE, resultBundle.getString(RUN_START_KEY)); 127 assertEquals(RUN_END_VALUE, resultBundle.getString(RUN_END_KEY)); 128 assertEquals(2, resultBundle.size()); 400 Bundle resultBundle = new Bundle(); 401 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); 422 assertEquals(RUN_START_VALUE, resultBundle.getString(RUN_START_KEY)); 423 assertEquals(RUN_END_VALUE, resultBundle.getString(RUN_END_KEY)); 424 assertEquals(2, resultBundle.size()); [all …]
|
D | LogcatOnFailureCollectorTest.java | 107 Bundle resultBundle = new Bundle(); in testLogcatOnFailure_nofailure() local 108 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatOnFailure_nofailure() 131 Bundle resultBundle = new Bundle(); in testLogcatOnFailure() local 132 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatOnFailure() 133 assertEquals(0, resultBundle.size()); in testLogcatOnFailure() 179 Bundle resultBundle = new Bundle(); in testRetrievingLogcat() local 180 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testRetrievingLogcat() 181 assertEquals(0, resultBundle.size()); in testRetrievingLogcat() 251 Bundle resultBundle = new Bundle(); in testLogcatTimespan() local 252 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatTimespan() [all …]
|
D | BatteryStatsListenerTest.java | 117 Bundle resultBundle = new Bundle(); in testTestRunCollector() local 118 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testTestRunCollector() 121 for(String key : resultBundle.keySet()) { in testTestRunCollector() 167 Bundle resultBundle = new Bundle(); in testTestRunToBytesCollector() local 168 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testTestRunToBytesCollector() 213 Bundle resultBundle = new Bundle(); in testTestCaseCollector() local 214 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testTestCaseCollector()
|
D | ScreenshotOnFailureCollectorTest.java | 129 Bundle resultBundle = new Bundle(); in testSavePngAsFile() local 130 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testSavePngAsFile() 166 Bundle resultBundle = new Bundle(); in testSaveUixAsFile() local 167 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testSaveUixAsFile() 203 Bundle resultBundle = new Bundle(); in testNoUixWithoutOption() local 204 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testNoUixWithoutOption()
|
D | ScreenRecordCollectorTest.java | 142 Bundle resultBundle = new Bundle(); in testScreenRecord() local 143 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testScreenRecord()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BaseMetricListener.java | 201 PrintStream streamResult, Bundle resultBundle, Result junitResults) { in instrumentationRunFinished() argument 204 resultBundle.putAll(mRunData.createBundleFromMetrics()); in instrumentationRunFinished()
|