Home
last modified time | relevance | path

Searched refs:hasSpeed (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DLocationTest.java61 assertTrue(location.hasSpeed()); in removeFieldShouldReportHasFieldAsFalse()
63 assertFalse(location.hasSpeed()); in removeFieldShouldReportHasFieldAsFalse()
73 assertFalse(defaultLocation.hasSpeed()); in defaultLocationShouldNotReportFieldsAsAvailable()
99 assertFalse(l.hasSpeed()); in settingFieldShouldMakeHasFieldReturnTrue()
101 assertTrue(l.hasSpeed()); in settingFieldShouldMakeHasFieldReturnTrue()
117 assertTrue(l.hasSpeed()); in assertLocationFieldsFromTestSetup()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLocation.java29 private boolean hasSpeed; field in ShadowLocation
67 hasSpeed = l.hasSpeed(); in set()
185 this.hasSpeed = true; in setSpeed()
190 this.hasSpeed = false; in removeSpeed()
195 public boolean hasSpeed() { in hasSpeed() method in ShadowLocation
196 return hasSpeed; in hasSpeed()