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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ GeoClue mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/geoclue
