Changeset 1c6c3e1d in mainline for uspace/lib/ui/test/ui.c
- Timestamp:
- 2023-10-22T17:55:33Z (17 months ago)
- Branches:
- ticket/834-toolchain-update
- Children:
- 350ec74
- Parents:
- 315d487 (diff), 133461c (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/ui.c
r315d487 r1c6c3e1d 1 1 /* 2 * Copyright (c) 202 2Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 69 69 } 70 70 71 /** ui_suspend() / ui_resume() do nothing if we don't have a console */ 71 /** ui_suspend() / ui_resume() do nothing if we don't have a console, 72 * ui_is_suspended() returns suspend status 73 */ 72 74 PCUT_TEST(suspend_resume) 73 75 { … … 79 81 PCUT_ASSERT_NOT_NULL(ui); 80 82 83 PCUT_ASSERT_FALSE(ui_is_suspended(ui)); 84 81 85 rc = ui_suspend(ui); 82 86 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 87 88 PCUT_ASSERT_TRUE(ui_is_suspended(ui)); 89 83 90 rc = ui_resume(ui); 84 91 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 92 93 PCUT_ASSERT_FALSE(ui_is_suspended(ui)); 85 94 86 95 ui_destroy(ui);
Note:
See TracChangeset
for help on using the changeset viewer.