Fix for UtcDaliImageViewLoadRemoteSVG utc. 17/226917/2
authorVictor Cebollada <v.cebollada@samsung.com>
Fri, 6 Mar 2020 08:40:51 +0000 (08:40 +0000)
committerVictor Cebollada <v.cebollada@samsung.com>
Fri, 6 Mar 2020 09:57:03 +0000 (09:57 +0000)
* The url https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/check.svg is down
  and makes the UTC to fail.

Change-Id: I18c2cc5d3fa0634003f81b0f556bfdac9abcb9c5
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp

index 4e7247332324049e01476afdd0c097bc926e8c7d..21c00de7ffbba5f62b7b1807e38b267768544289 100644 (file)
@@ -2403,12 +2403,14 @@ int UtcDaliImageViewReloadFailedOnResourceReadySignal(void)
 
 int UtcDaliImageViewLoadRemoteSVG(void)
 {
-  tet_infoline("Test reloading failed image from within signal handler.");
+  tet_infoline("Test load from a remote server.");
 
   ToolkitTestApplication application;
   Toolkit::ImageView imageView;
   imageView = Toolkit::ImageView::New(  );
   imageView.SetImage("https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/check.svg");
+  // Victor. Temporary (or permanent?) update as the url above seems not to work from time to time ...
+  imageView.SetImage("https://upload.wikimedia.org/wikipedia/commons/thumb/0/02/SVG_logo.svg/64px-SVG_logo.svg.png");
   imageView.SetParentOrigin( ParentOrigin::TOP_LEFT );
   imageView.SetAnchorPoint( AnchorPoint::TOP_LEFT );
   imageView.SetSize(300, 300);