Changeset 4c6fd56 in mainline for uspace/app/taskbar/test/wndlist.c
- Timestamp:
- 2023-09-16T19:58:18Z (8 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7d7f5e3
- Parents:
- 6a0b2cc
- git-author:
- Jiri Svoboda <jiri@…> (2023-09-16 19:48:07)
- git-committer:
- Jiri Svoboda <jiri@…> (2023-09-16 19:58:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskbar/test/wndlist.c
r6a0b2cc r4c6fd56 139 139 ui_fixed_t *fixed = NULL; 140 140 wndlist_t *wndlist; 141 loc_srv_t *srv; 141 142 142 143 /* Set up a test WM service */ … … 145 146 146 147 // FIXME This causes this test to be non-reentrant! 147 rc = loc_server_register(test_wndmgt_server );148 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 149 150 rc = loc_service_register( test_wndmgt_svc, &sid);148 rc = loc_server_register(test_wndmgt_server, &srv); 149 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 150 151 rc = loc_service_register(srv, test_wndmgt_svc, &sid); 151 152 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 152 153 … … 177 178 ui_destroy(ui); 178 179 179 rc = loc_service_unregister(sid); 180 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 180 rc = loc_service_unregister(srv, sid); 181 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 182 loc_server_unregister(srv); 181 183 } 182 184
Note:
See TracChangeset
for help on using the changeset viewer.