xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b0f293d37c6e6e21bcc303f590b086a581af291f

commit b0f293d37c6e6e21bcc303f590b086a581af291f
Author: Marcel Hollerbach <[email protected]>
Date:   Tue Sep 17 12:26:01 2019 +0200

    efl_ui_table: protect again negative tests
    
    Summary:
    these tests are checking for errors, which is fine, we should expect a
    error here
    Depends on D9983
    
    Reviewers: SanghyeonLee, cedric, zmike, segfaultxavi
    
    Subscribers: #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D9984
---
 src/tests/elementary/efl_ui_test_table.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/tests/elementary/efl_ui_test_table.c 
b/src/tests/elementary/efl_ui_test_table.c
index 6cfbbf0ad9..bafe072118 100644
--- a/src/tests/elementary/efl_ui_test_table.c
+++ b/src/tests/elementary/efl_ui_test_table.c
@@ -457,8 +457,9 @@ EFL_START_TEST (efl_ui_table_pack_table)
 
    //unpack test
    ck_assert(efl_pack_unpack(layout, btn[2]));
+   EXPECT_ERROR_START;
    ck_assert(!efl_pack_unpack(layout, btn[2]));
-
+   EXPECT_ERROR_END;
    efl_pack_unpack_all(layout);
    ck_assert_int_eq(efl_content_count(layout), 0);
    ck_assert(!efl_invalidated_get(btn[0]));

-- 


Reply via email to