Searched refs:TEST_ASSERT_EQUAL_PTR (Results 1 – 12 of 12) sorted by relevance
/lvgl-latest/tests/src/test_cases/ |
D | test_group.c | 34 TEST_ASSERT_EQUAL_PTR(lv_group_by_index(2), NULL); in test_group_by_index() 35 TEST_ASSERT_EQUAL_PTR(lv_group_by_index(0), group_1); in test_group_by_index() 36 TEST_ASSERT_EQUAL_PTR(lv_group_by_index(1), group_2); in test_group_by_index() 46 TEST_ASSERT_EQUAL_PTR(lv_group_get_obj_by_index(group, 0), NULL); in test_group_obj_by_index() 53 TEST_ASSERT_EQUAL_PTR(lv_group_get_obj_by_index(group, 0), obj_0); in test_group_obj_by_index() 54 TEST_ASSERT_EQUAL_PTR(lv_group_get_obj_by_index(group, 1), obj_1); in test_group_obj_by_index() 57 TEST_ASSERT_EQUAL_PTR(lv_group_get_obj_by_index(group, 0), obj_1); in test_group_obj_by_index() 58 TEST_ASSERT_EQUAL_PTR(lv_group_get_obj_by_index(group, 1), NULL); in test_group_obj_by_index()
|
D | test_observer.c | 48 TEST_ASSERT_EQUAL_PTR(NULL, observer); /*The observer must be NULL*/ in test_observer_add_remove() 137 TEST_ASSERT_EQUAL_PTR(&a[0], lv_subject_get_pointer(&subject)); in test_observer_pointer() 138 TEST_ASSERT_EQUAL_PTR(&a[0], lv_subject_get_previous_pointer(&subject)); in test_observer_pointer() 141 TEST_ASSERT_EQUAL_PTR(&a[1], lv_subject_get_pointer(&subject)); in test_observer_pointer() 142 TEST_ASSERT_EQUAL_PTR(&a[0], lv_subject_get_previous_pointer(&subject)); in test_observer_pointer() 145 TEST_ASSERT_EQUAL_PTR(&a[2], lv_subject_get_pointer(&subject)); in test_observer_pointer() 146 TEST_ASSERT_EQUAL_PTR(&a[1], lv_subject_get_previous_pointer(&subject)); in test_observer_pointer() 150 TEST_ASSERT_EQUAL_PTR(&a[2], lv_subject_get_pointer(&subject)); in test_observer_pointer() 151 TEST_ASSERT_EQUAL_PTR(&a[1], lv_subject_get_previous_pointer(&subject)); in test_observer_pointer() 154 TEST_ASSERT_EQUAL_PTR(&a[2], lv_subject_get_pointer(&subject)); in test_observer_pointer() [all …]
|
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_objid.c | 40 TEST_ASSERT_EQUAL_PTR(child, lv_obj_get_child_by_id(NULL, (void *)(lv_uintptr_t)1)); in test_obj_id_get_child() 41 TEST_ASSERT_EQUAL_PTR(grandchild, lv_obj_get_child_by_id(NULL, (void *)(lv_uintptr_t)2)); in test_obj_id_get_child()
|
D | test_animimg.c | 60 TEST_ASSERT_EQUAL_PTR(actual_dsc, anim_imgs); in test_animimg_get_src() 117 TEST_ASSERT_EQUAL_PTR(lv_obj_get_property(obj, LV_PROPERTY_ANIMIMAGE_SRC).ptr, anim_imgs); in test_animimg_property() 118 TEST_ASSERT_EQUAL_PTR(lv_animimg_get_src(obj), anim_imgs); in test_animimg_property()
|
D | test_keyboard.c | 53 TEST_ASSERT_EQUAL_PTR(test_area, lv_keyboard_get_textarea(obj)); in test_keyboard_properties() 54 TEST_ASSERT_EQUAL_PTR(test_area, lv_obj_get_property(obj, LV_PROPERTY_KEYBOARD_TEXTAREA).ptr); in test_keyboard_properties()
|
D | test_line.c | 154 TEST_ASSERT_EQUAL_PTR(points, lv_line_get_points(line)); in test_line_point_array_getters_and_setters() 161 TEST_ASSERT_EQUAL_PTR(points_mutable, lv_line_get_points(line)); in test_line_point_array_getters_and_setters() 162 TEST_ASSERT_EQUAL_PTR(points_mutable, lv_line_get_points_mutable(line)); in test_line_point_array_getters_and_setters()
|
D | test_obj_property.c | 58 TEST_ASSERT_EQUAL_PTR(&lv_font_montserrat_26, lv_obj_get_style_text_font(obj, LV_PART_MAIN)); in test_obj_property_set_get_should_match() 59 …TEST_ASSERT_EQUAL_PTR(&lv_font_montserrat_26, lv_obj_get_property(obj, LV_PROPERTY_STYLE_TEXT_FONT… in test_obj_property_set_get_should_match() 78 TEST_ASSERT_EQUAL_PTR(root, lv_obj_get_parent(obj)); in test_obj_property_set_get_should_match() 79 TEST_ASSERT_EQUAL_PTR(root, lv_obj_get_property(obj, LV_PROPERTY_OBJ_PARENT).ptr); in test_obj_property_set_get_should_match() 86 TEST_ASSERT_EQUAL_PTR(root, lv_obj_get_parent(img)); in test_obj_property_set_get_should_match() 87 TEST_ASSERT_EQUAL_PTR(root, lv_obj_get_property(img, LV_PROPERTY_OBJ_PARENT).ptr); in test_obj_property_set_get_should_match()
|
D | test_scale.c | 504 TEST_ASSERT_EQUAL_PTR(allocated_points_array, lv_line_get_points_mutable(line)); in test_scale_set_line_needle_value() 514 TEST_ASSERT_EQUAL_PTR(provided_points_array, lv_line_get_points_mutable(line)); in test_scale_set_line_needle_value() 523 TEST_ASSERT_EQUAL_PTR(allocated_points_array, lv_line_get_points_mutable(line)); in test_scale_set_line_needle_value()
|
D | test_span.c | 252 TEST_ASSERT_EQUAL_PTR(span_2, lv_spangroup_get_child(spangroup, span_2_idx)); in test_spangroup_get_child() 253 TEST_ASSERT_EQUAL_PTR(span_1, lv_spangroup_get_child(spangroup, span_1_idx)); in test_spangroup_get_child()
|
D | test_image.c | 461 TEST_ASSERT_EQUAL_PTR(lv_obj_get_property(obj, LV_PROPERTY_IMAGE_SRC).ptr, &test_arc_bg); in test_image_properties() 462 TEST_ASSERT_EQUAL_PTR(lv_image_get_src(obj), &test_arc_bg); in test_image_properties()
|
D | test_dropdown.c | 342 TEST_ASSERT_EQUAL_PTR(NULL, lv_dropdown_get_text(dd3)); in test_dropdown_render_1() 440 TEST_ASSERT_EQUAL_PTR(lv_screen_active(), lv_obj_get_parent(list)); in test_dropdown_should_list_on_top()
|
/lvgl-latest/tests/unity/ |
D | unity.h | 301 #define TEST_ASSERT_EQUAL_PTR(expected, actual) … macro
|