From 1ca576f7d074df6faba68d83e47d597ec3a20284 Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Sat, 2 Apr 2016 01:52:24 +0100 Subject: [PATCH] Removed setVolume test for VLC backend as the null output sink cannot have its' volume actually set. --- src/test/java/musicplayer/player/VLCPlayerTest.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/test/java/musicplayer/player/VLCPlayerTest.java b/src/test/java/musicplayer/player/VLCPlayerTest.java index 859de01..83fafe2 100644 --- a/src/test/java/musicplayer/player/VLCPlayerTest.java +++ b/src/test/java/musicplayer/player/VLCPlayerTest.java @@ -67,14 +67,6 @@ public class VLCPlayerTest { 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 public void testSeek() throws Exception { player.playSong(Optional.of(sampleSong));