Changeset c0757e1f in mainline for uspace/lib/ui/test
- Timestamp:
- 2023-04-19T11:13:06Z (3 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 37087c8
- Parents:
- ec8ef12
- Location:
- uspace/lib/ui/test
- Files:
-
- 1 added
- 3 edited
-
filelist.c (modified) (2 diffs)
-
list.c (modified) (3 diffs)
-
main.c (modified) (2 diffs)
-
selectdialog.c (added)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/filelist.c
rec8ef12 rc0757e1f 350 350 } 351 351 352 /** ui_file_list_entry_de lete() deletes entry */353 PCUT_TEST(entry_de lete)352 /** ui_file_list_entry_destroy() destroys entry */ 353 PCUT_TEST(entry_destroy) 354 354 { 355 355 ui_t *ui; … … 386 386 387 387 entry = ui_file_list_first(flist); 388 ui_file_list_entry_de lete(entry);388 ui_file_list_entry_destroy(entry); 389 389 390 390 PCUT_ASSERT_INT_EQUALS(1, ui_list_entries_cnt(flist->list)); 391 391 392 392 entry = ui_file_list_first(flist); 393 ui_file_list_entry_de lete(entry);393 ui_file_list_entry_destroy(entry); 394 394 395 395 PCUT_ASSERT_INT_EQUALS(0, ui_list_entries_cnt(flist->list)); -
uspace/lib/ui/test/list.c
rec8ef12 rc0757e1f 119 119 } 120 120 121 //XXX 122 PCUT_TEST(get_cb_arg) 123 { 124 } 125 121 126 /** ui_list_entry_height() gives the correct height */ 122 127 PCUT_TEST(entry_height) … … 751 756 } 752 757 758 //XXX TODO 759 PCUT_TEST(set_cursor) 760 { 761 } 762 753 763 /** ui_list_entry_attr_init() initializes entry attribute structure */ 754 764 PCUT_TEST(entry_attr_init) … … 902 912 ui_window_destroy(window); 903 913 ui_destroy(ui); 914 } 915 916 //XXX 917 PCUT_TEST(entry_get_list) 918 { 904 919 } 905 920 -
uspace/lib/ui/test/main.c
rec8ef12 rc0757e1f 52 52 PCUT_IMPORT(resource); 53 53 PCUT_IMPORT(scrollbar); 54 PCUT_IMPORT(select_dialog); 54 55 PCUT_IMPORT(slider); 55 56 PCUT_IMPORT(tab); … … 59 60 PCUT_IMPORT(wdecor); 60 61 PCUT_IMPORT(window); 62 61 63 PCUT_MAIN();
Note:
See TracChangeset
for help on using the changeset viewer.
