diff options
author | Jesse Crocker <jesse@gaiagps.com> | 2017-03-01 11:15:11 -0700 |
---|---|---|
committer | Jesse Crocker <jesse@gaiagps.com> | 2017-03-01 11:15:11 -0700 |
commit | 9e8dc9a9e3e86adb9987ae69766cc42c7d9efece (patch) | |
tree | f5f0abd4d342c89ad0405d01969f9d6caecc1c90 /test/style/source.test.cpp | |
parent | 16fb0672e64a72b7400c321d55858b73cd5d8c3f (diff) | |
parent | f28d75dccd9bf4a7615df87faccc5cf5eff8df89 (diff) | |
download | qtlocation-mapboxgl-9e8dc9a9e3e86adb9987ae69766cc42c7d9efece.tar.gz |
Merge remote-tracking branch 'origin/master' into feature/custom-vector-source
Diffstat (limited to 'test/style/source.test.cpp')
-rw-r--r-- | test/style/source.test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp index 01f54d6b18..fb7737e417 100644 --- a/test/style/source.test.cpp +++ b/test/style/source.test.cpp @@ -393,7 +393,7 @@ TEST(Source, GeoJSonSourceUrlUpdate) { }; test.observer.sourceDescriptionChanged = [&] (Source&) { - //Should be called (test will hang if it doesn't) + // Should be called (test will hang if it doesn't) test.end(); }; @@ -404,12 +404,12 @@ TEST(Source, GeoJSonSourceUrlUpdate) { GeoJSONSource source("source"); source.baseImpl->setObserver(&test.observer); - //Load initial, so the source state will be loaded=true + // Load initial, so the source state will be loaded=true source.baseImpl->loadDescription(test.fileSource); - //Schedule an update + // Schedule an update test.loop.invoke([&] () { - //Update the url + // Update the url source.setURL(std::string("http://source-url.ext")); }); |