DescriptionThese are some tests I put together to test the station lookup features for Issue 24. However, with these tests in place, nothing is failing, so this doesn't resolve issue 24 but it does provide coverage.
Note that this includes a patch to Main that adds location listeners on startup. This is needed in testing so that calling getLastKnownLocation (in station lookup) doesn't return null. There's an extreme corner case where this could happen in real life (a user turns on the device, starts NPR and asks for local station without any other app looking at the location).
Patch Set 1 #
Total comments: 16
Patch Set 2 : Updates with edits, enhanced tests #Patch Set 3 : Changed minTime in listeners to 1 minute #
Total comments: 2
MessagesTotal messages: 6
|