Ejemplo n.º 1
0
  public void testSetAndGetIsSoundNotificationTrackMarkedAsScrobbledEnabled() {
    WAILSettings.setSoundNotificationTrackMarkedAsScrobbledEnabled(getContext(), true);
    assertTrue(WAILSettings.isSoundNotificationTrackMarkedAsScrobbledEnabled(getContext()));

    WAILSettings.setSoundNotificationTrackMarkedAsScrobbledEnabled(getContext(), false);
    assertFalse(WAILSettings.isSoundNotificationTrackMarkedAsScrobbledEnabled(getContext()));
  }
Ejemplo n.º 2
0
 public void testIsSoundNotificationTrackMarkedAsScrobbledEnabledDefault() {
   assertFalse(WAILSettings.isSoundNotificationTrackMarkedAsScrobbledEnabled(getContext()));
 }