Changeset c632c96 in mainline for uspace/lib/ui/test/ui.c
- Timestamp:
- 2021-10-25T00:32:45Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39ab17c
- Parents:
- f59212cc
- git-author:
- Jiri Svoboda <jiri@…> (2021-10-20 22:22:04)
- git-committer:
- jxsvoboda <5887334+jxsvoboda@…> (2021-10-25 00:32:45)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/ui.c
rf59212cc rc632c96 67 67 { 68 68 ui_destroy(NULL); 69 } 70 71 /** ui_suspend() / ui_resume() do nothing if we don't have a console */ 72 PCUT_TEST(suspend_resume) 73 { 74 ui_t *ui = NULL; 75 errno_t rc; 76 77 rc = ui_create_disp(NULL, &ui); 78 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 79 PCUT_ASSERT_NOT_NULL(ui); 80 81 rc = ui_suspend(ui); 82 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 83 rc = ui_resume(ui); 84 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 85 86 ui_destroy(ui); 69 87 } 70 88
Note:
See TracChangeset
for help on using the changeset viewer.