Searched refs:expectedMetrics (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | BoringLayoutTest.java | 280 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()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | MixedDeviceOwnerTest.java | 104 DevicePolicyEventWrapper[] expectedMetrics = new DevicePolicyEventWrapper[] { in getAdditionalDelegationTests() local 120 result.put(".NetworkLoggingDelegateTest", expectedMetrics); in getAdditionalDelegationTests()
|
D | DeviceAndProfileOwnerTest.java | 1907 final DevicePolicyEventWrapper[] expectedMetrics = entry.getValue(); in executeDelegationTests() local 1912 if (expectedMetrics != null && positive) { in executeDelegationTests() 1913 assertMetricsLogged(getDevice(), testRun, expectedMetrics); in executeDelegationTests() local
|