travel: shared test scaffolding sweep
- Commit
e1c8d7e133ac422d2b9080e92e92e0bab747dd03- Author
- Vayun Mathur <[email protected]>
- When
- 2026-12-01 22:48 UTC (4 days ago)
- Parents
a14c208
Remove class-level @Config(sdk = [34]) annotations that only duplicate the repo-wide sdk=34 default in build-logic/shared-test-resources/robolectric.properties, dropping the Config import where it becomes unused. Qualifier/shadow/application and non-34 configs are untouched; files dirty from other agents' in-flight work were skipped file-by-file. Verified: filtered :travel:testDevUnitTest ran 226 tests with 1 failure (TravelDeep2Test.stayGuests_formFields, UncaughtExceptionsBeforeTest from cross-class pollution); that class passes in isolation (BUILD SUCCESSFUL in 15s). Lint (:lint / :lintVitalRelease) was not run for this module in this sweep.
Diff
travel/src/test/java/com/vayunmathur/travel/TravelActivityW6Test.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/TravelActivityW6Test.kt b/travel/src/test/java/com/vayunmathur/travel/TravelActivityW6Test.ktindex 986d324a24..695a826a38 100644--- a/travel/src/test/java/com/vayunmathur/travel/TravelActivityW6Test.kt+++ b/travel/src/test/java/com/vayunmathur/travel/TravelActivityW6Test.kt@@ -12,12 +12,10 @@ import kotlinx.coroutines.runBlocking import org.junit.runner.RunWith import org.robolectric.Robolectric import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config import org.robolectric.shadows.ShadowLooper /** W6: the real MainActivity graph and stay suggestions over the bundled catalog. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelActivityW6Test { private val ctx get() = ApplicationProvider.getApplicationContext<Application>()
travel/src/test/java/com/vayunmathur/travel/data/AirportCatalogTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/data/AirportCatalogTest.kt b/travel/src/test/java/com/vayunmathur/travel/data/AirportCatalogTest.ktindex c3d66515b2..387eae8ee9 100644--- a/travel/src/test/java/com/vayunmathur/travel/data/AirportCatalogTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/data/AirportCatalogTest.kt@@ -9,11 +9,9 @@ import kotlin.test.assertTrue import kotlinx.coroutines.test.runTest import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** Bundled TSV catalog: load once, then search/lookup fallbacks. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class AirportCatalogTest { @Test
travel/src/test/java/com/vayunmathur/travel/data/TravelDatabaseTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/data/TravelDatabaseTest.kt b/travel/src/test/java/com/vayunmathur/travel/data/TravelDatabaseTest.ktindex 6a3ed93149..64a380b8f2 100644--- a/travel/src/test/java/com/vayunmathur/travel/data/TravelDatabaseTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/data/TravelDatabaseTest.kt@@ -12,11 +12,9 @@ import kotlinx.coroutines.flow.first import kotlinx.coroutines.test.runTest import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** Room DAOs over an in-memory database: trips, recents, flyers, customers. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelDatabaseTest { private lateinit var db: TravelDatabase
travel/src/test/java/com/vayunmathur/travel/data/TravelRepositoryC5Test.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/data/TravelRepositoryC5Test.kt b/travel/src/test/java/com/vayunmathur/travel/data/TravelRepositoryC5Test.ktindex 3e4bbc4ce1..27e48250fa 100644--- a/travel/src/test/java/com/vayunmathur/travel/data/TravelRepositoryC5Test.kt+++ b/travel/src/test/java/com/vayunmathur/travel/data/TravelRepositoryC5Test.kt@@ -13,7 +13,6 @@ import kotlinx.coroutines.flow.first import kotlinx.coroutines.test.runTest import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * The real [TravelRepository] delegates against an in-memory database seeded@@ -22,7 +21,6 @@ import org.robolectric.annotation.Config * ViewModels elsewhere — is exercised end to end. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelRepositoryC5Test { private val context = ApplicationProvider.getApplicationContext<android.content.Context>()
travel/src/test/java/com/vayunmathur/travel/platform/ContactAutofillTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/platform/ContactAutofillTest.kt b/travel/src/test/java/com/vayunmathur/travel/platform/ContactAutofillTest.ktindex 405091243a..2ea680e2d2 100644--- a/travel/src/test/java/com/vayunmathur/travel/platform/ContactAutofillTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/platform/ContactAutofillTest.kt@@ -9,12 +9,10 @@ import kotlin.test.assertEquals import kotlin.test.assertNull import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config import org.robolectric.fakes.RoboCursor /** Contact parser via a fake content resolver cursor. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class ContactAutofillTest { @Test fun requestedFields_includeNameEmailPhoneEvent() {
travel/src/test/java/com/vayunmathur/travel/platform/TravelBookingC5Test.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/platform/TravelBookingC5Test.kt b/travel/src/test/java/com/vayunmathur/travel/platform/TravelBookingC5Test.ktindex 596ef09054..3a340afad9 100644--- a/travel/src/test/java/com/vayunmathur/travel/platform/TravelBookingC5Test.kt+++ b/travel/src/test/java/com/vayunmathur/travel/platform/TravelBookingC5Test.kt@@ -26,7 +26,6 @@ import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.test.runTest import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config import org.robolectric.shadows.ShadowLooper /**@@ -35,7 +34,6 @@ import org.robolectric.shadows.ShadowLooper * frequent-flyer prefill on passenger init. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelBookingC5Test { private class FakeRepo(ctx: android.content.Context) : TravelRepository(ctx) {
travel/src/test/java/com/vayunmathur/travel/platform/TravelOpsErrorTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/platform/TravelOpsErrorTest.kt b/travel/src/test/java/com/vayunmathur/travel/platform/TravelOpsErrorTest.ktindex 2b0d4bcbaa..daf8a9a3e0 100644--- a/travel/src/test/java/com/vayunmathur/travel/platform/TravelOpsErrorTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/platform/TravelOpsErrorTest.kt@@ -16,7 +16,6 @@ import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.MutableStateFlow import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config import org.robolectric.shadows.ShadowLooper /**@@ -24,7 +23,6 @@ import org.robolectric.shadows.ShadowLooper * state instead of crashing or hanging (offline behaviour of the flow). */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelOpsErrorTest { private class FakeRepo(ctx: android.content.Context) : TravelRepository(ctx) {
travel/src/test/java/com/vayunmathur/travel/platform/TravelOpsW6Test.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/platform/TravelOpsW6Test.kt b/travel/src/test/java/com/vayunmathur/travel/platform/TravelOpsW6Test.ktindex 3315448f06..616fe33e26 100644--- a/travel/src/test/java/com/vayunmathur/travel/platform/TravelOpsW6Test.kt+++ b/travel/src/test/java/com/vayunmathur/travel/platform/TravelOpsW6Test.kt@@ -25,14 +25,12 @@ import kotlin.test.assertTrue import kotlinx.serialization.json.Json import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * W6: route serialization, search-form savers, HTTP error decoding and the * offer-selection state transitions — none of which need a screen. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelOpsW6Test { private val ctx get() = ApplicationProvider.getApplicationContext<Application>()
travel/src/test/java/com/vayunmathur/travel/platform/TravelRecentRerunTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/platform/TravelRecentRerunTest.kt b/travel/src/test/java/com/vayunmathur/travel/platform/TravelRecentRerunTest.ktindex d876e7e832..b8ce5b52bf 100644--- a/travel/src/test/java/com/vayunmathur/travel/platform/TravelRecentRerunTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/platform/TravelRecentRerunTest.kt@@ -18,7 +18,6 @@ import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.MutableStateFlow import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config import org.robolectric.shadows.ShadowLooper /**@@ -30,7 +29,6 @@ import org.robolectric.shadows.ShadowLooper * from the search the chip labels. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelRecentRerunTest { private class FakeRepo(ctx: android.content.Context) : TravelRepository(ctx) {
travel/src/test/java/com/vayunmathur/travel/platform/TravelRecentSearchTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/platform/TravelRecentSearchTest.kt b/travel/src/test/java/com/vayunmathur/travel/platform/TravelRecentSearchTest.ktindex afc3bdcd01..addf1b1edc 100644--- a/travel/src/test/java/com/vayunmathur/travel/platform/TravelRecentSearchTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/platform/TravelRecentSearchTest.kt@@ -17,7 +17,6 @@ import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.MutableStateFlow import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config import org.robolectric.shadows.ShadowLooper /**@@ -28,7 +27,6 @@ import org.robolectric.shadows.ShadowLooper * so the return leg was silently lost on re-run. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelRecentSearchTest { private class FakeRepo(ctx: android.content.Context) : TravelRepository(ctx) {
travel/src/test/java/com/vayunmathur/travel/platform/TravelServicingC5Test.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/platform/TravelServicingC5Test.kt b/travel/src/test/java/com/vayunmathur/travel/platform/TravelServicingC5Test.ktindex f7bffee7c7..3f037dc18a 100644--- a/travel/src/test/java/com/vayunmathur/travel/platform/TravelServicingC5Test.kt+++ b/travel/src/test/java/com/vayunmathur/travel/platform/TravelServicingC5Test.kt@@ -20,7 +20,6 @@ import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.launch import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config import org.robolectric.shadows.ShadowLooper /**@@ -29,7 +28,6 @@ import org.robolectric.shadows.ShadowLooper * checkout-url change polling, and expired re-checkout. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelServicingC5Test { private class FakeRepo(ctx: android.content.Context) : TravelRepository(ctx) {
travel/src/test/java/com/vayunmathur/travel/platform/TravelSuccessOpsTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/platform/TravelSuccessOpsTest.kt b/travel/src/test/java/com/vayunmathur/travel/platform/TravelSuccessOpsTest.ktindex 460e177184..28ba7f9468 100644--- a/travel/src/test/java/com/vayunmathur/travel/platform/TravelSuccessOpsTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/platform/TravelSuccessOpsTest.kt@@ -19,12 +19,10 @@ import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.MutableStateFlow import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config import org.robolectric.shadows.ShadowLooper /** Success paths through a fake travel transport: search → trip → ancillaries → checkout → confirm, stays, servicing. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelSuccessOpsTest { private class FakeRepo(ctx: android.content.Context) : TravelRepository(ctx) {
travel/src/test/java/com/vayunmathur/travel/platform/TravelViewModelStateTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/platform/TravelViewModelStateTest.kt b/travel/src/test/java/com/vayunmathur/travel/platform/TravelViewModelStateTest.ktindex a62116f138..fbc54e4c8f 100644--- a/travel/src/test/java/com/vayunmathur/travel/platform/TravelViewModelStateTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/platform/TravelViewModelStateTest.kt@@ -20,7 +20,6 @@ import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.MutableStateFlow import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * Pure ViewModel state transitions (no network): passenger init/update/prefill,@@ -34,7 +33,6 @@ import org.robolectric.annotation.Config * implemented; the rest of the repository surface is unused by these tests. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelViewModelStateTest { private class FakeTravelRepository(ctx: android.content.Context) :
travel/src/test/java/com/vayunmathur/travel/ui/TravelClicksTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelClicksTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelClicksTest.ktindex c36fa83a5f..f850b5274c 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelClicksTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelClicksTest.kt@@ -29,11 +29,9 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** Click paths: seat-map page, payment ready, awaiting-payment confirmation, search submit. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelClicksTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelDeep2Test.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelDeep2Test.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelDeep2Test.ktindex 999797645c..3678e78b01 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelDeep2Test.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelDeep2Test.kt@@ -35,11 +35,9 @@ import kotlinx.coroutines.test.runTest import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** Identity fields, autocomplete suggestions, partial outbound flow, stay guests form. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelDeep2Test { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelDeepUiTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelDeepUiTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelDeepUiTest.ktindex 202cba452c..5977ff3375 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelDeepUiTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelDeepUiTest.kt@@ -41,11 +41,9 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** Deep branches: change offers, ancillary steppers, price-change card, settings forms, home cards. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelDeepUiTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelFieldsTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelFieldsTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelFieldsTest.ktindex 9e90a43671..c4031b1e97 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelFieldsTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelFieldsTest.kt@@ -15,11 +15,9 @@ import kotlin.test.assertTrue import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** Passenger sub-fields directly: profile prefill, identity, loyalty, infant link, chips. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelFieldsTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelFlightResultsTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelFlightResultsTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelFlightResultsTest.ktindex b0d4698c81..de47627019 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelFlightResultsTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelFlightResultsTest.kt@@ -24,7 +24,6 @@ import kotlin.test.assertTrue import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * Stateless [FlightResultsScreen] under the Compose rule: loading / error / empty states,@@ -32,7 +31,6 @@ import org.robolectric.annotation.Config * Follows the travel pure-test style (literal DTOs, behavior assertions). */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelFlightResultsTest { @get:Rule
travel/src/test/java/com/vayunmathur/travel/ui/TravelFlowUiTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelFlowUiTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelFlowUiTest.ktindex d16aad2778..1e6eb831fa 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelFlowUiTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelFlowUiTest.kt@@ -25,11 +25,9 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** End-to-end page flows against a fake transport: change, cancel, confirmation, payment. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelFlowUiTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelInteractionsTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelInteractionsTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelInteractionsTest.ktindex 67acc9dd6d..f96aa01592 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelInteractionsTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelInteractionsTest.kt@@ -38,11 +38,9 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** Seeded detail/change/cancel/stay-rate states and form typing. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelInteractionsTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelJourneyW6Test.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelJourneyW6Test.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelJourneyW6Test.ktindex a3e22a04a2..59ee30878e 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelJourneyW6Test.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelJourneyW6Test.kt@@ -25,7 +25,6 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * W6 journey: the flight search form filled by hand — airport fields with@@ -33,7 +32,6 @@ import org.robolectric.annotation.Config * against the fake transport, landing on results. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelJourneyW6Test { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelOrderDetailTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelOrderDetailTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelOrderDetailTest.ktindex c1e4cb44ed..94b7859dc6 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelOrderDetailTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelOrderDetailTest.kt@@ -18,7 +18,6 @@ import kotlin.test.assertTrue import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * Stateless [OrderDetailScreen] under the Compose rule: null-order states, booked-trip@@ -26,7 +25,6 @@ import org.robolectric.annotation.Config * pending-checkout payment button. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelOrderDetailTest { @get:Rule
travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5Test.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5Test.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5Test.ktindex 50b4918afa..5cedb2dd35 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5Test.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5Test.kt@@ -38,7 +38,6 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * C5 page branches: change-offer pricing variants, cancellation quote/done@@ -46,7 +45,6 @@ import org.robolectric.annotation.Config * and the date-range dialog. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelPagesC5Test { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5bTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5bTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5bTest.ktindex 7e753c4712..f494e4cf63 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5bTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5bTest.kt@@ -39,7 +39,6 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * C5 page branches, part 2: mixed passenger types with identity documents,@@ -47,7 +46,6 @@ import org.robolectric.annotation.Config * review with policies and operating-carrier disclosure. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelPagesC5bTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5cTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5cTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5cTest.ktindex 43766875c5..9b8e715f4a 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5cTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesC5cTest.kt@@ -35,7 +35,6 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * C5 page branches, part 3: a fully populated stay detail with rate@@ -43,7 +42,6 @@ import org.robolectric.annotation.Config * branches. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelPagesC5cTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesRenderTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesRenderTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesRenderTest.ktindex 2bf51b79c3..59e791110c 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesRenderTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPagesRenderTest.kt@@ -22,11 +22,9 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** VM-backed pages rendered with an empty fake repository: scaffold titles and empty states. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelPagesRenderTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelPartialFlowTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPartialFlowTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPartialFlowTest.ktindex 38a769bc1a..264fba8b2c 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPartialFlowTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPartialFlowTest.kt@@ -13,7 +13,6 @@ import kotlin.test.assertTrue import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * Partial-flow [OutboundFlightCard] plus the internal [LegLines] / [RoundTripPrice]@@ -21,7 +20,6 @@ import org.robolectric.annotation.Config * and the leg/price labels. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelPartialFlowTest { @get:Rule
travel/src/test/java/com/vayunmathur/travel/ui/TravelPopulatedPagesTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPopulatedPagesTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPopulatedPagesTest.ktindex 11cfa97724..95651b0621 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelPopulatedPagesTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelPopulatedPagesTest.kt@@ -29,11 +29,9 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** Populated VM states: passenger forms, offer review, ancillaries, trips, settings lists. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelPopulatedPagesTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelSeatAmenitiesTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelSeatAmenitiesTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelSeatAmenitiesTest.ktindex 2500f950f1..5b9143abb3 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelSeatAmenitiesTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelSeatAmenitiesTest.kt@@ -15,11 +15,9 @@ import kotlin.test.assertEquals import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** Seat map with amenity bands (lavatory/galley/exit) and two-passenger selection. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelSeatAmenitiesTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelSeatMapTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelSeatMapTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelSeatMapTest.ktindex 60ff92d7d2..2f7175e141 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelSeatMapTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelSeatMapTest.kt@@ -19,7 +19,6 @@ import kotlin.test.assertTrue import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * Stateless [SeatMapScreen] under the Compose rule: loading / error / empty states,@@ -27,7 +26,6 @@ import org.robolectric.annotation.Config * [CountStepper] widget: increment/decrement callbacks with min/max clamping. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelSeatMapTest { @get:Rule
travel/src/test/java/com/vayunmathur/travel/ui/TravelStayResultsTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelStayResultsTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelStayResultsTest.ktindex 33b926859e..264679394d 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelStayResultsTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelStayResultsTest.kt@@ -15,7 +15,6 @@ import kotlin.test.assertEquals import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * Stateless [StayResultsScreen] under the Compose rule: loading / error / empty states,@@ -23,7 +22,6 @@ import org.robolectric.annotation.Config * label helper are asserted through the rendered card. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelStayResultsTest { @get:Rule
travel/src/test/java/com/vayunmathur/travel/ui/TravelTripStatusTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelTripStatusTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelTripStatusTest.ktindex 08aa0c864a..8733ae5432 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelTripStatusTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelTripStatusTest.kt@@ -16,7 +16,6 @@ import kotlin.test.assertTrue import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * Trip-status domain mapping ([isTripPollingStatus], [isTripAwaitingPayment],@@ -26,7 +25,6 @@ import org.robolectric.annotation.Config * renders from. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelTripStatusTest { @get:Rule
travel/src/test/java/com/vayunmathur/travel/ui/TravelW6bTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelW6bTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelW6bTest.ktindex 09c78a36dd..34f7594a9e 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelW6bTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelW6bTest.kt@@ -29,14 +29,12 @@ import kotlinx.coroutines.flow.MutableStateFlow import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** * W6b: payment price-change acceptance, payment error retry, settings * profile/flyer forms, and the stay search form on Home's stays tab. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelW6bTest { @get:Rule val rule = createComposeRule()
travel/src/test/java/com/vayunmathur/travel/ui/TravelWidgetsTest.kt
diff --git a/travel/src/test/java/com/vayunmathur/travel/ui/TravelWidgetsTest.kt b/travel/src/test/java/com/vayunmathur/travel/ui/TravelWidgetsTest.ktindex a6ceb220d0..d818b2db36 100644--- a/travel/src/test/java/com/vayunmathur/travel/ui/TravelWidgetsTest.kt+++ b/travel/src/test/java/com/vayunmathur/travel/ui/TravelWidgetsTest.kt@@ -11,11 +11,9 @@ import java.time.LocalDate import org.junit.Rule import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner-import org.robolectric.annotation.Config /** Small shared widgets: headers, status box, date fields, range calendar, dropdowns, passenger picker. */ @RunWith(RobolectricTestRunner::class)-@Config(sdk = [34]) class TravelWidgetsTest { @get:Rule val rule = createComposeRule()