mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-15 07:28:30 +00:00
Fix broken exoplayer pool test.
This commit is contained in:
committed by
Greyson Parrelli
parent
04707b00e7
commit
bc592cc4e2
@@ -1,12 +1,18 @@
|
||||
package org.thoughtcrime.securesms.video.exo
|
||||
|
||||
import android.app.Application
|
||||
import androidx.media3.exoplayer.ExoPlayer
|
||||
import io.mockk.mockk
|
||||
import org.junit.Assert.assertNotNull
|
||||
import org.junit.Assert.assertThrows
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
import org.robolectric.RobolectricTestRunner
|
||||
import org.robolectric.annotation.Config
|
||||
|
||||
@RunWith(RobolectricTestRunner::class)
|
||||
@Config(application = Application::class)
|
||||
class ExoPlayerPoolTest {
|
||||
@Test
|
||||
fun `Given an empty pool, when I require a player, then I expect a player`() {
|
||||
|
||||
Reference in New Issue
Block a user