|
@ -282,12 +282,21 @@ class UsbPlayerTest { |
|
|
Pl3.add("Musik 02.wma"); |
|
|
Pl3.add("Musik 02.wma"); |
|
|
Pl3.add("Musik 03.wma"); |
|
|
Pl3.add("Musik 03.wma"); |
|
|
up5.setPlaylist(Pl3); |
|
|
up5.setPlaylist(Pl3); |
|
|
|
|
|
//aac |
|
|
|
|
|
UsbPlayer up6 = new UsbPlayer(); |
|
|
|
|
|
ArrayList<String> Pl4 = new ArrayList<String>(); |
|
|
|
|
|
Pl4.add("Musik 01.aac"); |
|
|
|
|
|
Pl4.add("Musik 02.aac"); |
|
|
|
|
|
Pl4.add("Musik 03.aac"); |
|
|
|
|
|
up6.setPlaylist(Pl4); |
|
|
|
|
|
|
|
|
return Stream.of( |
|
|
return Stream.of( |
|
|
Arguments.of("Check if the Files are .mp3 ", up1.isAllAudio(), true), |
|
|
Arguments.of("Check if the Files are .mp3 ", up1.isAllAudio(), true), |
|
|
Arguments.of("Check if the Files are .mp4 ", up2.isAllAudio(), true), |
|
|
Arguments.of("Check if the Files are .mp4 ", up2.isAllAudio(), true), |
|
|
Arguments.of("Check if the Files are .m4a ", up3.isAllAudio(), true), |
|
|
Arguments.of("Check if the Files are .m4a ", up3.isAllAudio(), true), |
|
|
Arguments.of("Check if the Files are .wav ", up4.isAllAudio(), true), |
|
|
Arguments.of("Check if the Files are .wav ", up4.isAllAudio(), true), |
|
|
Arguments.of("Check if the Files are .wma ", up5.isAllAudio(), true) |
|
|
|
|
|
|
|
|
Arguments.of("Check if the Files are .wma ", up5.isAllAudio(), true), |
|
|
|
|
|
Arguments.of("Check if the Files are .aac ", up6.isAllAudio(), true) |
|
|
|
|
|
|
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|