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

unittest: Clarify/fix FoldersNoDiscover.BanNonExistant

(cherry picked from commit e2d7e9a1)
Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 5d2f2d9f
......@@ -302,9 +302,11 @@ TEST_F( FoldersNoDiscover, BanTwice )
TEST_F( FoldersNoDiscover, BanNonExistant )
{
ml->banFolder( "foo/bar/otters" );
// Unhandled scheme
ml->banFolder( "foo://bar/otters" );
cbMock->waitBanFolder();
ml->banFolder( "/foo/bar/otters" );
// valid scheme, unknown root folder
ml->banFolder( "file:///foo/bar/otters" );
cbMock->waitBanFolder();
// Ban with an existing base
ml->banFolder( mock::FileSystemFactory::Root + "grouik/" );
......
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