Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
ad2b5c64
Commit
ad2b5c64
authored
Aug 22, 2016
by
Hugo Beauzée-Luyssen
Browse files
tests: sample: Fail early when ML fails to initialize
parent
a57d46f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/samples/Tester.cpp
View file @
ad2b5c64
...
...
@@ -77,7 +77,7 @@ void Tests::SetUp()
else
if
(
Verbose
==
true
)
m_ml
->
setVerbosity
(
LogLevel
::
Info
);
m_ml
->
initialize
(
"test.db"
,
"/tmp"
,
m_cb
.
get
()
);
ASSERT_TRUE
(
m_ml
->
initialize
(
"test.db"
,
"/tmp"
,
m_cb
.
get
()
)
);
}
void
Tests
::
checkVideoTracks
(
const
rapidjson
::
Value
&
expectedTracks
,
const
std
::
vector
<
VideoTrackPtr
>&
tracks
)
...
...
Write
Preview
Supports
Markdown
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