From: Adeel Kazmi Date: Mon, 8 Feb 2021 16:33:45 +0000 (+0000) Subject: Remove chunk image test as it doesn't really guarantee it is testing the chunk get... X-Git-Tag: dali_2.0.13~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a4062a8408824c3c671adab3758760c1f1db8e4;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Remove chunk image test as it doesn't really guarantee it is testing the chunk get url code The image it refers to takes a long time to respond so the test ends up failing. A visual test also loads this image so this part of the functionality can still be tested. Change-Id: I244fcebef77c4ac91ace57ec00b0bcf2b33a97d2 --- diff --git a/automated-tests/src/dali-adaptor/utc-Dali-ImageLoading.cpp b/automated-tests/src/dali-adaptor/utc-Dali-ImageLoading.cpp index a221ad3..23e2450 100644 --- a/automated-tests/src/dali-adaptor/utc-Dali-ImageLoading.cpp +++ b/automated-tests/src/dali-adaptor/utc-Dali-ImageLoading.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -253,16 +253,3 @@ int UtcDaliDownloadImageN(void) END_TEST; } - -int UtcDaliDownloadRemoteChunkedImage(void) -{ - std::string url("http://d2k43l0oslhof9.cloudfront.net/platform/image/contents/vc/20/01/58/20170629100630071189_0bf6b911-a847-cba4-e518-be40fe2f579420170629192203240.jpg"); - - Devel::PixelBuffer pixelBuffer = Dali::DownloadImageSynchronously(url); - DALI_TEST_CHECK(pixelBuffer); - DALI_TEST_EQUALS(pixelBuffer.GetWidth(), 279u, TEST_LOCATION); - DALI_TEST_EQUALS(pixelBuffer.GetHeight(), 156u, TEST_LOCATION); - DALI_TEST_EQUALS(pixelBuffer.GetPixelFormat(), Pixel::RGBA8888, TEST_LOCATION); - - END_TEST; -}