blob: 388946697b3859174c4e2fe3cac50418f1cea535 [file] [log] [blame]
Tests that the PositionOptions.maximumAge parameter is correctly applied.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS position.coords.latitude is mockLatitude
PASS position.coords.longitude is mockLongitude
PASS position.coords.accuracy is mockAccuracy
PASS position.coords.latitude is mockLatitude
PASS position.coords.longitude is mockLongitude
PASS position.coords.accuracy is mockAccuracy
PASS position.coords.latitude is mockLatitude
PASS position.coords.longitude is mockLongitude
PASS position.coords.accuracy is mockAccuracy
PASS error.code is error.POSITION_UNAVAILABLE
PASS error.message is mockMessage
PASS successfullyParsed is true
TEST COMPLETE