From 0a15d6b930e981217645ecd0d1be5bde4d412f22 Mon Sep 17 00:00:00 2001 From: takahirom Date: Thu, 8 Aug 2024 14:12:52 +0900 Subject: [PATCH] Fix import --- .../testing/DroidKaigiKmpPreviewTester.kt | 2 ++ .../testing/robot/AboutScreenRobot.kt | 2 -- .../confsched/testing/robot/KaigiAppRobot.kt | 2 -- .../confsched/testing/robot/MiniRobots.kt | 8 ++++---- .../testing/robot/ProfileCardScreenRobot.kt | 2 -- .../testing/robot/SponsorsScreenRobot.kt | 4 ---- .../testing/robot/StaffScreenRobot.kt | 4 ---- .../robot/TimetableItemDetailScreenRobot.kt | 6 ------ .../testing/robot/TimetableScreenRobot.kt | 4 ---- .../confsched/about/AboutScreenTest.kt | 4 ++-- .../contributors/ContributorsScreenTest.kt | 14 +++++++------- .../confsched/eventmap/EventMapScreenTest.kt | 18 +++++++++--------- .../profilecard/ProfileCardScreenTest.kt | 4 ++-- .../sessions/TimetableItemDetailScreenTest.kt | 6 +++--- .../confsched/sessions/TimetableScreenTest.kt | 8 ++++---- .../confsched/sponsors/SponsorsScreenTest.kt | 8 ++++---- .../confsched/staff/StaffScreenTest.kt | 10 +++++----- 17 files changed, 42 insertions(+), 64 deletions(-) diff --git a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/DroidKaigiKmpPreviewTester.kt b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/DroidKaigiKmpPreviewTester.kt index 983342092..ba7ed5edd 100644 --- a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/DroidKaigiKmpPreviewTester.kt +++ b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/DroidKaigiKmpPreviewTester.kt @@ -3,12 +3,14 @@ package io.github.droidkaigi.confsched.testing import com.github.takahirom.roborazzi.ComposePreviewTester import com.github.takahirom.roborazzi.ComposePreviewTester.Options import com.github.takahirom.roborazzi.ComposePreviewTester.Options.JUnit4TestLifecycleOptions +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi import com.github.takahirom.roborazzi.captureRoboImage import io.github.droidkaigi.confsched.testing.rules.CoilRule import sergio.sastre.composable.preview.scanner.core.preview.ComposablePreview import sergio.sastre.composable.preview.scanner.jvm.JvmAnnotationScanner import sergio.sastre.composable.preview.scanner.jvm.JvmAnnotationScanner.DesktopPreviewInfo +@OptIn(ExperimentalRoborazziApi::class) class DroidKaigiKmpPreviewTester : ComposePreviewTester { override fun options(): Options { return super.options().copy( diff --git a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/AboutScreenRobot.kt b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/AboutScreenRobot.kt index 2690f033b..845e02379 100644 --- a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/AboutScreenRobot.kt +++ b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/AboutScreenRobot.kt @@ -8,8 +8,6 @@ import io.github.droidkaigi.confsched.about.section.AboutDetailSectionTestTag import io.github.droidkaigi.confsched.about.section.AboutFooterLinksSectionTestTag import io.github.droidkaigi.confsched.about.section.AboutOthersSectionTestTag import io.github.droidkaigi.confsched.designsystem.theme.KaigiTheme -import io.github.droidkaigi.confsched.testing.DefaultScreenRobot -import io.github.droidkaigi.confsched.testing.ScreenRobot import javax.inject.Inject class AboutScreenRobot @Inject constructor( diff --git a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/KaigiAppRobot.kt b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/KaigiAppRobot.kt index 620bf4dad..56afc40a6 100644 --- a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/KaigiAppRobot.kt +++ b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/KaigiAppRobot.kt @@ -3,8 +3,6 @@ package io.github.droidkaigi.confsched.testing.robot import androidx.compose.ui.test.hasTestTag import androidx.compose.ui.test.performClick import io.github.droidkaigi.confsched.main.MainScreenTab -import io.github.droidkaigi.confsched.testing.DefaultScreenRobot -import io.github.droidkaigi.confsched.testing.ScreenRobot import javax.inject.Inject class KaigiAppRobot @Inject constructor( diff --git a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/MiniRobots.kt b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/MiniRobots.kt index c32bc7ee2..9560d2327 100644 --- a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/MiniRobots.kt +++ b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/MiniRobots.kt @@ -13,9 +13,9 @@ import io.github.droidkaigi.confsched.data.sponsors.FakeSponsorsApiClient import io.github.droidkaigi.confsched.data.sponsors.SponsorsApiClient import io.github.droidkaigi.confsched.data.staff.FakeStaffApiClient import io.github.droidkaigi.confsched.data.staff.StaffApiClient -import io.github.droidkaigi.confsched.testing.SponsorsServerRobot.ServerStatus -import io.github.droidkaigi.confsched.testing.SponsorsServerRobot.ServerStatus.Operational import io.github.droidkaigi.confsched.testing.coroutines.runTestWithLogging +import io.github.droidkaigi.confsched.testing.robot.SponsorsServerRobot.ServerStatus +import io.github.droidkaigi.confsched.testing.rules.RobotTestRule import kotlinx.coroutines.test.TestDispatcher import org.robolectric.RuntimeEnvironment import org.robolectric.shadows.ShadowLooper @@ -238,8 +238,8 @@ class DefaultSponsorsServerRobot @Inject constructor(sponsorsApiClient: Sponsors override fun setupSponsorsServer(sererStatus: ServerStatus) { fakeSponsorsApiClient.setup( when (sererStatus) { - Operational -> FakeSponsorsApiClient.Status.Operational - Error -> FakeSponsorsApiClient.Status.Error + ServerStatus.Operational -> FakeSponsorsApiClient.Status.Operational + ServerStatus.Error -> FakeSponsorsApiClient.Status.Error }, ) } diff --git a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/ProfileCardScreenRobot.kt b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/ProfileCardScreenRobot.kt index 1e1fda4aa..92f1faae4 100644 --- a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/ProfileCardScreenRobot.kt +++ b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/ProfileCardScreenRobot.kt @@ -5,8 +5,6 @@ import androidx.compose.ui.test.hasTestTag import io.github.droidkaigi.confsched.designsystem.theme.KaigiTheme import io.github.droidkaigi.confsched.profilecard.ProfileCardScreen import io.github.droidkaigi.confsched.profilecard.ProfileCardTestTag -import io.github.droidkaigi.confsched.testing.DefaultScreenRobot -import io.github.droidkaigi.confsched.testing.ScreenRobot import javax.inject.Inject class ProfileCardScreenRobot @Inject constructor( diff --git a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/SponsorsScreenRobot.kt b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/SponsorsScreenRobot.kt index e2e00c20e..647225265 100644 --- a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/SponsorsScreenRobot.kt +++ b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/SponsorsScreenRobot.kt @@ -2,10 +2,6 @@ package io.github.droidkaigi.confsched.testing.robot import io.github.droidkaigi.confsched.designsystem.theme.KaigiTheme import io.github.droidkaigi.confsched.sponsors.SponsorsScreen -import io.github.droidkaigi.confsched.testing.DefaultScreenRobot -import io.github.droidkaigi.confsched.testing.DefaultSponsorsServerRobot -import io.github.droidkaigi.confsched.testing.ScreenRobot -import io.github.droidkaigi.confsched.testing.SponsorsServerRobot import javax.inject.Inject class SponsorsScreenRobot @Inject constructor( diff --git a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/StaffScreenRobot.kt b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/StaffScreenRobot.kt index d4aab9173..6a9b9211b 100644 --- a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/StaffScreenRobot.kt +++ b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/StaffScreenRobot.kt @@ -2,10 +2,6 @@ package io.github.droidkaigi.confsched.testing.robot import io.github.droidkaigi.confsched.designsystem.theme.KaigiTheme import io.github.droidkaigi.confsched.staff.StaffScreen -import io.github.droidkaigi.confsched.testing.DefaultScreenRobot -import io.github.droidkaigi.confsched.testing.DefaultStaffServerRobot -import io.github.droidkaigi.confsched.testing.ScreenRobot -import io.github.droidkaigi.confsched.testing.StaffServerRobot import javax.inject.Inject class StaffScreenRobot @Inject constructor( diff --git a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/TimetableItemDetailScreenRobot.kt b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/TimetableItemDetailScreenRobot.kt index 700066e7d..8eb70257f 100644 --- a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/TimetableItemDetailScreenRobot.kt +++ b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/TimetableItemDetailScreenRobot.kt @@ -15,12 +15,6 @@ import io.github.droidkaigi.confsched.designsystem.theme.KaigiTheme import io.github.droidkaigi.confsched.sessions.TimetableItemDetailBookmarkIconTestTag import io.github.droidkaigi.confsched.sessions.TimetableItemDetailScreen import io.github.droidkaigi.confsched.sessions.timetableItemDetailScreenRoute -import io.github.droidkaigi.confsched.testing.DefaultFontScaleRobot -import io.github.droidkaigi.confsched.testing.DefaultScreenRobot -import io.github.droidkaigi.confsched.testing.DefaultTimetableServerRobot -import io.github.droidkaigi.confsched.testing.FontScaleRobot -import io.github.droidkaigi.confsched.testing.ScreenRobot -import io.github.droidkaigi.confsched.testing.TimetableServerRobot import javax.inject.Inject class TimetableItemDetailScreenRobot @Inject constructor( diff --git a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/TimetableScreenRobot.kt b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/TimetableScreenRobot.kt index 2eb3b6534..febe304a0 100644 --- a/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/TimetableScreenRobot.kt +++ b/core/testing/src/main/java/io/github/droidkaigi/confsched/testing/robot/TimetableScreenRobot.kt @@ -17,10 +17,6 @@ import io.github.droidkaigi.confsched.sessions.TimetableScreen import io.github.droidkaigi.confsched.sessions.TimetableScreenTestTag import io.github.droidkaigi.confsched.sessions.TimetableUiTypeChangeButtonTestTag import io.github.droidkaigi.confsched.sessions.section.TimetableTabTestTag -import io.github.droidkaigi.confsched.testing.DefaultScreenRobot -import io.github.droidkaigi.confsched.testing.DefaultTimetableServerRobot -import io.github.droidkaigi.confsched.testing.ScreenRobot -import io.github.droidkaigi.confsched.testing.TimetableServerRobot import io.github.droidkaigi.confsched.ui.component.TimetableItemCardBookmarkIconTestTag import io.github.droidkaigi.confsched.ui.component.TimetableItemCardTestTag import io.github.droidkaigi.confsched.ui.compositionlocal.FakeClock diff --git a/feature/about/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/about/AboutScreenTest.kt b/feature/about/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/about/AboutScreenTest.kt index ac7b2b0e8..0884adcd0 100644 --- a/feature/about/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/about/AboutScreenTest.kt +++ b/feature/about/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/about/AboutScreenTest.kt @@ -3,11 +3,11 @@ package io.github.droidkaigi.confsched.about import dagger.hilt.android.testing.BindValue import dagger.hilt.android.testing.HiltAndroidTest import io.github.droidkaigi.confsched.testing.DescribedBehavior -import io.github.droidkaigi.confsched.testing.RobotTestRule import io.github.droidkaigi.confsched.testing.describeBehaviors import io.github.droidkaigi.confsched.testing.execute import io.github.droidkaigi.confsched.testing.robot.AboutScreenRobot -import io.github.droidkaigi.confsched.testing.runRobot +import io.github.droidkaigi.confsched.testing.robot.runRobot +import io.github.droidkaigi.confsched.testing.rules.RobotTestRule import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith diff --git a/feature/contributors/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/contributors/ContributorsScreenTest.kt b/feature/contributors/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/contributors/ContributorsScreenTest.kt index d6dbd401c..398afe265 100644 --- a/feature/contributors/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/contributors/ContributorsScreenTest.kt +++ b/feature/contributors/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/contributors/ContributorsScreenTest.kt @@ -2,16 +2,16 @@ package io.github.droidkaigi.confsched.contributors import dagger.hilt.android.testing.BindValue import dagger.hilt.android.testing.HiltAndroidTest -import io.github.droidkaigi.confsched.testing.ContributorsServerRobot -import io.github.droidkaigi.confsched.testing.DefaultContributorsServerRobot -import io.github.droidkaigi.confsched.testing.DefaultScreenRobot import io.github.droidkaigi.confsched.testing.DescribedBehavior -import io.github.droidkaigi.confsched.testing.RobotTestRule -import io.github.droidkaigi.confsched.testing.ScreenRobot import io.github.droidkaigi.confsched.testing.describeBehaviors import io.github.droidkaigi.confsched.testing.execute -import io.github.droidkaigi.confsched.testing.runRobot -import io.github.droidkaigi.confsched.testing.todoChecks +import io.github.droidkaigi.confsched.testing.robot.ContributorsServerRobot +import io.github.droidkaigi.confsched.testing.robot.DefaultContributorsServerRobot +import io.github.droidkaigi.confsched.testing.robot.DefaultScreenRobot +import io.github.droidkaigi.confsched.testing.robot.ScreenRobot +import io.github.droidkaigi.confsched.testing.robot.runRobot +import io.github.droidkaigi.confsched.testing.robot.todoChecks +import io.github.droidkaigi.confsched.testing.rules.RobotTestRule import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith diff --git a/feature/eventmap/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/eventmap/EventMapScreenTest.kt b/feature/eventmap/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/eventmap/EventMapScreenTest.kt index dc3a23c77..48a9a3293 100644 --- a/feature/eventmap/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/eventmap/EventMapScreenTest.kt +++ b/feature/eventmap/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/eventmap/EventMapScreenTest.kt @@ -2,17 +2,17 @@ package io.github.droidkaigi.confsched.eventmap import dagger.hilt.android.testing.BindValue import dagger.hilt.android.testing.HiltAndroidTest -import io.github.droidkaigi.confsched.testing.DefaultEventMapServerRobot -import io.github.droidkaigi.confsched.testing.DefaultScreenRobot import io.github.droidkaigi.confsched.testing.DescribedBehavior -import io.github.droidkaigi.confsched.testing.EventMapServerRobot -import io.github.droidkaigi.confsched.testing.EventMapServerRobot.ServerStatus.Operational -import io.github.droidkaigi.confsched.testing.RobotTestRule -import io.github.droidkaigi.confsched.testing.ScreenRobot import io.github.droidkaigi.confsched.testing.describeBehaviors import io.github.droidkaigi.confsched.testing.execute -import io.github.droidkaigi.confsched.testing.runRobot -import io.github.droidkaigi.confsched.testing.todoChecks +import io.github.droidkaigi.confsched.testing.robot.DefaultEventMapServerRobot +import io.github.droidkaigi.confsched.testing.robot.DefaultScreenRobot +import io.github.droidkaigi.confsched.testing.robot.EventMapServerRobot +import io.github.droidkaigi.confsched.testing.robot.EventMapServerRobot.ServerStatus +import io.github.droidkaigi.confsched.testing.robot.ScreenRobot +import io.github.droidkaigi.confsched.testing.robot.runRobot +import io.github.droidkaigi.confsched.testing.robot.todoChecks +import io.github.droidkaigi.confsched.testing.rules.RobotTestRule import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith @@ -41,7 +41,7 @@ class EventMapScreenTest(val behavior: DescribedBehavior) { return describeBehaviors(name = "EventMapScreenRobot") { describe("when server is operational") { run { - setupEventMapServer(Operational) + setupEventMapServer(ServerStatus.Operational) setupScreenContent() } itShould("show event map items") { diff --git a/feature/profilecard/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/profilecard/ProfileCardScreenTest.kt b/feature/profilecard/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/profilecard/ProfileCardScreenTest.kt index f1494a66b..193f072e3 100644 --- a/feature/profilecard/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/profilecard/ProfileCardScreenTest.kt +++ b/feature/profilecard/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/profilecard/ProfileCardScreenTest.kt @@ -3,11 +3,11 @@ package io.github.droidkaigi.confsched.profilecard import dagger.hilt.android.testing.BindValue import dagger.hilt.android.testing.HiltAndroidTest import io.github.droidkaigi.confsched.testing.DescribedBehavior -import io.github.droidkaigi.confsched.testing.RobotTestRule import io.github.droidkaigi.confsched.testing.describeBehaviors import io.github.droidkaigi.confsched.testing.execute import io.github.droidkaigi.confsched.testing.robot.ProfileCardScreenRobot -import io.github.droidkaigi.confsched.testing.runRobot +import io.github.droidkaigi.confsched.testing.robot.runRobot +import io.github.droidkaigi.confsched.testing.rules.RobotTestRule import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith diff --git a/feature/sessions/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sessions/TimetableItemDetailScreenTest.kt b/feature/sessions/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sessions/TimetableItemDetailScreenTest.kt index 306273eb5..cbabd4b95 100644 --- a/feature/sessions/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sessions/TimetableItemDetailScreenTest.kt +++ b/feature/sessions/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sessions/TimetableItemDetailScreenTest.kt @@ -4,12 +4,12 @@ import android.os.Bundle import dagger.hilt.android.testing.BindValue import dagger.hilt.android.testing.HiltAndroidTest import io.github.droidkaigi.confsched.testing.DescribedBehavior -import io.github.droidkaigi.confsched.testing.RobotTestRule -import io.github.droidkaigi.confsched.testing.TimetableServerRobot.ServerStatus import io.github.droidkaigi.confsched.testing.describeBehaviors import io.github.droidkaigi.confsched.testing.execute import io.github.droidkaigi.confsched.testing.robot.TimetableItemDetailScreenRobot -import io.github.droidkaigi.confsched.testing.runRobot +import io.github.droidkaigi.confsched.testing.robot.TimetableServerRobot.ServerStatus +import io.github.droidkaigi.confsched.testing.robot.runRobot +import io.github.droidkaigi.confsched.testing.rules.RobotTestRule import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith diff --git a/feature/sessions/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sessions/TimetableScreenTest.kt b/feature/sessions/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sessions/TimetableScreenTest.kt index 93a2fbc83..e50b93aa9 100644 --- a/feature/sessions/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sessions/TimetableScreenTest.kt +++ b/feature/sessions/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sessions/TimetableScreenTest.kt @@ -3,13 +3,13 @@ package io.github.droidkaigi.confsched.sessions import dagger.hilt.android.testing.BindValue import dagger.hilt.android.testing.HiltAndroidTest import io.github.droidkaigi.confsched.testing.DescribedBehavior -import io.github.droidkaigi.confsched.testing.RobotTestRule -import io.github.droidkaigi.confsched.testing.TimetableServerRobot.ServerStatus import io.github.droidkaigi.confsched.testing.describeBehaviors import io.github.droidkaigi.confsched.testing.execute import io.github.droidkaigi.confsched.testing.robot.TimetableScreenRobot -import io.github.droidkaigi.confsched.testing.runRobot -import io.github.droidkaigi.confsched.testing.todoChecks +import io.github.droidkaigi.confsched.testing.robot.TimetableServerRobot.ServerStatus +import io.github.droidkaigi.confsched.testing.robot.runRobot +import io.github.droidkaigi.confsched.testing.robot.todoChecks +import io.github.droidkaigi.confsched.testing.rules.RobotTestRule import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith diff --git a/feature/sponsors/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sponsors/SponsorsScreenTest.kt b/feature/sponsors/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sponsors/SponsorsScreenTest.kt index 0a26b7bf9..6178d12d3 100644 --- a/feature/sponsors/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sponsors/SponsorsScreenTest.kt +++ b/feature/sponsors/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/sponsors/SponsorsScreenTest.kt @@ -3,13 +3,13 @@ package io.github.droidkaigi.confsched.sponsors import dagger.hilt.android.testing.BindValue import dagger.hilt.android.testing.HiltAndroidTest import io.github.droidkaigi.confsched.testing.DescribedBehavior -import io.github.droidkaigi.confsched.testing.RobotTestRule -import io.github.droidkaigi.confsched.testing.SponsorsServerRobot.ServerStatus import io.github.droidkaigi.confsched.testing.describeBehaviors import io.github.droidkaigi.confsched.testing.execute import io.github.droidkaigi.confsched.testing.robot.SponsorsScreenRobot -import io.github.droidkaigi.confsched.testing.runRobot -import io.github.droidkaigi.confsched.testing.todoChecks +import io.github.droidkaigi.confsched.testing.robot.SponsorsServerRobot.ServerStatus +import io.github.droidkaigi.confsched.testing.robot.runRobot +import io.github.droidkaigi.confsched.testing.robot.todoChecks +import io.github.droidkaigi.confsched.testing.rules.RobotTestRule import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith diff --git a/feature/staff/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/staff/StaffScreenTest.kt b/feature/staff/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/staff/StaffScreenTest.kt index 77b91b7b4..e4f58df2c 100644 --- a/feature/staff/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/staff/StaffScreenTest.kt +++ b/feature/staff/src/androidUnitTest/kotlin/io/github/droidkaigi/confsched/staff/StaffScreenTest.kt @@ -3,14 +3,14 @@ package io.github.droidkaigi.confsched.staff import dagger.hilt.android.testing.BindValue import dagger.hilt.android.testing.HiltAndroidTest import io.github.droidkaigi.confsched.testing.DescribedBehavior -import io.github.droidkaigi.confsched.testing.RobotTestRule -import io.github.droidkaigi.confsched.testing.StaffServerRobot.ServerStatus.Error -import io.github.droidkaigi.confsched.testing.StaffServerRobot.ServerStatus.Operational import io.github.droidkaigi.confsched.testing.describeBehaviors import io.github.droidkaigi.confsched.testing.execute import io.github.droidkaigi.confsched.testing.robot.StaffScreenRobot -import io.github.droidkaigi.confsched.testing.runRobot -import io.github.droidkaigi.confsched.testing.todoChecks +import io.github.droidkaigi.confsched.testing.robot.StaffServerRobot.ServerStatus.Error +import io.github.droidkaigi.confsched.testing.robot.StaffServerRobot.ServerStatus.Operational +import io.github.droidkaigi.confsched.testing.robot.runRobot +import io.github.droidkaigi.confsched.testing.robot.todoChecks +import io.github.droidkaigi.confsched.testing.rules.RobotTestRule import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith