Arguments.of("[getActualPlayTrack() after 1x next() starting by firstSong] => SecondSongSelected","SecondSongSelected",cdPlayer1,1,cdPlayer1.getSongByNumber(1)),
Arguments.of("[getActualPlayTrack() after 1x next() starting by firstSong] => SecondSongSelected","SecondSongSelected",cdPlayer1,1,cdPlayer1.getSongByNumber(1)),
Arguments.of("[getActualPlayTrack() after 2x next() starting by firstSong] => ThirdSongSelected","ThirdSongSelected",cdPlayer2,2,cdPlayer2.getSongByNumber(2)),
Arguments.of("[getActualPlayTrack() after 2x next() starting by firstSong] => ThirdSongSelected","ThirdSongSelected",cdPlayer2,2,cdPlayer2.getSongByNumber(2)),
Arguments.of("[getActualPlayTrack() after 1x next() starting by lastSong] => FirstSongSelected","FirstSongSelected",cdPlayer3,cdPlayer3.getOptions().length,cdPlayer3.getSongByNumber(0))
Arguments.of("[getActualPlayTrack() after 1x next() starting by lastSong] => FirstSongSelected","FirstSongSelected",cdPlayer3,cdPlayer3.getItemList().length,cdPlayer3.getSongByNumber(0))
);
);
}
}
@ -228,4 +228,19 @@ class CDPlayerTest {
Arguments.of("[getActualPlayTrack() after 1x prev() starting by firstSong] => FirstSongSelected","StartingByFirstSong",cdPlayer1,1,cdPlayer1.getSongByNumber(0))
Arguments.of("[getActualPlayTrack() after 1x prev() starting by firstSong] => FirstSongSelected","StartingByFirstSong",cdPlayer1,1,cdPlayer1.getSongByNumber(0))