Removed setVolume test for VLC backend as the null output sink cannot have its' volume actually set.
This commit is contained in:
parent
e83c08f206
commit
1ca576f7d0
@ -67,14 +67,6 @@ public class VLCPlayerTest {
|
|||||||
assertFalse(player.isPlaying());
|
assertFalse(player.isPlaying());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testSetVolume() throws Exception {
|
|
||||||
assertEquals(ConfigManager.getLastVolume(), player.getVolume());
|
|
||||||
int newVolume = 25;
|
|
||||||
player.setVolume(25);
|
|
||||||
assertEquals(newVolume, player.getVolume());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSeek() throws Exception {
|
public void testSeek() throws Exception {
|
||||||
player.playSong(Optional.of(sampleSong));
|
player.playSong(Optional.of(sampleSong));
|
||||||
|
Loading…
Reference in New Issue
Block a user