OLD | NEW |
1 Tests that watchPosition correctly reports position updates and errors from the
Geolocation service. | 1 Tests that watchPosition correctly reports position updates and errors from the
Geolocation service. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS position.coords.latitude is mockLatitude | 6 PASS position.coords.latitude is mockLatitude |
7 PASS position.coords.longitude is mockLongitude | 7 PASS position.coords.longitude is mockLongitude |
8 PASS position.coords.accuracy is mockAccuracy | 8 PASS position.coords.accuracy is mockAccuracy |
9 | 9 |
10 PASS position.coords.latitude is mockLatitude | 10 PASS position.coords.latitude is mockLatitude |
11 PASS position.coords.longitude is mockLongitude | 11 PASS position.coords.longitude is mockLongitude |
12 PASS position.coords.accuracy is mockAccuracy | 12 PASS position.coords.accuracy is mockAccuracy |
13 | 13 |
14 PASS error.code is error.POSITION_UNAVAILABLE | 14 PASS error.code is error.POSITION_UNAVAILABLE |
15 PASS error.message is mockMessage | 15 PASS error.message is mockMessage |
16 | 16 |
17 PASS position.coords.latitude is mockLatitude | 17 PASS position.coords.latitude is mockLatitude |
18 PASS position.coords.longitude is mockLongitude | 18 PASS position.coords.longitude is mockLongitude |
19 PASS position.coords.accuracy is mockAccuracy | 19 PASS position.coords.accuracy is mockAccuracy |
20 | 20 |
21 PASS successfullyParsed is true | 21 PASS successfullyParsed is true |
22 | 22 |
23 TEST COMPLETE | 23 TEST COMPLETE |
24 | 24 |
OLD | NEW |