Home
last modified time | relevance | path

Searched refs:MetricsAsserts (Results 1 – 3 of 3) sorted by relevance

/platform_testing/libraries/metrics-helper/tests/src/android/support/test/metricshelper/
DMetricsAssertsTest.java86 MetricsAsserts.assertHasActionLog("foo", mReader, mActionView); in testHasActionLogTrue()
93 MetricsAsserts.assertHasActionLog(message, mReader, mOpenView); in testHasActionLogFalse()
102 MetricsAsserts.assertHasVisibilityLog("foo", mReader, mOpenView, true); in testHasVisibileLogTrue()
109 MetricsAsserts.assertHasVisibilityLog(message, mReader, mActionView, true); in testHasVisibleLogFalse()
118 MetricsAsserts.assertHasVisibilityLog("foo", mReader, mCloseView, false); in testHasHiddenLogTrue()
125 MetricsAsserts.assertHasVisibilityLog(message, mReader, mOpenView, false); in testHasHiddenLogFalse()
134 MetricsAsserts.assertHasLog("didn't find existing log", mReader, in testHasTemplateLogCategoryOnly()
140 MetricsAsserts.assertHasLog("didn't find existing log", mReader, in testHasTemplateLogCategoryAndType()
147 MetricsAsserts.assertHasLog("didn't find existing log", mReader, in testHasTemplateLogCategoryTypeAndSubtype()
157 MetricsAsserts.assertHasLog(message, mReader, in testDoesNotHaveTemplateLog()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationInteractionTests.java35 import android.support.test.metricshelper.MetricsAsserts;
143 MetricsAsserts.assertHasLog("missing notification cancel log", mMetricsReader, in testDismissAll()
148 MetricsAsserts.assertHasActionLog("missing dismiss-all log", mMetricsReader, in testDismissAll()
169 MetricsAsserts.assertHasVisibilityLog("missing panel revealed log", mMetricsReader, in testNotificationShadeMetrics()
171 Queue<LogMaker> firstLog = MetricsAsserts.findMatchingLogs(mMetricsReader, in testNotificationShadeMetrics()
177 Queue<LogMaker> secondLog = MetricsAsserts.findMatchingLogs(mMetricsReader, in testNotificationShadeMetrics()
208 MetricsAsserts.assertHasVisibilityLog("missing panel hidden log", mMetricsReader, in testNotificationShadeMetrics()
210 firstLog = MetricsAsserts.findMatchingLogs(mMetricsReader, in testNotificationShadeMetrics()
219 secondLog = MetricsAsserts.findMatchingLogs(mMetricsReader, in testNotificationShadeMetrics()
243 MetricsAsserts.assertHasLog("missing notification alert log", mMetricsReader, in testNotificationClicks()
[all …]
/platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/
DMetricsAsserts.java33 public class MetricsAsserts { class