Skip to content
Snippets Groups Projects
Unverified Commit 228a7ec3 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

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
parent e6c193bd
Branches
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment