Ejemplo n.º 1
0
 public void testSetAndGetMinTrackDurationInSeconds() {
   final int value = 124512;
   assertTrue(value != WAILSettings.getMinTrackDurationInSeconds(getContext()));
   WAILSettings.setMinTrackDurationInSeconds(getContext(), value);
   assertEquals(value, WAILSettings.getMinTrackDurationInSeconds(getContext()));
 }
Ejemplo n.º 2
0
 public void testGetMinTrackDurationInSecondsDefault() {
   assertEquals(
       WAILSettings.DEFAULT_MIN_TRACK_DURATION_IN_SECONDS,
       WAILSettings.getMinTrackDurationInSeconds(getContext()));
 }