Geolocation: use test key for tests.

Mozilla provide a test key (with usage restrictions) for testing
purpose. Make use of it in our unit tests.
This commit is contained in:
Adrien Destugues 2014-09-24 19:02:23 +02:00
parent 8a39d53d23
commit 84e6fa8e2a

View File

@ -20,7 +20,8 @@ GeolocationTest::GeolocationTest()
void
GeolocationTest::TestLocateSelf()
{
BGeolocation locator;
BGeolocation locator(BUrl(
"https://location.services.mozilla.com/v1/geolocate?key=test"));
float latitude, longitude;
status_t result = locator.LocateSelf(latitude, longitude);