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

Add initialization unit test

parent 6589ff3c
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "IMediaLibrary.h"
TEST( MediaLibary, InsertFile ) TEST( MediaLibary, Init )
{ {
IMediaLibrary* ml = MediaLibraryFactory::create();
ASSERT_TRUE( ml->initialize( "test.db" ) );
} }
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