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
67a5fd3c
Commit
67a5fd3c
authored
Jan 07, 2016
by
Hugo Beauzée-Luyssen
Browse files
tests: Check for id & type initial values
parent
96ee0676
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/unittest/FileTests.cpp
View file @
67a5fd3c
...
...
@@ -42,9 +42,11 @@ protected:
TEST_F
(
Files
,
Create
)
{
ASSERT_NE
(
0u
,
f
->
id
()
);
ASSERT_FALSE
(
f
->
isParsed
()
);
ASSERT_EQ
(
"media.mkv"
,
f
->
mrl
()
);
ASSERT_NE
(
0u
,
f
->
lastModificationDate
()
);
ASSERT_EQ
(
File
::
Type
::
Entire
,
f
->
type
()
);
}
TEST_F
(
Files
,
Remove
)
...
...
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