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
signature.asc
Description: Digital signature
_______________________________________________ GeoClue mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/geoclue
