cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Kemp (JIRA)" <>
Subject [jira] [Commented] (CB-4894) geolocation tests fail when a device does not supportit
Date Tue, 24 Sep 2013 07:36:04 GMT


David Kemp commented on CB-4894:

There are two aspects to the bug:
* it wastes 40 seconds in a test set (2 tests, 20 sec each) 
* it reports incorrectly. If the platform that you are running the test on does not support
geolocation (or it is turned off) the 'correct' response is to answer getLocation() with an
error code =2 (Provider not available). To report this as a fail is wrong (or at least misleading).

> geolocation tests fail when a device does not supportit
> -------------------------------------------------------
>                 Key: CB-4894
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec
>    Affects Versions: 3.0.0
>         Environment: Identified with some older Android devices.
>            Reporter: David Kemp
>            Assignee: David Kemp
>            Priority: Minor
> The mobilespec tests wait 20 sec for win() to be called, but if a device/emulator does
not support geolocation, it calls fail() immediately - then waits the 20 seconds to report
that win was not called.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message