Changeset c0757e1f in mainline for uspace/lib/ui/test


Ignore:
Timestamp:
2023-04-19T11:13:06Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
37087c8
Parents:
ec8ef12
Message:

UI display configuration utility

In addition to the command-line utility 'disp', we introduce its UI
equivalent 'display-cfg'. Currently this allows the user to configure
seats in a very comfortable way.

Location:
uspace/lib/ui/test
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/test/filelist.c

    rec8ef12 rc0757e1f  
    350350}
    351351
    352 /** ui_file_list_entry_delete() deletes entry */
    353 PCUT_TEST(entry_delete)
     352/** ui_file_list_entry_destroy() destroys entry */
     353PCUT_TEST(entry_destroy)
    354354{
    355355        ui_t *ui;
     
    386386
    387387        entry = ui_file_list_first(flist);
    388         ui_file_list_entry_delete(entry);
     388        ui_file_list_entry_destroy(entry);
    389389
    390390        PCUT_ASSERT_INT_EQUALS(1, ui_list_entries_cnt(flist->list));
    391391
    392392        entry = ui_file_list_first(flist);
    393         ui_file_list_entry_delete(entry);
     393        ui_file_list_entry_destroy(entry);
    394394
    395395        PCUT_ASSERT_INT_EQUALS(0, ui_list_entries_cnt(flist->list));
  • uspace/lib/ui/test/list.c

    rec8ef12 rc0757e1f  
    119119}
    120120
     121//XXX
     122PCUT_TEST(get_cb_arg)
     123{
     124}
     125
    121126/** ui_list_entry_height() gives the correct height */
    122127PCUT_TEST(entry_height)
     
    751756}
    752757
     758//XXX TODO
     759PCUT_TEST(set_cursor)
     760{
     761}
     762
    753763/** ui_list_entry_attr_init() initializes entry attribute structure */
    754764PCUT_TEST(entry_attr_init)
     
    902912        ui_window_destroy(window);
    903913        ui_destroy(ui);
     914}
     915
     916//XXX
     917PCUT_TEST(entry_get_list)
     918{
    904919}
    905920
  • uspace/lib/ui/test/main.c

    rec8ef12 rc0757e1f  
    5252PCUT_IMPORT(resource);
    5353PCUT_IMPORT(scrollbar);
     54PCUT_IMPORT(select_dialog);
    5455PCUT_IMPORT(slider);
    5556PCUT_IMPORT(tab);
     
    5960PCUT_IMPORT(wdecor);
    6061PCUT_IMPORT(window);
     62
    6163PCUT_MAIN();
Note: See TracChangeset for help on using the changeset viewer.