Commit e6a58b5f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

tests: VLC service: Fail early if libvlc fails to load

parent 2d1444d2
......@@ -51,6 +51,7 @@ class VLCMetadataServices : public testing::Test
{
ml.reset( MediaLibraryFactory::create() );
vlcInstance = libvlc_new( 0, NULL );
ASSERT_NE(vlcInstance, nullptr);
auto vlcService = new VLCMetadataService( vlcInstance );
vlcService->initialize( cb.get(), ml.get() );
......
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