Changeset f1f433d in mainline for uspace/lib/ui/test/pbutton.c
- Timestamp:
- 2022-11-04T20:54:04Z (18 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a6d44b7
- Parents:
- fc00f0d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/pbutton.c
rfc00f0d rf1f433d 190 190 } 191 191 192 /** Set caption sets internal field */ 193 PCUT_TEST(set_caption) 194 { 195 ui_pbutton_t *pbutton; 196 errno_t rc; 197 198 rc = ui_pbutton_create(NULL, "Hello", &pbutton); 199 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 200 201 PCUT_ASSERT_STR_EQUALS("Hello", pbutton->caption); 202 203 rc = ui_pbutton_set_caption(pbutton, "World"); 204 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 205 206 PCUT_ASSERT_STR_EQUALS("World", pbutton->caption); 207 208 ui_pbutton_destroy(pbutton); 209 } 210 192 211 /** Paint button */ 193 212 PCUT_TEST(paint)
Note:
See TracChangeset
for help on using the changeset viewer.