Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
cebfd667
Commit
cebfd667
authored
Jul 24, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: destroy the variables.
parent
f0425530
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
test/src/misc/variables.c
test/src/misc/variables.c
+4
-0
No files found.
test/src/misc/variables.c
View file @
cebfd667
...
...
@@ -388,6 +388,10 @@ static void test_creation_and_type( libvlc_int_t *p_libvlc )
assert
(
var_Create
(
p_libvlc
,
"bla"
,
VLC_VAR_INTEGER
|
VLC_VAR_HASCHOICE
)
==
VLC_SUCCESS
);
assert
(
var_Type
(
p_libvlc
,
"bla"
)
==
(
VLC_VAR_INTEGER
|
VLC_VAR_ISCOMMAND
|
VLC_VAR_HASMAX
|
VLC_VAR_HASSTEP
|
VLC_VAR_HASCHOICE
)
);
var_Destroy
(
p_libvlc
,
"bla"
);
var_Destroy
(
p_libvlc
,
"bla"
);
var_Destroy
(
p_libvlc
,
"bla"
);
assert
(
var_Get
(
p_libvlc
,
"bla"
,
&
val
)
==
VLC_ENOVAR
);
}
static
void
test_variables
(
libvlc_instance_t
*
p_vlc
)
...
...
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