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

unittest: Clarify/fix FoldersNoDiscover.BanNonExistant

parent cc97d3e8
......@@ -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