aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-02-17 21:15:34 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-02-17 21:17:59 +0100
commit53a3d2403c1c7a6a892f4e43860bd98d38e9fa98 (patch)
tree17f4af9b8e3fc58e118057507ac3e90d8d5006b5
parentelm_config: save the backend string as stringshare (diff)
downloadefl-53a3d2403c1c7a6a892f4e43860bd98d38e9fa98.tar.gz
elm_web: web should NEVER be NULL
if there is no real engine, then atleast none should be created.
-rw-r--r--src/tests/elementary/elm_test_web.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/tests/elementary/elm_test_web.c b/src/tests/elementary/elm_test_web.c
index afb28e9fc6..379d244ffc 100644
--- a/src/tests/elementary/elm_test_web.c
+++ b/src/tests/elementary/elm_test_web.c
@@ -16,16 +16,13 @@ START_TEST (elm_web_legacy_type_check)
web = elm_web_add(win);
- if (web)
- {
- type = elm_object_widget_type_get(web);
- ck_assert(type != NULL);
- ck_assert(!strcmp(type, "Elm_Web"));
-
- type = evas_object_type_get(web);
- ck_assert(type != NULL);
- ck_assert(!strcmp(type, "elm_web"));
- }
+ type = elm_object_widget_type_get(web);
+ ck_assert(type != NULL);
+ ck_assert(!strcmp(type, "Elm_Web"));
+
+ type = evas_object_type_get(web);
+ ck_assert(type != NULL);
+ ck_assert(!strcmp(type, "elm_web"));
elm_shutdown();
}