Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DMixedDeviceOwnerTest.java82 DevicePolicyEventWrapper[] expectedMetrics = new DevicePolicyEventWrapper[] { in getAdditionalDelegationTests() local
98 result.put(".NetworkLoggingDelegateTest", expectedMetrics); in getAdditionalDelegationTests()
DDeviceAndProfileOwnerTest.java1785 final DevicePolicyEventWrapper[] expectedMetrics = entry.getValue(); in executeDelegationTests() local
1790 if (expectedMetrics != null && positive) { in executeDelegationTests()
1791 assertMetricsLogged(getDevice(), testRun, expectedMetrics); in executeDelegationTests() local
/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java280 Metrics expectedMetrics = BoringLayout.isBoring(text, paint, (Metrics) null); in testIsBoring_resetsFontMetrics() local
284 assertNotNull(expectedMetrics); in testIsBoring_resetsFontMetrics()
285 assertEquals(expectedMetrics.top, actualMetrics.top); in testIsBoring_resetsFontMetrics()
286 assertEquals(expectedMetrics.ascent, actualMetrics.ascent); in testIsBoring_resetsFontMetrics()
287 assertEquals(expectedMetrics.bottom, actualMetrics.bottom); in testIsBoring_resetsFontMetrics()
288 assertEquals(expectedMetrics.descent, actualMetrics.descent); in testIsBoring_resetsFontMetrics()
289 assertEquals(expectedMetrics.leading, actualMetrics.leading); in testIsBoring_resetsFontMetrics()