Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
b41a88c5
Commit
b41a88c5
authored
Oct 23, 2015
by
Hugo Beauzée-Luyssen
Browse files
Tests: Set log level to the minimum
parent
63e1ba59
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/Tests.cpp
View file @
b41a88c5
...
...
@@ -43,7 +43,7 @@ class TestEnv : public ::testing::Environment
void
Tests
::
TearDown
()
{
ml
.
reset
();
unlink
(
"test.db"
);
//
unlink("test.db");
}
...
...
@@ -55,6 +55,7 @@ void Tests::Reload(std::shared_ptr<factory::IFileSystem> fs /*= nullptr*/, IMedi
fs
=
std
::
shared_ptr
<
factory
::
IFileSystem
>
(
new
mock
::
NoopFsFactory
);
}
ml
->
setFsFactory
(
fs
);
ml
->
setVerbosity
(
LogLevel
::
Error
);
bool
res
=
ml
->
initialize
(
"test.db"
,
"/tmp"
,
metadataCb
);
ASSERT_TRUE
(
res
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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