Changeset 8c772c4 in mainline for uspace/lib/ui/test/window.c
- Timestamp:
- 2020-11-07T22:12:12Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3583ffb
- Parents:
- d55ab823
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/window.c
rd55ab823 r8c772c4 35 35 #include <stdbool.h> 36 36 #include <ui/control.h> 37 #include <ui/resource.h>38 37 #include <ui/ui.h> 39 38 #include <ui/window.h> … … 174 173 } 175 174 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; 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; 184 182 gfx_context_t *gc; 185 183 gfx_rect_t rect; … … 194 192 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 195 193 PCUT_ASSERT_NOT_NULL(window); 196 197 res = ui_window_get_res(window);198 PCUT_ASSERT_NOT_NULL(res);199 194 200 195 gc = ui_window_get_gc(window);
Note:
See TracChangeset
for help on using the changeset viewer.