Geoclue and WebKit: unit tests

arno arno at renevier.net
Wed Jun 16 12:15:00 PDT 2010


Le mercredi 16 juin 2010, à 20:57:13 +0200, Javier a écrit : 
> On Wed, 2010-06-16 at 10:49 +0300, Stefan Kost wrote:
> 
> > > Another idea that came up into my mind was to create a Dummy provider,
> > > which gets the dummy position/address previously set by the unit tests
> > > framework.
> > There are example and Manual providers already. You could probably use
> > the manual provider.
> > >  The Javascript unit test framework is setting a fixed
> > > location for all the WebKit ports through the SetPosition API, which has
> > > to be implemented by GeoClue. We could implement such method in the
> > > Dummy provider to locally store the dummy position to be retrieved when
> > > GetPosition is called.
> > >   
> > 
> 
> 
> I didn't realize that the Manual provider currently implements only the
> Address interface, so it will be unusable for the WebKit Geolocation
> unit tests. 
> 
> Im working now on making the Manual provider implements the Position
> interface.

Hi,
when I was also working on geolocation for webkit/gtk, a few months ago, I 
implemented position interface for localnet provider.

In case that helps your, here is the bug about that 
http://bugs.freedesktop.org/show_bug.cgi?id=26777
There is also some material in this mailing list thread 
http://lists.freedesktop.org/archives/geoclue/2010-February/000374.html

regards
arno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/geoclue/attachments/20100616/159e5a55/attachment.pgp>


More information about the GeoClue mailing list