Changeset b2d1df3 in mainline for uspace/srv/hid/display/test/window.c
- Timestamp:
- 2019-11-06T13:20:41Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 648e2ac
- Parents:
- be15256
- git-author:
- Jiri Svoboda <jiri@…> (2019-10-03 18:20:38)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-11-06 13:20:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/test/window.c
rbe15256 rb2d1df3 33 33 34 34 #include "../client.h" 35 #include "../display.h" 35 36 #include "../window.h" 36 37 … … 42 43 PCUT_TEST(window_get_ctx) 43 44 { 45 ds_display_t *disp; 44 46 ds_client_t *client; 45 47 ds_window_t *wnd; … … 47 49 errno_t rc; 48 50 49 rc = ds_client_create(NULL, NULL, NULL, &client); 51 rc = ds_display_create(NULL, &disp); 52 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 53 54 rc = ds_client_create(disp, NULL, NULL, &client); 50 55 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 51 56 … … 58 63 ds_window_delete(wnd); 59 64 ds_client_destroy(client); 65 ds_display_destroy(disp); 60 66 } 61 67
Note:
See TracChangeset
for help on using the changeset viewer.