Skip to content

Commit

Permalink
Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexymumo committed Mar 23, 2024
1 parent 3d1e8ca commit 934e2bf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import androidx.navigation.compose.rememberNavController
import com.alexmumo.presentation.settings.view.SettingCard
import com.alexmumo.presentation.settings.view.ThemeDialog
import com.alexmumo.presentation.settings.view.settingItem
import org.jetbrains.annotations.VisibleForTesting

@Composable
fun SettingScreen(
Expand Down Expand Up @@ -83,7 +82,6 @@ fun SettingScreen(
}
}


@Composable
fun SettingContent(
paddingValues: PaddingValues,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithTag
import androidx.navigation.compose.rememberNavController
import com.alexmumo.datastore.SettingsRepositoryImpl
import com.alexmumo.domain.repository.SettingRepository
import io.mockk.mockk
import org.junit.Before
Expand Down Expand Up @@ -59,4 +58,4 @@ class SettingScreenTest {
}
composeRule.onNodeWithTag("settings_content_tag").assertExists()
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class ThemeItemTest {
@get:Rule
val composeRule = createComposeRule()


@Before
@Throws(Exception::class)
fun setUp() {
Expand Down

0 comments on commit 934e2bf

Please sign in to comment.