mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 12:37:03 +05:30
all: switch to kotlin.test for unit testing
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
733fb5d96c
commit
420f792290
11 changed files with 33 additions and 15 deletions
|
@ -15,8 +15,8 @@ import com.karumi.shot.ScreenshotTest
|
|||
import dev.msfjarvis.lobsters.ui.DarkTestTheme
|
||||
import dev.msfjarvis.lobsters.ui.main.LobstersBottomNav
|
||||
import dev.msfjarvis.lobsters.ui.theme.LobstersTheme
|
||||
import kotlin.test.Test
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
|
||||
class LobstersBottomNavTest : ScreenshotTest {
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ import androidx.compose.ui.test.onRoot
|
|||
import com.karumi.shot.ScreenshotTest
|
||||
import dev.msfjarvis.lobsters.ui.DarkTestTheme
|
||||
import java.time.Month
|
||||
import kotlin.test.Test
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
|
||||
class HeaderTest : ScreenshotTest {
|
||||
@get:Rule
|
||||
|
|
|
@ -6,8 +6,8 @@ import androidx.compose.ui.test.junit4.createComposeRule
|
|||
import androidx.compose.ui.test.onRoot
|
||||
import com.karumi.shot.ScreenshotTest
|
||||
import dev.msfjarvis.lobsters.ui.DarkTestTheme
|
||||
import kotlin.test.Test
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
|
||||
class LobstersItemTest : ScreenshotTest {
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package dev.msfjarvis.lobsters.util
|
||||
|
||||
import java.time.Month
|
||||
import org.junit.Assert.*
|
||||
import org.junit.Test
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
class DateExtensionsTest {
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue