Remove chunk image test as it doesn't really guarantee it is testing the chunk get... 09/253309/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 8 Feb 2021 16:33:45 +0000 (16:33 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 8 Feb 2021 16:34:39 +0000 (16:34 +0000)
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

automated-tests/src/dali-adaptor/utc-Dali-ImageLoading.cpp

index a221ad3..23e2450 100644 (file)
@@ -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;
-}