|
Ada 4.1.1
Fast spec-compliant URL parser
|
#include <filesystem>#include <fstream>#include <sstream>#include <string>#include <vector>#include "ada/idna/punycode.h"#include "ada/idna/to_ascii.h"#include "ada/idna/unicode_transcoding.h"#include "gtest/gtest.h"Go to the source code of this file.
Classes | |
| class | IdnaFileTest |
Macros | |
| #define | UNICODE16 0 |
Functions | |
| TEST_F (IdnaFileTest, AlternatingFileConversions) | |
| TEST_F (IdnaFileTest, InvalidFileConversions) | |
| TEST (to_ascii_tests, special_cases) | |
| TEST (to_ascii_tests, nfc_reorders_precomposed_starter) | |
| TEST (to_ascii_tests, comma_test) | |
| TEST (to_ascii_tests, unicode17_cjk_extension_j) | |
| TEST (to_ascii_tests, unicode18_small_seal) | |
| TEST (to_ascii_tests, mixed_label_xn_prefix_regression) | |
| TEST (to_ascii_tests, bidi_regression) | |
| TEST (to_ascii_tests, contextj_joiner_does_not_bypass_bidi) | |
| TEST (to_ascii_tests, contextj_checks_every_joiner_and_bidi_rule_1) | |
| TEST (to_ascii_tests, bidi_domain_checks_every_label) | |
| TEST (to_ascii_tests, contextj_viramas_from_newer_unicode) | |
| TEST (to_ascii_tests, contextj_joining_types) | |
| TEST (to_ascii_tests, contextj_transparent_characters) | |
| static std::string | domain_to_ascii (std::string_view input) |
| TEST (to_ascii_tests, ascii_xn_carveout) | |
| TEST (to_ascii_tests, ada_wpt_urltestdata_carveout_hosts) | |
| TEST (to_ascii_tests, non_ascii_inputs_still_validated) | |
| TEST (to_ascii_tests, leading_combining_mark_from_newer_unicode) | |
| TEST (to_ascii_tests, rtl_characters_from_newer_unicode) | |
| TEST (to_ascii_tests, bidi_class_changes_in_unicode18) | |
| TEST (to_ascii_tests, unicode18_canonical_ordering) | |
| TEST (to_ascii_tests, unicode16_canonical_composition) | |
| #define UNICODE16 0 |
Definition at line 87 of file to_ascii_tests.cpp.
|
static |
Definition at line 362 of file to_ascii_tests.cpp.
References ada::idna::contains_forbidden_domain_code_point(), and ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| ada_wpt_urltestdata_carveout_hosts | ) |
Definition at line 513 of file to_ascii_tests.cpp.
References domain_to_ascii().
| TEST | ( | to_ascii_tests | , |
| ascii_xn_carveout | ) |
Definition at line 383 of file to_ascii_tests.cpp.
References domain_to_ascii(), and ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| bidi_class_changes_in_unicode18 | ) |
Definition at line 601 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| bidi_domain_checks_every_label | ) |
Definition at line 262 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| bidi_regression | ) |
Definition at line 181 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| comma_test | ) |
Definition at line 121 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| contextj_checks_every_joiner_and_bidi_rule_1 | ) |
Definition at line 220 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| contextj_joiner_does_not_bypass_bidi | ) |
Definition at line 205 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| contextj_joining_types | ) |
Definition at line 323 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| contextj_transparent_characters | ) |
Definition at line 347 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| contextj_viramas_from_newer_unicode | ) |
Definition at line 281 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| leading_combining_mark_from_newer_unicode | ) |
Definition at line 573 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| mixed_label_xn_prefix_regression | ) |
Definition at line 170 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| nfc_reorders_precomposed_starter | ) |
Definition at line 109 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| non_ascii_inputs_still_validated | ) |
Definition at line 540 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| rtl_characters_from_newer_unicode | ) |
Definition at line 585 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| special_cases | ) |
Definition at line 88 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| unicode16_canonical_composition | ) |
Definition at line 615 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| unicode17_cjk_extension_j | ) |
Definition at line 126 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| unicode18_canonical_ordering | ) |
Definition at line 608 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | to_ascii_tests | , |
| unicode18_small_seal | ) |
Definition at line 156 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST_F | ( | IdnaFileTest | , |
| AlternatingFileConversions | ) |
Definition at line 44 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().
| TEST_F | ( | IdnaFileTest | , |
| InvalidFileConversions | ) |
Definition at line 69 of file to_ascii_tests.cpp.
References ada::idna::to_ascii().