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
8f257fe0
Commit
8f257fe0
authored
Apr 09, 2008
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial VLM tests
parent
dd2c908f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
bindings/java/core/src/test/java/org/videolan/jvlc/VLMTest.java
...gs/java/core/src/test/java/org/videolan/jvlc/VLMTest.java
+22
-2
No files found.
bindings/java/core/src/test/java/org/videolan/jvlc/VLMTest.java
View file @
8f257fe0
...
...
@@ -25,6 +25,8 @@
package
org.videolan.jvlc
;
import
junit.framework.Assert
;
import
org.junit.After
;
import
org.junit.Before
;
import
org.junit.Test
;
...
...
@@ -50,10 +52,28 @@ public class VLMTest
}
@Test
public
void
testPlayMedia
()
public
void
testVLMInit
()
{
VLM
vlm
=
jvlc
.
getVLM
();
Assert
.
assertNotNull
(
vlm
);
}
@Test
public
void
testAddBroadcast
()
{
VLM
vlm
=
jvlc
.
getVLM
();
vlm
.
addBroadcast
(
"test"
,
"file://"
+
mrl
,
""
,
null
,
true
,
false
);
}
@Test
public
void
testShowMedia
()
{
VLM
vlm
=
jvlc
.
getVLM
();
vlm
.
playMedia
(
mrl
);
vlm
.
addBroadcast
(
"test"
,
"file://"
+
mrl
,
""
,
null
,
true
,
false
);
vlm
.
showMedia
(
"test"
);
}
}
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