summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUcan, Emre \(ADITG/SW1\) <eucan@de.adit-jv.com>2016-03-04 12:50:07 +0000
committerBryce Harrington <bryce@osg.samsung.com>2016-03-04 10:33:34 -0800
commit17610f240b416aadd694405e34c36e36ea853042 (patch)
tree02e80f2095bf2bfb6704e8ea83d9acdd822a483f /tests
parentc6a138c6f09ee97e6bba1e0055afc6fb445cdc43 (diff)
ivi-shell: remove ivi_layout_layer_get_visibility API
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Acked-by: wataru_natsume <wataru_natsume@xddp.denso.co.jp> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/ivi_layout-internal-test.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/ivi_layout-internal-test.c b/tests/ivi_layout-internal-test.c
index ec4c8d3a..1ba53b78 100644
--- a/tests/ivi_layout-internal-test.c
+++ b/tests/ivi_layout-internal-test.c
@@ -177,17 +177,16 @@ test_layer_visibility(struct test_context *ctx)
ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300);
iassert(ivilayer != NULL);
- iassert(lyt->layer_get_visibility(ivilayer) == false);
+ prop = lyt->get_properties_of_layer(ivilayer);
+
+ iassert(prop->visibility == false);
iassert(lyt->layer_set_visibility(ivilayer, true) == IVI_SUCCEEDED);
- iassert(lyt->layer_get_visibility(ivilayer) == false);
+ iassert(prop->visibility == false);
lyt->commit_changes();
- iassert(lyt->layer_get_visibility(ivilayer) == true);
-
- prop = lyt->get_properties_of_layer(ivilayer);
iassert(prop->visibility == true);
lyt->layer_destroy(ivilayer);
@@ -424,8 +423,6 @@ test_layer_bad_visibility(struct test_context *ctx)
iassert(lyt->layer_set_visibility(NULL, true) == IVI_FAILED);
lyt->commit_changes();
-
- iassert(lyt->layer_get_visibility(NULL) == false);
}
static void