|
@ -251,10 +251,15 @@ void louderTest(String testName, UsbPlayer inputPlay, int expectedResult) { |
|
|
|
|
|
|
|
|
static Stream<Arguments> isAllAudioOptions() { |
|
|
static Stream<Arguments> isAllAudioOptions() { |
|
|
UsbPlayer up1 = new UsbPlayer(); |
|
|
UsbPlayer up1 = new UsbPlayer(); |
|
|
//up1.GoTo("Musik 03.mp3"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UsbPlayer up2=new UsbPlayer(); |
|
|
|
|
|
ArrayList<String> Pl = new ArrayList<String>(); |
|
|
|
|
|
Pl.add("Musik 01.mp4"); |
|
|
|
|
|
Pl.add("Musik 02.mp4"); |
|
|
|
|
|
Pl.add("Musik 03.mp4"); |
|
|
|
|
|
up2.setPlaylist(Pl); |
|
|
return Stream.of( |
|
|
return Stream.of( |
|
|
Arguments.of("Go to Song : Musik 03.mp3 ", up1.isAllAudio(), true) |
|
|
|
|
|
|
|
|
Arguments.of("Go to Song : Musik 03.mp3 ", up1.isAllAudio(), true), |
|
|
|
|
|
Arguments.of("Go to Song : Musik 03.mp3 ", up2.isAllAudio(), true) |
|
|
|
|
|
|
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|