mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 11:08:34 +08:00
add combo_box_remove_option
This commit is contained in:
parent
b29ac810f2
commit
6b787e7d39
@ -308,6 +308,9 @@ TEST(ComboBox, remove_option) {
|
|||||||
|
|
||||||
ASSERT_EQ(combo_box_remove_option(w, 2), RET_OK);
|
ASSERT_EQ(combo_box_remove_option(w, 2), RET_OK);
|
||||||
ASSERT_EQ(combo_box_count_options(w), 0);
|
ASSERT_EQ(combo_box_count_options(w), 0);
|
||||||
|
|
||||||
|
ASSERT_EQ(combo_box_remove_option(w, 2), RET_NOT_FOUND);
|
||||||
|
ASSERT_EQ(combo_box_count_options(w), 0);
|
||||||
|
|
||||||
widget_destroy(w);
|
widget_destroy(w);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user