Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
1e399ae2
Commit
1e399ae2
authored
Oct 05, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test cases
parent
f3b630e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
test/libvlc/media_list_player.c
test/libvlc/media_list_player.c
+3
-4
No files found.
test/libvlc/media_list_player.c
View file @
1e399ae2
...
...
@@ -71,13 +71,13 @@ static void check_items_order_callback(const libvlc_event_t * p_event, void * us
assert
(
checks
->
index
<
checks
->
count
);
if
(
checks
->
items
[
checks
->
index
]
!=
md
)
{
char
*
title
=
libvlc_media_get_meta
(
md
,
libvlc_meta_Title
,
NULL
);
char
*
title
=
libvlc_media_get_meta
(
md
,
libvlc_meta_Title
);
log
(
"Got items %s
\n
"
,
title
);
free
(
title
);
}
assert
(
checks
->
items
[
checks
->
index
]
==
md
);
char
*
title
=
libvlc_media_get_meta
(
md
,
libvlc_meta_Title
,
NULL
);
char
*
title
=
libvlc_media_get_meta
(
md
,
libvlc_meta_Title
);
log
(
"Item %d '%s' was correctly queued
\n
"
,
checks
->
index
,
title
);
free
(
title
);
...
...
@@ -133,8 +133,7 @@ static void test_media_list_player_items_queue(const char** argv, int argc)
queue_expected_item
(
&
check
,
node
);
// Add items to that node
libvlc_media_list_t
*
subitems
=
libvlc_media_subitems
(
node
,
&
ex
);
catch
();
libvlc_media_list_t
*
subitems
=
libvlc_media_subitems
(
node
);
queue_expected_item
(
&
check
,
media_list_add_file_path
(
vlc
,
subitems
,
file
));
queue_expected_item
(
&
check
,
media_list_add_file_path
(
vlc
,
subitems
,
file
));
queue_expected_item
(
&
check
,
media_list_add_file_path
(
vlc
,
subitems
,
file
));
...
...
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