From 761ce5966e87079a8b9a79551f81421b22dbf638 Mon Sep 17 00:00:00 2001 From: John Rodriguez Date: Wed, 7 Jun 2023 20:21:13 -0400 Subject: [PATCH] Move Preview test for now to UpsideDownCakePrivacySandbox since API 34 is released (#926) --- .../src/test/projects/build-class-next-sdk/build.gradle | 2 +- .../java/app/cash/paparazzi/plugin/test/BuildClassTest.kt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/paparazzi/paparazzi-gradle-plugin/src/test/projects/build-class-next-sdk/build.gradle b/paparazzi/paparazzi-gradle-plugin/src/test/projects/build-class-next-sdk/build.gradle index 85e18f3b1d..9f06cc144c 100644 --- a/paparazzi/paparazzi-gradle-plugin/src/test/projects/build-class-next-sdk/build.gradle +++ b/paparazzi/paparazzi-gradle-plugin/src/test/projects/build-class-next-sdk/build.gradle @@ -6,7 +6,7 @@ plugins { android { namespace 'app.cash.paparazzi.plugin.test' - compileSdkPreview "UpsideDownCake" + compileSdkPreview "UpsideDownCakePrivacySandbox" defaultConfig { minSdk libs.versions.minSdk.get() as int } diff --git a/paparazzi/paparazzi-gradle-plugin/src/test/projects/build-class-next-sdk/src/test/java/app/cash/paparazzi/plugin/test/BuildClassTest.kt b/paparazzi/paparazzi-gradle-plugin/src/test/projects/build-class-next-sdk/src/test/java/app/cash/paparazzi/plugin/test/BuildClassTest.kt index 6cf25864f7..16b0b2a51c 100644 --- a/paparazzi/paparazzi-gradle-plugin/src/test/projects/build-class-next-sdk/src/test/java/app/cash/paparazzi/plugin/test/BuildClassTest.kt +++ b/paparazzi/paparazzi-gradle-plugin/src/test/projects/build-class-next-sdk/src/test/java/app/cash/paparazzi/plugin/test/BuildClassTest.kt @@ -27,8 +27,8 @@ class BuildClassTest { @Test fun verifyFields() { - assertThat(Build.ID).isEqualTo("UPB2.230407.013") - assertThat(Build.DISPLAY).isEqualTo("sdk_phone_armv7-userdebug UpsideDownCake UPB2.230407.013 10043902 test-keys") + assertThat(Build.ID).isEqualTo("URA8.230510.004") + assertThat(Build.DISPLAY).isEqualTo("sdk_phone_armv7-userdebug UpsideDownCakePrivacySandbox URA8.230510.004 10115423 test-keys") assertThat(Build.PRODUCT).isEqualTo("unknown") assertThat(Build.DEVICE).isEqualTo("generic") assertThat(Build.BOARD).isEqualTo("unknown") @@ -43,7 +43,7 @@ class BuildClassTest { assertThat(Build.SKU).isEqualTo("unknown") assertThat(Build.ODM_SKU).isEqualTo("unknown") - assertThat(Build.VERSION.INCREMENTAL).isEqualTo("10043902") + assertThat(Build.VERSION.INCREMENTAL).isEqualTo("10115423") assertThat(Build.VERSION.RELEASE).isNotNull() assertThat(Build.VERSION.RELEASE_OR_CODENAME).isNotNull() assertThat(Build.VERSION.BASE_OS).isEqualTo("") @@ -51,6 +51,6 @@ class BuildClassTest { assertThat(Build.VERSION.MEDIA_PERFORMANCE_CLASS).isEqualTo(0) assertThat(Build.VERSION.SDK).isNotNull() assertThat(Build.VERSION.SDK_INT).isNotEqualTo(0) - assertThat(Build.VERSION.CODENAME).isEqualTo("UpsideDownCake") + assertThat(Build.VERSION.CODENAME).isEqualTo("UpsideDownCakePrivacySandbox") } }