Changeset 5d380b6 in mainline for uspace/lib/display/test/display.c
- Timestamp:
- 2023-01-20T11:50:41Z (23 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b1f0a14
- Parents:
- 6828a56
- git-author:
- Jiri Svoboda <jiri@…> (2023-01-20 19:50:21)
- git-committer:
- Jiri Svoboda <jiri@…> (2023-01-20 11:50:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/display/test/display.c
r6828a56 r5d380b6 118 118 gfx_rect_t create_rect; 119 119 gfx_coord2_t create_min_size; 120 sysarg_t create_idev_id; 120 121 bool window_destroy_called; 121 122 sysarg_t destroy_wnd_id; … … 237 238 params.min_size.x = 11; 238 239 params.min_size.y = 12; 240 params.idev_id = 42; 239 241 240 242 rc = display_window_create(disp, ¶ms, &test_display_wnd_cb, … … 247 249 PCUT_ASSERT_EQUALS(params.min_size.x, resp.create_min_size.x); 248 250 PCUT_ASSERT_EQUALS(params.min_size.y, resp.create_min_size.y); 251 PCUT_ASSERT_EQUALS(params.idev_id, resp.create_idev_id); 249 252 PCUT_ASSERT_ERRNO_VAL(resp.rc, rc); 250 253 PCUT_ASSERT_NULL(wnd); … … 289 292 params.rect.p0.x = 100; 290 293 params.rect.p0.y = 100; 294 params.idev_id = 42; 291 295 292 296 rc = display_window_create(disp, ¶ms, &test_display_wnd_cb, … … 297 301 PCUT_ASSERT_EQUALS(params.rect.p1.x, resp.create_rect.p1.x); 298 302 PCUT_ASSERT_EQUALS(params.rect.p1.y, resp.create_rect.p1.y); 303 PCUT_ASSERT_EQUALS(params.idev_id, resp.create_idev_id); 299 304 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 300 305 PCUT_ASSERT_NOT_NULL(wnd); … … 2138 2143 resp->create_rect = params->rect; 2139 2144 resp->create_min_size = params->min_size; 2145 resp->create_idev_id = params->idev_id; 2140 2146 if (resp->rc == EOK) 2141 2147 *rwnd_id = resp->wnd_id;
Note:
See TracChangeset
for help on using the changeset viewer.