Changeset 7470d97 in mainline for uspace/lib/ui/test
- Timestamp:
- 2021-04-30T15:05:06Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 051349b
- Parents:
- 252d03c
- Location:
- uspace/lib/ui/test
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/checkbox.c
r252d03c r7470d97 41 41 PCUT_TEST_SUITE(checkbox); 42 42 43 static errno_t testgc_set_clip_rect(void *, gfx_rect_t *); 43 44 static errno_t testgc_set_color(void *, gfx_color_t *); 44 45 static errno_t testgc_fill_rect(void *, gfx_rect_t *); … … 51 52 52 53 static gfx_context_ops_t ops = { 54 .set_clip_rect = testgc_set_clip_rect, 53 55 .set_color = testgc_set_color, 54 56 .fill_rect = testgc_fill_rect, … … 481 483 rc = gfx_context_delete(gc); 482 484 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 485 } 486 487 static errno_t testgc_set_clip_rect(void *arg, gfx_rect_t *rect) 488 { 489 (void) arg; 490 (void) rect; 491 return EOK; 483 492 } 484 493 -
uspace/lib/ui/test/entry.c
r252d03c r7470d97 41 41 PCUT_TEST_SUITE(entry); 42 42 43 static errno_t testgc_set_clip_rect(void *, gfx_rect_t *); 43 44 static errno_t testgc_set_color(void *, gfx_color_t *); 44 45 static errno_t testgc_fill_rect(void *, gfx_rect_t *); … … 51 52 52 53 static gfx_context_ops_t ops = { 54 .set_clip_rect = testgc_set_clip_rect, 53 55 .set_color = testgc_set_color, 54 56 .fill_rect = testgc_fill_rect, … … 209 211 rc = gfx_context_delete(gc); 210 212 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 213 } 214 215 static errno_t testgc_set_clip_rect(void *arg, gfx_rect_t *rect) 216 { 217 (void) arg; 218 (void) rect; 219 return EOK; 211 220 } 212 221 -
uspace/lib/ui/test/label.c
r252d03c r7470d97 41 41 PCUT_TEST_SUITE(label); 42 42 43 static errno_t testgc_set_clip_rect(void *, gfx_rect_t *); 43 44 static errno_t testgc_set_color(void *, gfx_color_t *); 44 45 static errno_t testgc_fill_rect(void *, gfx_rect_t *); … … 51 52 52 53 static gfx_context_ops_t ops = { 54 .set_clip_rect = testgc_set_clip_rect, 53 55 .set_color = testgc_set_color, 54 56 .fill_rect = testgc_fill_rect, … … 209 211 rc = gfx_context_delete(gc); 210 212 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 213 } 214 215 static errno_t testgc_set_clip_rect(void *arg, gfx_rect_t *rect) 216 { 217 (void) arg; 218 (void) rect; 219 return EOK; 211 220 } 212 221 -
uspace/lib/ui/test/paint.c
r252d03c r7470d97 1 1 /* 2 * Copyright (c) 202 0Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 39 39 PCUT_TEST_SUITE(paint); 40 40 41 static errno_t testgc_set_clip_rect(void *, gfx_rect_t *); 41 42 static errno_t testgc_set_color(void *, gfx_color_t *); 42 43 static errno_t testgc_fill_rect(void *, gfx_rect_t *); … … 48 49 49 50 static gfx_context_ops_t ops = { 51 .set_clip_rect = testgc_set_clip_rect, 50 52 .set_color = testgc_set_color, 51 53 .fill_rect = testgc_fill_rect, … … 165 167 rc = gfx_context_delete(gc); 166 168 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 169 } 170 171 static errno_t testgc_set_clip_rect(void *arg, gfx_rect_t *rect) 172 { 173 (void) arg; 174 (void) rect; 175 return EOK; 167 176 } 168 177 -
uspace/lib/ui/test/pbutton.c
r252d03c r7470d97 41 41 PCUT_TEST_SUITE(pbutton); 42 42 43 static errno_t testgc_set_clip_rect(void *, gfx_rect_t *); 43 44 static errno_t testgc_set_color(void *, gfx_color_t *); 44 45 static errno_t testgc_fill_rect(void *, gfx_rect_t *); … … 51 52 52 53 static gfx_context_ops_t ops = { 54 .set_clip_rect = testgc_set_clip_rect, 53 55 .set_color = testgc_set_color, 54 56 .fill_rect = testgc_fill_rect, … … 488 490 rc = gfx_context_delete(gc); 489 491 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 492 } 493 494 static errno_t testgc_set_clip_rect(void *arg, gfx_rect_t *rect) 495 { 496 (void) arg; 497 (void) rect; 498 return EOK; 490 499 } 491 500 -
uspace/lib/ui/test/rbutton.c
r252d03c r7470d97 41 41 PCUT_TEST_SUITE(rbutton); 42 42 43 static errno_t testgc_set_clip_rect(void *, gfx_rect_t *); 43 44 static errno_t testgc_set_color(void *, gfx_color_t *); 44 45 static errno_t testgc_fill_rect(void *, gfx_rect_t *); … … 51 52 52 53 static gfx_context_ops_t ops = { 54 .set_clip_rect = testgc_set_clip_rect, 53 55 .set_color = testgc_set_color, 54 56 .fill_rect = testgc_fill_rect, … … 553 555 rc = gfx_context_delete(gc); 554 556 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 557 } 558 559 static errno_t testgc_set_clip_rect(void *arg, gfx_rect_t *rect) 560 { 561 (void) arg; 562 (void) rect; 563 return EOK; 555 564 } 556 565 -
uspace/lib/ui/test/slider.c
r252d03c r7470d97 41 41 PCUT_TEST_SUITE(slider); 42 42 43 static errno_t testgc_set_clip_rect(void *, gfx_rect_t *); 43 44 static errno_t testgc_set_color(void *, gfx_color_t *); 44 45 static errno_t testgc_fill_rect(void *, gfx_rect_t *); … … 51 52 52 53 static gfx_context_ops_t ops = { 54 .set_clip_rect = testgc_set_clip_rect, 53 55 .set_color = testgc_set_color, 54 56 .fill_rect = testgc_fill_rect, … … 428 430 rc = gfx_context_delete(gc); 429 431 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 432 } 433 434 static errno_t testgc_set_clip_rect(void *arg, gfx_rect_t *rect) 435 { 436 (void) arg; 437 (void) rect; 438 return EOK; 430 439 } 431 440 -
uspace/lib/ui/test/wdecor.c
r252d03c r7470d97 41 41 PCUT_TEST_SUITE(wdecor); 42 42 43 static errno_t testgc_set_clip_rect(void *, gfx_rect_t *); 43 44 static errno_t testgc_set_color(void *, gfx_color_t *); 44 45 static errno_t testgc_fill_rect(void *, gfx_rect_t *); … … 51 52 52 53 static gfx_context_ops_t ops = { 54 .set_clip_rect = testgc_set_clip_rect, 53 55 .set_color = testgc_set_color, 54 56 .fill_rect = testgc_fill_rect, … … 845 847 } 846 848 849 static errno_t testgc_set_clip_rect(void *arg, gfx_rect_t *rect) 850 { 851 (void) arg; 852 (void) rect; 853 return EOK; 854 } 855 847 856 static errno_t testgc_set_color(void *arg, gfx_color_t *color) 848 857 {
Note:
See TracChangeset
for help on using the changeset viewer.