Fix for rest of utc_blink_ewk_error* tests
authorLukasz Krok <l.krok@samsung.com>
Thu, 29 Jan 2015 12:23:57 +0000 (13:23 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commitaff7dd1f099e167fc5815cb0f74fd5eb1b535716
tree0035efa63a33eabd5e4c6757ce1ef043a072de6b
parent52c562fc300ef852196d911cbe7cad5e9f0c6545
Fix for rest of utc_blink_ewk_error* tests

The utc_blink_ewk_error* tests previous implementation
intention was to cause load error by cancelling resource loading.
As cancelling loading is normal situation, it shouldn't be treated
as error. It was corrected in I8f4e828bfcc63377678e475f44131dbc749b9c7f
change. Because of the change utc_blink_ewk_error_code_get* tests
stopped to pass.
This commit removes resource loading cancellation from tests logic.
Instead of google.com, "page_that_does_not_exist" is now set as url.
Such url usage causes SERVICE_TEMPORARILY_UNAVAILABLE error code.
If device has no network connection, NETWORK_ERROR code is produced.

One test suite - utc_blink_ewk_error_code_get* was already adapted
with a change: I1503f966bd782815760ca6a7fbf129d1e1400102
This patch adapts rest of the tests which have this problem.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10191
Reviewed by: Antonio Gomes, Jaesik Chang, Janusz Majnert, Kamil Klimek

Change-Id: Idda9f18ecd9fbb0ba0b351c6abd65abc7782dad9
Signed-off-by: Lukasz Krok <l.krok@samsung.com>
tizen_src/ewk/unittest/utc_blink_ewk_error_description_get_func.cpp
tizen_src/ewk/unittest/utc_blink_ewk_error_type_get_func.cpp
tizen_src/ewk/unittest/utc_blink_ewk_error_url_get_func.cpp