summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUcan, Emre \(ADITG/SW1\) <eucan@de.adit-jv.com>2016-03-04 12:50:06 +0000
committerBryce Harrington <bryce@osg.samsung.com>2016-03-04 10:33:27 -0800
commitc6a138c6f09ee97e6bba1e0055afc6fb445cdc43 (patch)
tree98a186e4f78a1f8bb78d369a12ebbf57f38e12de /tests
parent9d8b4414d72e27cad3dccb03049199193a080c6a (diff)
ivi-shell: remove ivi_layout_surface_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.c4
-rw-r--r--tests/ivi_layout-test-plugin.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/ivi_layout-internal-test.c b/tests/ivi_layout-internal-test.c
index d0c759b5..ec4c8d3a 100644
--- a/tests/ivi_layout-internal-test.c
+++ b/tests/ivi_layout-internal-test.c
@@ -68,14 +68,10 @@ static void
test_surface_bad_visibility(struct test_context *ctx)
{
const struct ivi_layout_interface *lyt = ctx->layout_interface;
- bool visibility;
iassert(lyt->surface_set_visibility(NULL, true) == IVI_FAILED);
lyt->commit_changes();
-
- visibility = lyt->surface_get_visibility(NULL);
- iassert(visibility == false);
}
static void
diff --git a/tests/ivi_layout-test-plugin.c b/tests/ivi_layout-test-plugin.c
index f7b6c3c5..e7bcee97 100644
--- a/tests/ivi_layout-test-plugin.c
+++ b/tests/ivi_layout-test-plugin.c
@@ -356,7 +356,6 @@ RUNNER_TEST(surface_visibility)
const struct ivi_layout_interface *lyt = ctx->layout_interface;
struct ivi_layout_surface *ivisurf;
int32_t ret;
- bool visibility;
const struct ivi_layout_surface_properties *prop;
ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0));
@@ -367,9 +366,6 @@ RUNNER_TEST(surface_visibility)
lyt->commit_changes();
- visibility = lyt->surface_get_visibility(ivisurf);
- runner_assert(visibility == true);
-
prop = lyt->get_properties_of_surface(ivisurf);
runner_assert(prop->visibility == true);
}