|
Ada 4.1.1
Fast spec-compliant URL parser
|
#include "gtest/gtest.h"#include <string>#include "idna.h"#include "ada/idna/limits.h"#include "../src/table_store.hpp"Go to the source code of this file.
Functions | |
| TEST (Safety, RejectsOverlongDomainInput) | |
| TEST (Safety, ToAsciiAcceptsLongAsciiInput) | |
| TEST (Safety, ToAsciiIdempotentAcrossLimit) | |
| TEST (Safety, RejectsInvalidUtf8) | |
| TEST (Safety, ToAsciiBoolOverload) | |
| TEST (Safety, ToAsciiToUnicodeRoundTripAscii) | |
| TEST (Safety, ToAsciiToUnicodeRoundTripUnicode) | |
| TEST (Safety, TablesReadyAfterUse) | |
| TEST (Safety, IsAlreadyNfc) | |
| TEST (Safety, IsAlreadyNfcCompositionExclusions) | |
| TEST (Safety, ComposesUnicode16Compositions) | |
| TEST (Safety, ComposesHangulLvPlusTrailingJamo) | |
| TEST | ( | Safety | , |
| ComposesHangulLvPlusTrailingJamo | ) |
Definition at line 197 of file safety_tests.cpp.
References ada::idna::ensure_tables(), ada::idna::is_already_nfc(), and ada::idna::normalize().
| TEST | ( | Safety | , |
| ComposesUnicode16Compositions | ) |
Definition at line 162 of file safety_tests.cpp.
References ada::idna::ensure_tables(), ada::idna::is_already_nfc(), and ada::idna::normalize().
| TEST | ( | Safety | , |
| IsAlreadyNfc | ) |
Definition at line 121 of file safety_tests.cpp.
References ada::idna::ensure_tables(), and ada::idna::is_already_nfc().
| TEST | ( | Safety | , |
| IsAlreadyNfcCompositionExclusions | ) |
Definition at line 132 of file safety_tests.cpp.
References ada::idna::ensure_tables(), ada::idna::is_already_nfc(), and ada::idna::normalize().
| TEST | ( | Safety | , |
| RejectsInvalidUtf8 | ) |
Definition at line 50 of file safety_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | Safety | , |
| RejectsOverlongDomainInput | ) |
Definition at line 9 of file safety_tests.cpp.
References ada::idna::max_domain_input_bytes, ada::idna::to_ascii(), and ada::idna::to_unicode().
| TEST | ( | Safety | , |
| TablesReadyAfterUse | ) |
Definition at line 111 of file safety_tests.cpp.
References ada::idna::tables_are_ready(), and ada::idna::to_ascii().
| TEST | ( | Safety | , |
| ToAsciiAcceptsLongAsciiInput | ) |
Definition at line 29 of file safety_tests.cpp.
References ada::idna::max_domain_input_bytes, and ada::idna::to_ascii().
| TEST | ( | Safety | , |
| ToAsciiBoolOverload | ) |
Definition at line 65 of file safety_tests.cpp.
References ada::idna::to_ascii().
| TEST | ( | Safety | , |
| ToAsciiIdempotentAcrossLimit | ) |
Definition at line 38 of file safety_tests.cpp.
References ada::idna::max_domain_input_bytes, and ada::idna::to_ascii().
| TEST | ( | Safety | , |
| ToAsciiToUnicodeRoundTripAscii | ) |
Definition at line 77 of file safety_tests.cpp.
References ada::idna::to_ascii(), and ada::idna::to_unicode().
| TEST | ( | Safety | , |
| ToAsciiToUnicodeRoundTripUnicode | ) |
Definition at line 93 of file safety_tests.cpp.
References ada::idna::to_ascii(), and ada::idna::to_unicode().