Changeset 9901f267 in mainline for uspace/srv/hid/display/test/window.c
- Timestamp:
- 2020-05-22T10:38:52Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ef20a91
- Parents:
- 9242ad9
- git-author:
- Jiri Svoboda <jiri@…> (2020-05-21 17:38:41)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-05-22 10:38:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/test/window.c
r9242ad9 r9901f267 36 36 #include "../client.h" 37 37 #include "../display.h" 38 #include "../seat.h" 38 39 #include "../window.h" 39 40 … … 55 56 ds_display_t *disp; 56 57 ds_client_t *client; 58 ds_seat_t *seat; 57 59 ds_window_t *wnd; 58 60 display_wnd_params_t params; … … 65 67 66 68 rc = ds_client_create(disp, NULL, NULL, &client); 69 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 70 71 rc = ds_seat_create(disp, &seat); 67 72 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 68 73 … … 89 94 90 95 ds_window_destroy(wnd); 96 ds_seat_destroy(seat); 91 97 ds_client_destroy(client); 92 98 ds_display_destroy(disp); … … 288 294 ds_display_t *disp; 289 295 ds_client_t *client; 296 ds_seat_t *seat; 290 297 ds_window_t *wnd; 291 298 display_wnd_params_t params; … … 300 307 301 308 rc = ds_client_create(disp, NULL, NULL, &client); 309 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 310 311 rc = ds_seat_create(disp, &seat); 302 312 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 303 313 … … 321 331 322 332 ds_window_destroy(wnd); 333 ds_seat_destroy(seat); 323 334 ds_client_destroy(client); 324 335 ds_display_destroy(disp); … … 639 650 } 640 651 641 642 652 static errno_t dummy_set_color(void *arg, gfx_color_t *color) 643 653 {
Note:
See TracChangeset
for help on using the changeset viewer.