Changeset 9b502dd in mainline for uspace/lib/display/test/display.c
- Timestamp:
- 2020-03-15T18:16:58Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b3825aa
- Parents:
- 03c8081
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/display/test/display.c
r03c8081 r9b502dd 97 97 bool window_create_called; 98 98 gfx_rect_t create_rect; 99 gfx_coord2_t create_min_size; 99 100 bool window_destroy_called; 100 101 sysarg_t destroy_wnd_id; … … 183 184 params.rect.p0.x = 100; 184 185 params.rect.p0.y = 100; 186 params.min_size.x = 11; 187 params.min_size.y = 12; 185 188 186 189 rc = display_window_create(disp, ¶ms, &test_display_wnd_cb, … … 191 194 PCUT_ASSERT_EQUALS(params.rect.p1.x, resp.create_rect.p1.x); 192 195 PCUT_ASSERT_EQUALS(params.rect.p1.y, resp.create_rect.p1.y); 196 PCUT_ASSERT_EQUALS(params.min_size.x, resp.create_min_size.x); 197 PCUT_ASSERT_EQUALS(params.min_size.y, resp.create_min_size.y); 193 198 PCUT_ASSERT_ERRNO_VAL(resp.rc, rc); 194 199 PCUT_ASSERT_NULL(wnd); … … 1238 1243 resp->window_create_called = true; 1239 1244 resp->create_rect = params->rect; 1245 resp->create_min_size = params->min_size; 1240 1246 if (resp->rc == EOK) 1241 1247 *rwnd_id = resp->wnd_id;
Note:
See TracChangeset
for help on using the changeset viewer.