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