Commit a4561957 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

unittests: Add missing checks

parent 4e1b2aaf
......@@ -71,6 +71,7 @@ TEST_F( Files, Media )
Reload();
auto m = ml->media( "media.mkv" );
ASSERT_NE( nullptr, m );
auto files = m->files();
ASSERT_EQ( 1u, files.size() );
f = std::static_pointer_cast<File>( files[0] );
......
......@@ -61,6 +61,7 @@ TEST_F( VideoTracks, FetchTracks )
Reload();
auto m = ml->media( "file.avi" );
ASSERT_NE( nullptr, m );
ts = m->videoTracks();
ASSERT_EQ( ts.size(), 2u );
t2 = ts[0];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment