Changeset bd1f9a6d in mainline
- Timestamp:
- 2019-11-30T02:26:03Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 79949f3
- Parents:
- 94635b30
- Location:
- uspace/srv/hid/display
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/meson.build
r94635b30 rbd1f9a6d 47 47 'test/display.c', 48 48 'test/main.c', 49 'test/seat.c', 49 50 'test/window.c', 50 51 ) -
uspace/srv/hid/display/test/display.c
r94635b30 rbd1f9a6d 107 107 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 108 108 109 rc = ds_window_create(client, &w1); 110 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 111 109 112 rc = ds_window_create(client, &w0); 110 113 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 111 114 112 rc = ds_window_create(client, &w1); 113 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 115 wnd = ds_display_first_window(disp); 116 PCUT_ASSERT_EQUALS(w0, wnd); 117 118 wnd = ds_display_next_window(wnd); 119 PCUT_ASSERT_EQUALS(w1, wnd); 120 121 wnd = ds_display_next_window(wnd); 122 PCUT_ASSERT_NULL(wnd); 114 123 115 124 wnd = ds_display_find_window(disp, w0->id); … … 122 131 PCUT_ASSERT_NULL(wnd); 123 132 124 wnd = ds_display_find_window(disp, w 1->id + 1);133 wnd = ds_display_find_window(disp, w0->id + 1); 125 134 PCUT_ASSERT_NULL(wnd); 126 135
Note:
See TracChangeset
for help on using the changeset viewer.