mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 08:15:38 +00:00
added travis supported sound files
This commit is contained in:
1 parent
2830a407ba
commit
ee3744cb0a
3 files changed
+3
-3
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -62,9 +62,9 @@ public class AudioTest {
|
|||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testQueue() throws UnsupportedAudioFileException, IOException, InterruptedException {
|
public void testQueue() throws UnsupportedAudioFileException, IOException, InterruptedException {
|
||||||
Audio.playSound(Audio.getAudioStream("./etc/Bass-Drum-1.wav"), -10.0f);
|
Audio.playSound(Audio.getAudioStream("./etc/Bass-Drum-1.aif"), -10.0f);
|
||||||
Audio.playSound(Audio.getAudioStream("./etc/Bass-Drum-1.wav"), -10.0f);
|
Audio.playSound(Audio.getAudioStream("./etc/Bass-Drum-1.aif"), -10.0f);
|
||||||
Audio.playSound(Audio.getAudioStream("./etc/Bass-Drum-1.wav"), -10.0f);
|
Audio.playSound(Audio.getAudioStream("./etc/Bass-Drum-1.aif"), -10.0f);
|
||||||
assertTrue(Audio.getPendingAudio().length > 0);
|
assertTrue(Audio.getPendingAudio().length > 0);
|
||||||
// test that service is started
|
// test that service is started
|
||||||
assertTrue(Audio.isServiceRunning());
|
assertTrue(Audio.isServiceRunning());
|
||||||
|
|||||||
Reference in new issue
Block a user