From ac86bfa7589aa9e93e2973d4602d8e03e94ac36c Mon Sep 17 00:00:00 2001 From: Coco Duan Date: Mon, 10 Jul 2023 19:18:35 +0000 Subject: [PATCH] Remove run test annotation from KeyguardClockSwitchControllerBaseTest This fixes an initializationError error after merging the change to refactor the test KeyguardClockSwitchControllerTest, as there are no test cases to run in the base class. Bug: b/285061111 Test: atest SystemUITests:com.android.keyguard Change-Id: Ifd62c8eccad435cf225de830b06fb0beb488d9f8 --- .../keyguard/KeyguardClockSwitchControllerBaseTest.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/SystemUI/tests/src/com/android/keyguard/KeyguardClockSwitchControllerBaseTest.java b/packages/SystemUI/tests/src/com/android/keyguard/KeyguardClockSwitchControllerBaseTest.java index f234662f2feca..ac04bc4356ac1 100644 --- a/packages/SystemUI/tests/src/com/android/keyguard/KeyguardClockSwitchControllerBaseTest.java +++ b/packages/SystemUI/tests/src/com/android/keyguard/KeyguardClockSwitchControllerBaseTest.java @@ -28,15 +28,12 @@ import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import android.content.res.Resources; -import android.testing.AndroidTestingRunner; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; import android.widget.LinearLayout; import android.widget.RelativeLayout; -import androidx.test.filters.SmallTest; - import com.android.systemui.R; import com.android.systemui.SysuiTestCase; import com.android.systemui.dump.DumpManager; @@ -63,14 +60,11 @@ import com.android.systemui.util.settings.SecureSettings; import com.android.systemui.util.time.FakeSystemClock; import org.junit.Before; -import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Captor; import org.mockito.Mock; import org.mockito.MockitoAnnotations; -@SmallTest -@RunWith(AndroidTestingRunner.class) public class KeyguardClockSwitchControllerBaseTest extends SysuiTestCase { @Mock