Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
medialibrary
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
57
Issues
57
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
medialibrary
Commits
e2d7e9a1
Commit
e2d7e9a1
authored
Jan 17, 2019
by
Hugo Beauzée-Luyssen
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unittest: Clarify/fix FoldersNoDiscover.BanNonExistant
parent
cc97d3e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
test/unittest/FolderTests.cpp
test/unittest/FolderTests.cpp
+4
-2
No files found.
test/unittest/FolderTests.cpp
View file @
e2d7e9a1
...
...
@@ -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/"
);
...
...
Hugo Beauzée-Luyssen
@chouquette
mentioned in commit
964c6dfa
·
Jan 18, 2019
mentioned in commit
964c6dfa
mentioned in commit 964c6dfa1558c7daadc318cb4e1f2dec4db5b4a9
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment