From 6926ec1ab710220f19000809ed7122d6e57e63e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Muller?= Date: Tue, 13 Feb 2024 08:58:30 +0100 Subject: [PATCH] Enable all tests in `VideoSizeTest` --- .../ch/srgssr/pillarbox/player/extension/VideoSizeTest.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pillarbox-player/src/test/java/ch/srgssr/pillarbox/player/extension/VideoSizeTest.kt b/pillarbox-player/src/test/java/ch/srgssr/pillarbox/player/extension/VideoSizeTest.kt index 3a5a4fb87..838a73a40 100644 --- a/pillarbox-player/src/test/java/ch/srgssr/pillarbox/player/extension/VideoSizeTest.kt +++ b/pillarbox-player/src/test/java/ch/srgssr/pillarbox/player/extension/VideoSizeTest.kt @@ -8,7 +8,6 @@ import android.util.Rational import androidx.media3.common.VideoSize import androidx.test.ext.junit.runners.AndroidJUnit4 import org.junit.runner.RunWith -import kotlin.test.Ignore import kotlin.test.Test import kotlin.test.assertEquals @@ -79,21 +78,18 @@ class VideoSizeTest { } @Test - @Ignore("https://github.com/robolectric/robolectric/issues/8786") fun `toRational unknown video size`() { val input = VideoSize.UNKNOWN assertEquals(RATIONAL_ONE, input.toRational()) } @Test - @Ignore("https://github.com/robolectric/robolectric/issues/8786") fun `toRational with a 16-9 aspect ratio`() { val input = VideoSize(1920, 1080) assertEquals(Rational(1920, 1080), input.toRational()) } @Test - @Ignore("https://github.com/robolectric/robolectric/issues/8786") fun `toRational with a square aspect ratio`() { val input = VideoSize(500, 500) assertEquals(Rational(500, 500), input.toRational())