|
@ -142,10 +142,15 @@ class RadioPlayerTest { |
|
|
RadioPlayer rp1 = new RadioPlayer(); |
|
|
RadioPlayer rp1 = new RadioPlayer(); |
|
|
RadioPlayer rp2 = new RadioPlayer(); |
|
|
RadioPlayer rp2 = new RadioPlayer(); |
|
|
rp2.changeRegion("BY"); |
|
|
rp2.changeRegion("BY"); |
|
|
|
|
|
RadioPlayer rp3 = new RadioPlayer(); |
|
|
|
|
|
rp3.changeRegion("BY"); |
|
|
|
|
|
rp3.next(); |
|
|
|
|
|
rp3.next(); |
|
|
|
|
|
|
|
|
return Stream.of( |
|
|
return Stream.of( |
|
|
Arguments.of("Show Station Info for first saved Radio", rp1, rp1.getYouFMInfoByTime(rp1.hour)), |
|
|
Arguments.of("Show Station Info for first saved Radio", rp1, rp1.getYouFMInfoByTime(rp1.hour)), |
|
|
Arguments.of("Show Station Info for regional Station", rp2, rp2.getAntenneBYInfoByTime(rp2.hour)) |
|
|
|
|
|
|
|
|
Arguments.of("Show Station Info for regional Station", rp2, rp2.getAntenneBYInfoByTime(rp2.hour)), |
|
|
|
|
|
Arguments.of("Test for getting info text after station switching ", rp3, rp1.getBR3InfoByTime(rp3.hour)) |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|