Changeset b3c185b6 in mainline for uspace/srv/hid/display/test/window.c
- Timestamp:
- 2019-11-04T14:05:35Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be15256
- Parents:
- 22faaf2
- git-author:
- Jiri Svoboda <jiri@…> (2019-10-03 18:05:09)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-11-04 14:05:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/test/window.c
r22faaf2 rb3c185b6 32 32 #include <str.h> 33 33 34 #include "../ display.h"34 #include "../client.h" 35 35 #include "../window.h" 36 36 … … 42 42 PCUT_TEST(window_get_ctx) 43 43 { 44 ds_ display_t *disp;44 ds_client_t *client; 45 45 ds_window_t *wnd; 46 46 gfx_context_t *gc; 47 47 errno_t rc; 48 48 49 rc = ds_ display_create(NULL, &disp);49 rc = ds_client_create(NULL, NULL, &client); 50 50 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 51 51 52 rc = ds_window_create( disp, &wnd);52 rc = ds_window_create(client, &wnd); 53 53 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 54 54 … … 57 57 58 58 ds_window_delete(wnd); 59 ds_ display_destroy(disp);59 ds_client_destroy(client); 60 60 } 61 61
Note:
See TracChangeset
for help on using the changeset viewer.