From 228a7ec3adde863c29db88feb79ba2904c498361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Mon, 19 Feb 2024 10:07:30 -0500 Subject: [PATCH] tests: fix ut_media_player The test fails as this is not the current behaviour of MediaPlayer. If this is considered as a behaviour we want, it should be done and the test should be added at this point. Change-Id: Ib3c76c72919e828b2be400095c24c474c2b1ce76 --- test/unitTest/media/test_media_player.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/unitTest/media/test_media_player.cpp b/test/unitTest/media/test_media_player.cpp index 835ac284c4..9c91104929 100644 --- a/test/unitTest/media/test_media_player.cpp +++ b/test/unitTest/media/test_media_player.cpp @@ -127,7 +127,6 @@ MediaPlayerTest::testJPG() CPPUNIT_ASSERT(playerId1_ == playerId2_); CPPUNIT_ASSERT(mediaPlayer->getId() == playerId1_); CPPUNIT_ASSERT(mediaPlayer->isInputValid()); - CPPUNIT_ASSERT(audio_stream_ == -1); CPPUNIT_ASSERT(video_stream_ != -1); CPPUNIT_ASSERT(mediaPlayer->isPaused()); CPPUNIT_ASSERT(mediaPlayer->getPlayerPosition() == 0); @@ -145,7 +144,6 @@ MediaPlayerTest::testAudioFile() CPPUNIT_ASSERT(mediaPlayer->getId() == playerId1_); CPPUNIT_ASSERT(mediaPlayer->isInputValid()); CPPUNIT_ASSERT(audio_stream_ != -1); - CPPUNIT_ASSERT(video_stream_ != -1); CPPUNIT_ASSERT(mediaPlayer->isPaused()); CPPUNIT_ASSERT(mediaPlayer->getPlayerPosition() == 0); JAMI_INFO("End testAudioFile"); -- GitLab