Lines Matching refs:test_str
824 char test_str[] = "€€€"; in ZTEST() local
830 test_str[strlen(test_str) - 1] = '\0'; in ZTEST()
831 zassert(strcmp(test_str, "€€€") != 0, "Failed to do invalid truncation"); in ZTEST()
832 zassert(strcmp(test_str, expected_result) != 0, "Failed to do invalid truncation"); in ZTEST()
834 utf8_trunc(test_str); in ZTEST()
836 zassert_str_equal(test_str, expected_result, "Failed to truncate"); in ZTEST()
842 char test_str[] = "€€€"; in ZTEST() local
845 utf8_trunc(test_str); in ZTEST()
847 zassert_str_equal(test_str, expected_result, "Failed to truncate"); in ZTEST()
853 char test_str[] = ""; in ZTEST() local
856 utf8_trunc(test_str); in ZTEST()
858 zassert_str_equal(test_str, expected_result, "Failed to truncate"); in ZTEST()
867 char test_str[] = "€€€"; in ZTEST() local
870 utf8_lcpy(dest_str, test_str, sizeof((dest_str))); in ZTEST()
879 char test_str[] = "€€€"; in ZTEST() local
882 utf8_lcpy(dest_str, test_str, sizeof((dest_str))); in ZTEST()
891 char test_str[] = ""; in ZTEST() local
894 utf8_lcpy(dest_str, test_str, sizeof((dest_str))); in ZTEST()
902 char test_str[] = ""; in ZTEST() local
905 utf8_lcpy(dest_str, test_str, 0); in ZTEST()
913 char test_str[] = "DEAD"; in ZTEST() local
916 utf8_lcpy(dest_str, test_str, sizeof(dest_str)); in ZTEST()