|
|
@ -44,6 +44,8 @@ import com.google.samples.apps.nowinandroid.core.designsystem.theme.NiaTheme
|
|
|
|
import com.google.samples.apps.nowinandroid.core.designsystem.theme.TintTheme
|
|
|
|
import com.google.samples.apps.nowinandroid.core.designsystem.theme.TintTheme
|
|
|
|
import org.junit.Rule
|
|
|
|
import org.junit.Rule
|
|
|
|
import org.junit.Test
|
|
|
|
import org.junit.Test
|
|
|
|
|
|
|
|
import org.junit.runner.RunWith
|
|
|
|
|
|
|
|
import org.robolectric.RobolectricTestRunner
|
|
|
|
import kotlin.test.assertEquals
|
|
|
|
import kotlin.test.assertEquals
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -54,6 +56,7 @@ import kotlin.test.assertEquals
|
|
|
|
* [LocalBackgroundTheme] — have the expected values for a given theme mode, as specified by the
|
|
|
|
* [LocalBackgroundTheme] — have the expected values for a given theme mode, as specified by the
|
|
|
|
* design system.
|
|
|
|
* design system.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@RunWith(RobolectricTestRunner::class)
|
|
|
|
class ThemeTest {
|
|
|
|
class ThemeTest {
|
|
|
|
|
|
|
|
|
|
|
|
@get:Rule
|
|
|
|
@get:Rule
|