Skip to content

Commit

Permalink
Move Preview test for now to UpsideDownCakePrivacySandbox since API 3…
Browse files Browse the repository at this point in the history
…4 is released (cashapp#926)
  • Loading branch information
jrodbx authored Jun 8, 2023
1 parent 83c2340 commit 761ce59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

android {
namespace 'app.cash.paparazzi.plugin.test'
compileSdkPreview "UpsideDownCake"
compileSdkPreview "UpsideDownCakePrivacySandbox"
defaultConfig {
minSdk libs.versions.minSdk.get() as int
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -43,14 +43,14 @@ 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("")
assertThat(Build.VERSION.SECURITY_PATCH).isNotNull()
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")
}
}

0 comments on commit 761ce59

Please sign in to comment.