File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
src/test/kotlin/com/google/samples/apps/nowinandroid/core/designsystem Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ dependencies {
4040 implementation(libs.coil.kt.compose)
4141
4242 testImplementation(libs.androidx.compose.ui.test)
43+ testImplementation(libs.androidx.compose.ui.testManifest)
44+
4345 testImplementation(libs.hilt.android.testing)
4446 testImplementation(libs.robolectric)
4547 testImplementation(libs.roborazzi)
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ import com.google.samples.apps.nowinandroid.core.designsystem.theme.NiaTheme
4444import com.google.samples.apps.nowinandroid.core.designsystem.theme.TintTheme
4545import org.junit.Rule
4646import org.junit.Test
47+ import org.junit.runner.RunWith
48+ import org.robolectric.RobolectricTestRunner
4749import kotlin.test.assertEquals
4850
4951/* *
@@ -54,6 +56,7 @@ import kotlin.test.assertEquals
5456 * [LocalBackgroundTheme] — have the expected values for a given theme mode, as specified by the
5557 * design system.
5658 */
59+ @RunWith(RobolectricTestRunner ::class )
5760class ThemeTest {
5861
5962 @get:Rule
You can’t perform that action at this time.
0 commit comments