Fix SignalStrengthSampler.

Fix style comment on TrackRecordingService.
This commit is contained in:
Jimmy Shih
2011-10-10 18:11:51 -07:00
parent 06088b807b
commit 48abfdd621
3 changed files with 5 additions and 18 deletions
@@ -71,24 +71,12 @@ public class RecordingStateReceiverTest extends AndroidTestCase {
assertServiceCalls(1, 0);
}
public void testOnReceive_resume() {
receiver.onReceive(context,
new Intent(context.getString(R.string.track_resumed_broadcast_action)));
assertServiceCalls(1, 0);
}
public void testOnReceive_stop() {
receiver.onReceive(context,
new Intent(context.getString(R.string.track_stopped_broadcast_action)));
assertServiceCalls(0, 1);
}
public void testOnReceive_pause() {
receiver.onReceive(context,
new Intent(context.getString(R.string.track_paused_broadcast_action)));
assertServiceCalls(0, 1);
}
public void testOnReceive_noAutoStart() {
preferences
.edit()