Changeset dc5c303 in mainline for uspace/app/taskbar/test/wndlist.c
- Timestamp:
- 2023-12-28T13:59:23Z (14 months ago)
- Children:
- 6b66de6b
- Parents:
- 42c2e65 (diff), f87ff8e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
- git-committer:
- GitHub <noreply@…> (2023-12-28 13:59:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskbar/test/wndlist.c
r42c2e65 rdc5c303 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.