Changes in uspace/lib/ui/test/entry.c [f0155e4:c9722c1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/entry.c
rf0155e4 rc9722c1 106 106 PCUT_TEST(set_halign) 107 107 { 108 errno_t rc; 109 ui_t *ui = NULL; 110 ui_window_t *window = NULL; 111 ui_wnd_params_t params; 112 ui_entry_t *entry; 113 114 rc = ui_create_disp(NULL, &ui); 115 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 116 117 ui_wnd_params_init(¶ms); 118 params.caption = "Hello"; 119 120 rc = ui_window_create(ui, ¶ms, &window); 121 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 122 PCUT_ASSERT_NOT_NULL(window); 123 124 rc = ui_entry_create(window, "Hello", &entry); 108 ui_entry_t *entry; 109 errno_t rc; 110 111 rc = ui_entry_create(NULL, "Hello", &entry); 125 112 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 126 113 … … 131 118 132 119 ui_entry_destroy(entry); 133 ui_window_destroy(window);134 ui_destroy(ui);135 120 } 136 121
Note:
See TracChangeset
for help on using the changeset viewer.