Changeset 8b22d44 in mainline for uspace/lib/ui/test/pbutton.c
- Timestamp:
- 2022-05-20T12:05:26Z (3 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0415776
- Parents:
- ea9024d7
- git-author:
- Jiri Svoboda <jiri@…> (2022-05-19 18:05:08)
- git-committer:
- Jiri Svoboda <jiri@…> (2022-05-20 12:05:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/pbutton.c
rea9024d7 r8b22d44 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2022 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 133 133 } 134 134 135 /** Set flags sets internal field */ 136 PCUT_TEST(set_flags) 137 { 138 ui_pbutton_t *pbutton; 139 errno_t rc; 140 141 rc = ui_pbutton_create(NULL, "Hello", &pbutton); 142 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 143 144 ui_pbutton_set_flags(pbutton, ui_pbf_no_text_depress); 145 PCUT_ASSERT_INT_EQUALS(ui_pbf_no_text_depress, pbutton->flags); 146 147 ui_pbutton_destroy(pbutton); 148 } 149 135 150 /** Set button rectangle sets internal field */ 136 151 PCUT_TEST(set_rect)
Note:
See TracChangeset
for help on using the changeset viewer.