summaryrefslogtreecommitdiff
path: root/test/util/image.test.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-09-11 13:05:30 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-09-11 13:14:42 +0200
commit8ec92b72473305cbf14c31b185fd5634ce670837 (patch)
tree74b9ec23620e3d1f27b17c25947f8f2cf01216ed /test/util/image.test.cpp
parent6e171a62a9cc07ddbb0765e3021e46ebd60313df (diff)
downloadqtlocation-mapboxgl-upstream/remove-webp.tar.gz
[linux,qt] Remove remainder of WebP supportupstream/remove-webp
Diffstat (limited to 'test/util/image.test.cpp')
-rw-r--r--test/util/image.test.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/util/image.test.cpp b/test/util/image.test.cpp
index f4a6473040..c2922415cb 100644
--- a/test/util/image.test.cpp
+++ b/test/util/image.test.cpp
@@ -78,14 +78,6 @@ TEST(Image, JPEGTile) {
EXPECT_EQ(256u, image.size.height);
}
-#if !defined(__ANDROID__) && !defined(__APPLE__) && !defined(QT_IMAGE_DECODERS)
-TEST(Image, WebPTile) {
- PremultipliedImage image = decodeImage(util::read_file("test/fixtures/image/tile.webp"));
- EXPECT_EQ(256u, image.size.width);
- EXPECT_EQ(256u, image.size.height);
-}
-#endif // !defined(__ANDROID__) && !defined(__APPLE__) && !defined(QT_IMAGE_DECODERS)
-
TEST(Image, Resize) {
AlphaImage image({0, 0});