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
Steve Lhomme
VLC
Commits
ab75bc3a
Commit
ab75bc3a
authored
Jan 06, 2009
by
littlejohn
Browse files
jvlc: test to check audio mute on 2 different instances
parent
c6c3b26a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/java/core/src/test/java/org/videolan/jvlc/JVLCTest.java
View file @
ab75bc3a
...
...
@@ -72,5 +72,21 @@ public class JVLCTest extends AbstractJVLCTest
}
@Test
public
void
twoAudioInstancesTest
()
throws
Exception
{
JVLC
instance1
=
new
JVLC
();
JVLC
instance2
=
new
JVLC
();
instance1
.
play
(
mrl
);
instance2
.
play
(
mrl
);
Thread
.
sleep
(
1000
);
instance1
.
getAudio
().
setMute
(
true
);
Assert
.
assertNotNull
(
instance2
.
getAudio
());
Assert
.
assertTrue
(
instance1
.
getAudio
().
getMute
());
Assert
.
assertTrue
(!
instance2
.
getAudio
().
getMute
());
}
}
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