Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_EQUAL_STRING (Results 1 – 6 of 6) sorted by relevance

/lvgl-3.7.0/tests/src/test_cases/
Dtest_textarea.c27 TEST_ASSERT_EQUAL_STRING(textarea_default_text, lv_textarea_get_placeholder_text(textarea)); in test_textarea_should_have_valid_documented_defualt_values()
28 TEST_ASSERT_EQUAL_STRING(textarea_default_text, lv_textarea_get_text(textarea)); in test_textarea_should_have_valid_documented_defualt_values()
41 TEST_ASSERT_EQUAL_STRING(text, lv_textarea_get_text(textarea)); in test_textarea_should_return_actual_text_when_password_mode_is_enabled()
75 TEST_ASSERT_EQUAL_STRING(text, lv_textarea_get_placeholder_text(textarea)); in test_textarea_should_update_placeholder_text()
79 TEST_ASSERT_EQUAL_STRING(new_placeholder, lv_textarea_get_placeholder_text(textarea)); in test_textarea_should_update_placeholder_text()
83 TEST_ASSERT_EQUAL_STRING("", lv_textarea_get_placeholder_text(textarea)); in test_textarea_should_update_placeholder_text()
93 TEST_ASSERT_EQUAL_STRING(accepted_list, lv_textarea_get_text(textarea)); in test_textarea_should_keep_only_accepted_chars()
101 TEST_ASSERT_EQUAL_STRING(textarea_default_text, lv_textarea_get_text(textarea)); in test_textarea_in_one_line_mode_should_ignore_line_break_characters()
104 TEST_ASSERT_EQUAL_STRING(textarea_default_text, lv_textarea_get_text(textarea)); in test_textarea_in_one_line_mode_should_ignore_line_break_characters()
Dtest_dropdown.c57 TEST_ASSERT_EQUAL_STRING("Option 1\nOption 2\nOption 3", lv_dropdown_get_options(dd1)); in test_dropdown_set_options()
61 TEST_ASSERT_EQUAL_STRING("a1\nb2\nc3\nd4\ne5\nf6", lv_dropdown_get_options(dd1)); in test_dropdown_set_options()
72 TEST_ASSERT_EQUAL_STRING("x0\na1\nb2\nc3\nd4\ne5\nf6", lv_dropdown_get_options(dd1)); in test_dropdown_set_options()
76 TEST_ASSERT_EQUAL_STRING("x0\na1\nb2\ny0\nc3\nd4\ne5\nf6", lv_dropdown_get_options(dd1)); in test_dropdown_set_options()
80 TEST_ASSERT_EQUAL_STRING("x0\na1\nb2\ny0\nc3\nd4\ne5\nf6\nz0", lv_dropdown_get_options(dd1)); in test_dropdown_set_options()
84 TEST_ASSERT_EQUAL_STRING("", lv_dropdown_get_options(dd1)); in test_dropdown_set_options()
90 TEST_ASSERT_EQUAL_STRING("a1\nb2\nc3\nd4\ne5\nf6", lv_dropdown_get_options(dd1)); in test_dropdown_set_options()
94 TEST_ASSERT_EQUAL_STRING("x0\na1\nb2\nc3\nd4\ne5\nf6", lv_dropdown_get_options(dd1)); in test_dropdown_set_options()
98 TEST_ASSERT_EQUAL_STRING("x0\na1\nb2\ny0\nc3\nd4\ne5\nf6", lv_dropdown_get_options(dd1)); in test_dropdown_set_options()
102 TEST_ASSERT_EQUAL_STRING("x0\na1\nb2\ny0\nc3\nd4\ne5\nf6\nz0", lv_dropdown_get_options(dd1)); in test_dropdown_set_options()
[all …]
Dtest_txt.c85 TEST_ASSERT_EQUAL_STRING("Hello World", target); in test_txt_should_insert_string_into_another()
98 TEST_ASSERT_EQUAL_STRING("Hello ", target); in test_txt_should_handle_null_pointers_when_inserting()
112 TEST_ASSERT_EQUAL_STRING("World", msg); in test_txt_cut_happy_path()
Dtest_checkbox.c59 TEST_ASSERT_EQUAL_STRING(default_text, lv_checkbox_get_text(checkbox)); in test_checkbox_should_have_default_text_when_created()
72 TEST_ASSERT_EQUAL_STRING(message, lv_checkbox_get_text(checkbox)); in test_checkbox_should_return_dinamically_allocated_text()
Dtest_table.c28 TEST_ASSERT_EQUAL_STRING(value, lv_table_get_cell_value(table, row, column)); in test_table_should_return_assigned_cell_value()
88 TEST_ASSERT_EQUAL_STRING("", lv_table_get_cell_value(table, 0, 0)); in test_table_cell_value_should_return_empty_string_when_cell_is_empty()
/lvgl-3.7.0/tests/unity/
Dunity.h292 #define TEST_ASSERT_EQUAL_STRING(expected, actual) … macro