forked from enlightenment/efl
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
This commit is contained in:
parent
4452b921df
commit
b0f293d37c
|
@ -457,8 +457,9 @@ EFL_START_TEST (efl_ui_table_pack_table)
|
||||||
|
|
||||||
//unpack test
|
//unpack test
|
||||||
ck_assert(efl_pack_unpack(layout, btn[2]));
|
ck_assert(efl_pack_unpack(layout, btn[2]));
|
||||||
|
EXPECT_ERROR_START;
|
||||||
ck_assert(!efl_pack_unpack(layout, btn[2]));
|
ck_assert(!efl_pack_unpack(layout, btn[2]));
|
||||||
|
EXPECT_ERROR_END;
|
||||||
efl_pack_unpack_all(layout);
|
efl_pack_unpack_all(layout);
|
||||||
ck_assert_int_eq(efl_content_count(layout), 0);
|
ck_assert_int_eq(efl_content_count(layout), 0);
|
||||||
ck_assert(!efl_invalidated_get(btn[0]));
|
ck_assert(!efl_invalidated_get(btn[0]));
|
||||||
|
|
Loading…
Reference in New Issue