diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-08-24 17:38:06 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-08-24 20:02:31 +0300 |
commit | c98f4f476bd590bdfd78409d428459e40347302a (patch) | |
tree | 6c4bc14970ba0bf199e36156e3bc529a6d054a61 /test/map | |
parent | 646528bc53c37950b556be825de1ba9fa5303be3 (diff) | |
download | qtlocation-mapboxgl-c98f4f476bd590bdfd78409d428459e40347302a.tar.gz |
[core] Emit MapChangeDidFailLoadingMap when the style cannot be loaded or parsed
Currently this signal is never emitted, which can cause the Still mode
to starve in case of an invalid style or failed request.
Diffstat (limited to 'test/map')
-rw-r--r-- | test/map/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/map/map.cpp b/test/map/map.cpp index 2dc8aad927..7e0bbd0234 100644 --- a/test/map/map.cpp +++ b/test/map/map.cpp @@ -68,7 +68,7 @@ TEST(Map, SetStyleInvalidJSON) { auto observer = Log::removeObserver(); auto flo = dynamic_cast<FixtureLogObserver*>(observer.get()); EXPECT_EQ(1u, flo->count({ EventSeverity::Error, Event::ParseStyle, -1, - "Error parsing style JSON at 0: Invalid value." })); + "Failed to parse style: 0 - Invalid value." })); auto unchecked = flo->unchecked(); EXPECT_TRUE(unchecked.empty()) << unchecked; } |