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 {
40
40
implementation(libs.coil.kt.compose)
41
41
42
42
testImplementation(libs.androidx.compose.ui.test)
43
+ testImplementation(libs.androidx.compose.ui.testManifest)
44
+
43
45
testImplementation(libs.hilt.android.testing)
44
46
testImplementation(libs.robolectric)
45
47
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
44
44
import com.google.samples.apps.nowinandroid.core.designsystem.theme.TintTheme
45
45
import org.junit.Rule
46
46
import org.junit.Test
47
+ import org.junit.runner.RunWith
48
+ import org.robolectric.RobolectricTestRunner
47
49
import kotlin.test.assertEquals
48
50
49
51
/* *
@@ -54,6 +56,7 @@ import kotlin.test.assertEquals
54
56
* [LocalBackgroundTheme] — have the expected values for a given theme mode, as specified by the
55
57
* design system.
56
58
*/
59
+ @RunWith(RobolectricTestRunner ::class )
57
60
class ThemeTest {
58
61
59
62
@get:Rule
You can’t perform that action at this time.
0 commit comments