Changeset 3583ffb in mainline for uspace/lib/ui/test/window.c
- Timestamp:
- 2020-11-08T19:51:04Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f93e4e3
- Parents:
- 8c772c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/window.c
r8c772c4 r3583ffb 35 35 #include <stdbool.h> 36 36 #include <ui/control.h> 37 #include <ui/resource.h> 37 38 #include <ui/ui.h> 38 39 #include <ui/window.h> … … 173 174 } 174 175 175 /** ui_window_get_gc/rect() return valid objects */ 176 PCUT_TEST(gc_rect) 177 { 178 errno_t rc; 179 ui_t *ui = NULL; 180 ui_wnd_params_t params; 181 ui_window_t *window = NULL; 176 /** ui_window_get_res/gc/rect() return valid objects */ 177 PCUT_TEST(get_res_gc_rect) 178 { 179 errno_t rc; 180 ui_t *ui = NULL; 181 ui_wnd_params_t params; 182 ui_window_t *window = NULL; 183 ui_resource_t *res; 182 184 gfx_context_t *gc; 183 185 gfx_rect_t rect; … … 192 194 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 193 195 PCUT_ASSERT_NOT_NULL(window); 196 197 res = ui_window_get_res(window); 198 PCUT_ASSERT_NOT_NULL(res); 194 199 195 200 gc = ui_window_get_gc(window);
Note:
See TracChangeset
for help on using the changeset viewer.