Home
last modified time | relevance | path

Searched refs:assertEqualWString (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_entry.c180 assertEqualWString(archive_entry_gname_w(e), L"group"); in DEFINE_TEST()
183 assertEqualWString(archive_entry_gname_w(e), L"wgroup"); in DEFINE_TEST()
185 assertEqualWString(archive_entry_gname_w(e), L"wgroup"); in DEFINE_TEST()
190 assertEqualWString(archive_entry_gname_w(e), L"group"); in DEFINE_TEST()
194 assertEqualWString(archive_entry_gname_w(e), L"group2"); in DEFINE_TEST()
201 assertEqualWString(archive_entry_hardlink_w(e), L"hardlinkname"); in DEFINE_TEST()
205 assertEqualWString(archive_entry_hardlink_w(e), L"hardlinkname2"); in DEFINE_TEST()
210 assertEqualWString(archive_entry_hardlink_w(e), L"hardlinkname2"); in DEFINE_TEST()
213 assertEqualWString(archive_entry_hardlink_w(e), NULL); in DEFINE_TEST()
217 assertEqualWString(archive_entry_hardlink_w(e), L"whardlink"); in DEFINE_TEST()
[all …]
H A Dtest_pax_filename_encoding.c293 assertEqualWString(badname, archive_entry_pathname_w(entry));
299 assertEqualWString(badname, archive_entry_gname_w(entry));
305 assertEqualWString(badname, archive_entry_uname_w(entry));
311 assertEqualWString(badname, archive_entry_hardlink_w(entry));
317 assertEqualWString(badname, archive_entry_symlink_w(entry));
318 assertEqualWString(NULL, archive_entry_hardlink_w(entry));
715 assertEqualWString(L"\u4f60\u597d.txt", archive_entry_pathname_w(entry)); in DEFINE_TEST()
719 assertEqualWString(L"\u043f\u0440\u0438/", archive_entry_pathname_w(entry)); in DEFINE_TEST()
723 assertEqualWString(L"\u518d\u89c1.txt", archive_entry_pathname_w(entry)); in DEFINE_TEST()
724 assertEqualWString(L"\u4f60\u597d.txt", archive_entry_symlink_w(entry)); in DEFINE_TEST()
[all …]
H A Dtest_archive_string_conversion.c416 assertEqualWString(wc_nfc, wp); in test_archive_string_normalization_nfc()
427 assertEqualWString(wc_nfc, wp); in test_archive_string_normalization_nfc()
438 assertEqualWString(wc_nfc, wp); in test_archive_string_normalization_nfc()
647 assertEqualWString(wc_nfc, wp); in test_archive_string_normalization_mac_nfd()
651 assertEqualWString(wc_nfd, wp); in test_archive_string_normalization_mac_nfd()
665 assertEqualWString(wc_nfc, wp); in test_archive_string_normalization_mac_nfd()
669 assertEqualWString(wc_nfd, wp); in test_archive_string_normalization_mac_nfd()
683 assertEqualWString(wc_nfc, wp); in test_archive_string_normalization_mac_nfd()
687 assertEqualWString(wc_nfd, wp); in test_archive_string_normalization_mac_nfd()
802 assertEqualWString(wexp, wp); in check_string()
[all …]
H A Dtest_7zip_filename_encoding.c87 assertEqualWString(L"\u8868.txt", archive_entry_symlink_w(entry)); in DEFINE_TEST()
91 assertEqualWString(L"\u8868.txt", archive_entry_pathname_w(entry)); in DEFINE_TEST()
96 assertEqualWString(L"\u8868/", archive_entry_pathname_w(entry)); in DEFINE_TEST()
H A Dtest_link_resolver.c232 assertEqualWString(L"\u4f60\u597d.txt", archive_entry_pathname_w(entry)); in DEFINE_TEST()
233 assertEqualWString(NULL, archive_entry_hardlink_w(entry)); in DEFINE_TEST()
242 assertEqualWString(L"\u518d\u89c1.txt", archive_entry_pathname_w(entry)); in DEFINE_TEST()
243 assertEqualWString(L"\u4f60\u597d.txt", archive_entry_hardlink_w(entry)); in DEFINE_TEST()
H A Dtest_open_filename.c165 assertEqualWString(L"file", archive_entry_pathname_w(ae)); in test_open_filename_wcs()
172 assertEqualWString(L"file2", archive_entry_pathname_w(ae)); in test_open_filename_wcs()
H A Dtest_read_format_rar5.c825 assertEqualWString(emoji_name, archive_entry_pathname_w(ae)); in DEFINE_TEST()
828 assertEqualWString(circle_name, archive_entry_pathname_w(ae)); in DEFINE_TEST()
830 assertEqualWString(emoji_name, archive_entry_hardlink_w(ae)); in DEFINE_TEST()
832 assertEqualWString(italic_name, archive_entry_pathname_w(ae)); in DEFINE_TEST()
834 assertEqualWString(emoji_name, archive_entry_symlink_w(ae)); in DEFINE_TEST()
H A Dtest_acl_text.c263 assertEqualWString(wtext, ws); in compare_acl_text()
H A Dtest_read_disk_directory_traversals.c448 assertEqualWString(archive_entry_pathname_w(ae), fullpath); in test_basic()
482 assertEqualWString(archive_entry_pathname_w(ae), fullpath); in test_basic()
495 assertEqualWString(archive_entry_pathname_w(ae), fullpath); in test_basic()
505 assertEqualWString(archive_entry_pathname_w(ae), fullpath); in test_basic()
H A Dtest_archive_match_path.c422 assertEqualWString(L"^a1*", wp); in test_exclusion_and_inclusion()
/freebsd/contrib/libarchive/test_utils/
H A Dtest_common.h180 #define assertEqualWString(v1,v2) \ macro