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

test: Folders: Add a folder files listing test

parent 032ad647
......@@ -92,3 +92,18 @@ TEST_F( Folders, InvalidPath )
auto files = ml->files();
ASSERT_EQ( files.size(), 0u );
}
TEST_F( Folders, List )
{
auto f = ml->addFolder( "." );
ASSERT_NE( f, nullptr );
auto files = f->files();
ASSERT_EQ( files.size(), 2u );
SetUp();
f = ml->folder( f->path() );
files = f->files();
ASSERT_EQ( files.size(), 2u );
}
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