Changeset d8ddf7a in mainline for uspace/lib/ui/test/image.c
- Timestamp:
- 2020-11-22T17:52:37Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2d879f7
- Parents:
- 4f64b7b8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/image.c
r4f64b7b8 rd8ddf7a 110 110 } 111 111 112 /** Set image flags sets internal field */ 113 PCUT_TEST(set_flags) 114 { 115 ui_image_t *image = NULL; 116 gfx_rect_t brect; 117 errno_t rc; 118 119 rc = ui_image_create(NULL, NULL, &brect, &image); 120 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 121 PCUT_ASSERT_NOT_NULL(image); 122 123 PCUT_ASSERT_INT_EQUALS(0, image->flags); 124 125 ui_image_set_flags(image, ui_imgf_frame); 126 PCUT_ASSERT_INT_EQUALS(ui_imgf_frame, image->flags); 127 128 ui_image_destroy(image); 129 } 130 112 131 /** Set image bitmap */ 113 132 PCUT_TEST(set_bmp)
Note:
See TracChangeset
for help on using the changeset viewer.