Geoclue and WebKit: unit tests

Javier Fernandez Garcia-Boente jfernandez at igalia.com
Wed Jun 16 11:57:13 PDT 2010


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.


-- 
Javi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/geoclue/attachments/20100616/6203e372/attachment.pgp>


More information about the GeoClue mailing list