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

tests: Check for id & type initial values

parent 96ee0676
...@@ -42,9 +42,11 @@ protected: ...@@ -42,9 +42,11 @@ protected:
TEST_F( Files, Create ) TEST_F( Files, Create )
{ {
ASSERT_NE( 0u, f->id() );
ASSERT_FALSE( f->isParsed() ); ASSERT_FALSE( f->isParsed() );
ASSERT_EQ( "media.mkv", f->mrl() ); ASSERT_EQ( "media.mkv", f->mrl() );
ASSERT_NE( 0u, f->lastModificationDate() ); ASSERT_NE( 0u, f->lastModificationDate() );
ASSERT_EQ( File::Type::Entire, f->type() );
} }
TEST_F( Files, Remove ) TEST_F( Files, Remove )
......
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