From 089981b98227959146c9c426533efbcf35fec1c6 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Fri, 30 Jun 2017 09:10:01 -0400 Subject: [PATCH] Fix test failure Was the result of 2 CLs merging at the same time that affect the test. Test: runtest systemui Change-Id: I622a9f7163aa5f9830ef9acb90f1bfb3e5f3df5f Fixes: 63098063 --- .../tests/src/com/android/systemui/RoundedCornersTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/SystemUI/tests/src/com/android/systemui/RoundedCornersTest.java b/packages/SystemUI/tests/src/com/android/systemui/RoundedCornersTest.java index 13ed2a25abf98..2a447715fb6bd 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/RoundedCornersTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/RoundedCornersTest.java @@ -46,7 +46,6 @@ import com.android.systemui.tuner.TunablePadding.TunablePaddingService; import com.android.systemui.tuner.TunerService; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; @@ -105,7 +104,6 @@ public class RoundedCornersTest extends SysuiTestCase { } @Test - @Ignore public void testRounding() { mContext.getOrCreateTestableResources().addOverride(dimen.rounded_corner_radius, 20); mContext.getOrCreateTestableResources() @@ -115,8 +113,8 @@ public class RoundedCornersTest extends SysuiTestCase { // Add 2 windows for rounded corners (top and bottom). verify(mWindowManager, times(2)).addView(any(), any()); - // Add 3 tag listeners for each of the fragments that are needed. - verify(mFragmentHostManager, times(3)).addTagListener(any(), any()); + // Add 2 tag listeners for each of the fragments that are needed. + verify(mFragmentHostManager, times(2)).addTagListener(any(), any()); // One tunable. verify(mTunerService, times(1)).addTunable(any(), any()); // One TunablePadding.