Ejemplo n.º 1
0
 public void testSetAndGetMinTrackDurationInPercents() {
   final int value = 21;
   assertTrue(value != WAILSettings.getMinTrackDurationInPercents(getContext()));
   WAILSettings.setMinTrackDurationInPercents(getContext(), value);
   assertEquals(value, WAILSettings.getMinTrackDurationInPercents(getContext()));
 }
Ejemplo n.º 2
0
 public void testGetMinTrackDurationInPercentsDefault() {
   assertEquals(
       WAILSettings.DEFAULT_MIN_TRACK_DURATION_IN_PERCENT,
       WAILSettings.getMinTrackDurationInPercents(getContext()));
 }