Fix RemoteSVG UTC failed due to the proxy block 56/277356/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 5 Jul 2022 10:55:42 +0000 (19:55 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 5 Jul 2022 10:55:42 +0000 (19:55 +0900)
Due to the security issue, https://bar.org/ networking blocked.
And the blocked request give us some result,
and UTC don't parse this data.

So, we change url as 127.0.0.1 (== localhost) so we can fail
to get data successfully.

Change-Id: Ib027856d674b794c9e31f066189a23f17a8cd9cf
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp

index 24802c4..95c6abd 100644 (file)
@@ -2956,7 +2956,7 @@ int UtcDaliImageViewSvgLoadingFailureRemoteFile01(void)
 
     gResourceReadySignalFired = false;
 
 
     gResourceReadySignalFired = false;
 
-    ImageView imageView = ImageView::New("https://bar.org/foobar.svg");
+    ImageView imageView = ImageView::New("https://127.0.0.1/foobar.svg");
     imageView.SetProperty(Actor::Property::SIZE, Vector2(200.f, 200.f));
     imageView.ResourceReadySignal().Connect(&ResourceReadySignal);
 
     imageView.SetProperty(Actor::Property::SIZE, Vector2(200.f, 200.f));
     imageView.ResourceReadySignal().Connect(&ResourceReadySignal);
 
@@ -2996,7 +2996,7 @@ int UtcDaliImageViewSvgLoadingFailureRemoteFile02(void)
 
     gResourceReadySignalFired = false;
 
 
     gResourceReadySignalFired = false;
 
-    ImageView imageView = ImageView::New("https://bar.org/foobar.svg");
+    ImageView imageView = ImageView::New("https://127.0.0.1/foobar.svg");
     imageView.ResourceReadySignal().Connect(&ResourceReadySignal);
 
     DALI_TEST_EQUALS(imageView.IsResourceReady(), false, TEST_LOCATION);
     imageView.ResourceReadySignal().Connect(&ResourceReadySignal);
 
     DALI_TEST_EQUALS(imageView.IsResourceReady(), false, TEST_LOCATION);