From ccd0a7a0b1c361e5fc745bfe4a9d59ad1d02dbee Mon Sep 17 00:00:00 2001 From: Nebojsa Vuksic Date: Tue, 5 Aug 2025 23:54:46 +0200 Subject: [PATCH] Refactor: Remove unused `setContentWrappedInTheme` extension function --- .../jetbrains/plugins/template/MyLocationListTest.kt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/test/kotlin/org/jetbrains/plugins/template/MyLocationListTest.kt b/src/test/kotlin/org/jetbrains/plugins/template/MyLocationListTest.kt index 5e04ce7..5e7d1c8 100644 --- a/src/test/kotlin/org/jetbrains/plugins/template/MyLocationListTest.kt +++ b/src/test/kotlin/org/jetbrains/plugins/template/MyLocationListTest.kt @@ -4,7 +4,6 @@ import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.test.assertIsSelected -import androidx.compose.ui.test.junit4.ComposeContentTestRule import androidx.compose.ui.test.junit4.ComposeTestRule import androidx.compose.ui.test.onNodeWithContentDescription import androidx.compose.ui.test.onNodeWithText @@ -12,7 +11,6 @@ import androidx.compose.ui.test.performClick import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.combine -import org.jetbrains.jewel.intui.standalone.theme.IntUiTheme import org.jetbrains.plugins.template.weatherApp.model.Location import org.jetbrains.plugins.template.weatherApp.model.SelectableLocation import org.jetbrains.plugins.template.weatherApp.services.MyLocationsViewModelApi @@ -180,14 +178,6 @@ internal class MyLocationListTest : ComposeBasedTestCase() { } } - private fun ComposeContentTestRule.setContentWrappedInTheme(content: @Composable () -> Unit) { - setContent { - IntUiTheme { - content() - } - } - } - private class MyLocationListRobot(private val composableRule: ComposeTestRule) { fun clickOnItemWithText(text: String) {