From 83577471547c4235c2366e080484b562719ad0a1 Mon Sep 17 00:00:00 2001 From: Ben Trengrove Date: Fri, 25 Aug 2023 07:53:36 +1000 Subject: [PATCH] Fix themeadapter tests --- .../themeadapter/appcompat/BaseAppCompatThemeTest.kt | 2 ++ .../accompanist/themeadapter/appcompat/NotAppCompatThemeTest.kt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/themeadapter-appcompat/src/sharedTest/kotlin/com/google/accompanist/themeadapter/appcompat/BaseAppCompatThemeTest.kt b/themeadapter-appcompat/src/sharedTest/kotlin/com/google/accompanist/themeadapter/appcompat/BaseAppCompatThemeTest.kt index e5a9e16be..2f769982c 100644 --- a/themeadapter-appcompat/src/sharedTest/kotlin/com/google/accompanist/themeadapter/appcompat/BaseAppCompatThemeTest.kt +++ b/themeadapter-appcompat/src/sharedTest/kotlin/com/google/accompanist/themeadapter/appcompat/BaseAppCompatThemeTest.kt @@ -14,6 +14,8 @@ * limitations under the License. */ +@file:Suppress("DEPRECATION") + package com.google.accompanist.themeadapter.appcompat import android.view.ContextThemeWrapper diff --git a/themeadapter-appcompat/src/sharedTest/kotlin/com/google/accompanist/themeadapter/appcompat/NotAppCompatThemeTest.kt b/themeadapter-appcompat/src/sharedTest/kotlin/com/google/accompanist/themeadapter/appcompat/NotAppCompatThemeTest.kt index 19bb8652d..4aa5f0f52 100644 --- a/themeadapter-appcompat/src/sharedTest/kotlin/com/google/accompanist/themeadapter/appcompat/NotAppCompatThemeTest.kt +++ b/themeadapter-appcompat/src/sharedTest/kotlin/com/google/accompanist/themeadapter/appcompat/NotAppCompatThemeTest.kt @@ -14,6 +14,8 @@ * limitations under the License. */ +@file:Suppress("DEPRECATION") + package com.google.accompanist.themeadapter.appcompat import androidx.compose.ui.test.junit4.createAndroidComposeRule