Changeset 8965860c in mainline for uspace/lib/ui/test/ui.c
- Timestamp:
- 2022-03-23T18:35:16Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7ca7215
- Parents:
- d4ea1f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/ui.c
rd4ea1f6 r8965860c 1 1 /* 2 * Copyright (c) 202 0Jiri Svoboda2 * Copyright (c) 2022 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 169 169 } 170 170 171 /** ui_lock(), ui_unlock() */ 172 PCUT_TEST(lock_unlock) 173 { 174 ui_t *ui = NULL; 175 errno_t rc; 176 177 rc = ui_create_disp((display_t *)(-1), &ui); 178 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 179 PCUT_ASSERT_NOT_NULL(ui); 180 181 ui_lock(ui); 182 ui_unlock(ui); 183 184 ui_destroy(ui); 185 } 186 171 187 PCUT_EXPORT(ui);
Note:
See TracChangeset
for help on using the changeset viewer.