Fix test regression on API 33.

This commit is contained in:
Benoit Marty 2025-06-30 16:35:26 +02:00 committed by Benoit Marty
parent 4de44b702e
commit 06a551c388
2 changed files with 10 additions and 0 deletions

View file

@ -66,6 +66,7 @@ class AndroidMediaPreProcessorTest {
}
@Test
@Ignore("Ignore now that min API for enterprise is 33")
fun `test processing png`() = runTest {
val mediaUploadInfo = process(
asset = assetImagePng,
@ -109,6 +110,7 @@ class AndroidMediaPreProcessorTest {
}
@Test
@Ignore("Ignore now that min API for enterprise is 33")
fun `test processing png no compression`() = runTest {
val mediaUploadInfo = process(
asset = assetImagePng,
@ -130,6 +132,7 @@ class AndroidMediaPreProcessorTest {
}
@Test
@Ignore("Ignore now that min API for enterprise is 33")
fun `test processing png and delete`() = runTest {
val mediaUploadInfo = process(
asset = assetImagePng,
@ -154,6 +157,7 @@ class AndroidMediaPreProcessorTest {
}
@Test
@Ignore("Ignore now that min API for enterprise is 33")
fun `test processing jpeg`() = runTest {
val mediaUploadInfo = process(
asset = assetImageJpeg,
@ -197,6 +201,7 @@ class AndroidMediaPreProcessorTest {
}
@Test
@Ignore("Ignore now that min API for enterprise is 33")
fun `test processing jpeg no compression`() = runTest {
val mediaUploadInfo = process(
asset = assetImageJpeg,
@ -218,6 +223,7 @@ class AndroidMediaPreProcessorTest {
}
@Test
@Ignore("Ignore now that min API for enterprise is 33")
fun `test processing jpeg and delete`() = runTest {
val mediaUploadInfo = process(
asset = assetImageJpeg,
@ -242,6 +248,7 @@ class AndroidMediaPreProcessorTest {
}
@Test
@Ignore("Ignore now that min API for enterprise is 33")
fun `test processing gif`() = runTest {
val mediaUploadInfo = process(
asset = assetAnimatedGif,

View file

@ -32,6 +32,7 @@ import org.junit.Rule
import org.junit.Test
import org.junit.rules.TestRule
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@RunWith(AndroidJUnit4::class)
class MediaViewerViewTest {
@ -108,6 +109,7 @@ class MediaViewerViewTest {
}
@Test
@Config(qualifiers = "h1024dp")
fun `clicking on save emit expected Event`() {
val data = aMediaViewerPageData()
testBottomSheetAction(
@ -118,6 +120,7 @@ class MediaViewerViewTest {
}
@Test
@Config(qualifiers = "h1024dp")
fun `clicking on share emit expected Event`() {
val data = aMediaViewerPageData()
testBottomSheetAction(