summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-07-19 17:59:50 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-07-20 08:58:50 -0700
commitb43e1ae12328e8a36a9a36c03e49e1db0a395189 (patch)
treedf0cb8d9a44406578107fb9c07d5c34324160f45 /test
parentd3628449460a0918e9e89c81e1baba31c4acffe0 (diff)
downloadqtlocation-mapboxgl-b43e1ae12328e8a36a9a36c03e49e1db0a395189.tar.gz
[core] Correctly track sprite loaded state through smart setStyle
Diffstat (limited to 'test')
-rw-r--r--test/renderer/image_manager.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/renderer/image_manager.test.cpp b/test/renderer/image_manager.test.cpp
index 203e05d492..5e6da5c005 100644
--- a/test/renderer/image_manager.test.cpp
+++ b/test/renderer/image_manager.test.cpp
@@ -127,7 +127,7 @@ TEST(ImageManager, NotifiesRequestorWhenSpriteIsLoaded) {
imageManager.getImages(requestor, {"one"});
ASSERT_FALSE(notified);
- imageManager.onSpriteLoaded();
+ imageManager.setLoaded(true);
ASSERT_TRUE(notified);
}