[jira] [Commented] (CB-4894) geolocation tests fail when a device does not supportit

2013-09-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13781851#comment-13781851
 ] 

ASF subversion and git services commented on CB-4894:
-

Commit 32d806a11fbd460aef2dc3b7fabd2adfe4b3e6a7 in branch refs/heads/master 
from [~drkemp]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=32d806a ]

CB-4894 handle correctly when geolocation not available


 geolocation tests fail when a device does not supportit
 ---

 Key: CB-4894
 URL: https://issues.apache.org/jira/browse/CB-4894
 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 was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-4894) geolocation tests fail when a device does not supportit

2013-09-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13782125#comment-13782125
 ] 

ASF subversion and git services commented on CB-4894:
-

Commit ace274f6c48edd0a8300ae8680734370bcfde0da in branch refs/heads/3.1.x from 
[~drkemp]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=ace274f ]

CB-4894 handle correctly when geolocation not available

(cherry picked from commit 32d806a11fbd460aef2dc3b7fabd2adfe4b3e6a7)


 geolocation tests fail when a device does not supportit
 ---

 Key: CB-4894
 URL: https://issues.apache.org/jira/browse/CB-4894
 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 was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-4894) geolocation tests fail when a device does not supportit

2013-09-24 Thread David Kemp (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13776080#comment-13776080
 ] 

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: https://issues.apache.org/jira/browse/CB-4894
 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: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4894) geolocation tests fail when a device does not supportit

2013-09-23 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13774665#comment-13774665
 ] 

Joe Bowser commented on CB-4894:


What's the bug here? The waiting 20 seconds to report that win wasn't called?

 geolocation tests fail when a device does not supportit
 ---

 Key: CB-4894
 URL: https://issues.apache.org/jira/browse/CB-4894
 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: http://www.atlassian.com/software/jira