diff options
author | Ucan, Emre \(ADITG/SW1\) <eucan@de.adit-jv.com> | 2016-03-04 12:50:39 +0000 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2016-03-04 10:33:34 -0800 |
commit | 5bb068d16d08b99ff171d02a5e67377e6cb3d4e8 (patch) | |
tree | b25544d27c2327a1fd5077461e927bd87245e197 /tests | |
parent | 4d9001bc49b2ae851d7a7f93b1ce7cec8b0a1121 (diff) |
ivi-shell: remove ivi_layout_layer_get_orientation 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.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/ivi_layout-internal-test.c b/tests/ivi_layout-internal-test.c index 9596a405..7ec29482 100644 --- a/tests/ivi_layout-internal-test.c +++ b/tests/ivi_layout-internal-test.c @@ -211,18 +211,16 @@ test_layer_orientation(struct test_context *ctx) ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); - iassert(lyt->layer_get_orientation(ivilayer) == WL_OUTPUT_TRANSFORM_NORMAL); + prop = lyt->get_properties_of_layer(ivilayer); + iassert(prop->orientation == WL_OUTPUT_TRANSFORM_NORMAL); iassert(lyt->layer_set_orientation( ivilayer, WL_OUTPUT_TRANSFORM_90) == IVI_SUCCEEDED); - iassert(lyt->layer_get_orientation(ivilayer) == WL_OUTPUT_TRANSFORM_NORMAL); + iassert(prop->orientation == WL_OUTPUT_TRANSFORM_NORMAL); lyt->commit_changes(); - iassert(lyt->layer_get_orientation(ivilayer) == WL_OUTPUT_TRANSFORM_90); - - prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->orientation == WL_OUTPUT_TRANSFORM_90); lyt->layer_destroy(ivilayer); @@ -428,8 +426,6 @@ test_layer_bad_orientation(struct test_context *ctx) NULL, WL_OUTPUT_TRANSFORM_90) == IVI_FAILED); lyt->commit_changes(); - - iassert(lyt->layer_get_orientation(NULL) == WL_OUTPUT_TRANSFORM_NORMAL); } static void |