Lines Matching defs:TestIDNA
8 * file name: testidna.cpp
29 #include "testidna.h"
415 void TestIDNA::debug(const UChar* src, int32_t srcLength, int32_t options){
450 void TestIDNA::testAPI(const UChar* src, const UChar* expected, const char* testName,
646 void TestIDNA::testCompare(const UChar* s1, int32_t s1Len,
692 void TestIDNA::testToASCII(const char* testName, TestFunc func){
704 void TestIDNA::testToUnicode(const char* testName, TestFunc func){
716 void TestIDNA::testIDNToUnicode(const char* testName, TestFunc func){
742 void TestIDNA::testIDNToASCII(const char* testName, TestFunc func){
768 void TestIDNA::testCompare(const char* testName, CompareFunc func){
898 void TestIDNA::testErrorCases(const char* IDNToASCIIName, TestFunc IDNToASCII,
936 void TestIDNA::testConformance(const char* toASCIIName, TestFunc toASCII,
993 void TestIDNA::testChaining(const UChar* src,int32_t numIterations,const char* testName,
1150 void TestIDNA::testChaining(const char* toASCIIName, TestFunc toASCII,
1165 void TestIDNA::testRootLabelSeparator(const char* testName, CompareFunc func,
1241 void TestIDNA::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par)
1283 void TestIDNA::TestToASCII(){
1286 void TestIDNA::TestToUnicode(){
1289 void TestIDNA::TestIDNToASCII(){
1292 void TestIDNA::TestIDNToUnicode(){
1295 void TestIDNA::TestCompare(){
1298 void TestIDNA::TestErrorCases(){
1302 void TestIDNA::TestRootLabelSeparator(){
1308 void TestIDNA::TestChaining(){
1363 UnicodeString TestIDNA::testCompareReferenceImpl(UnicodeString& src,
1420 void TestIDNA::testCompareReferenceImpl(const UChar* src, int32_t srcLen){
1470 void TestIDNA::TestIDNAMonkeyTest(){
1522 void TestIDNA::TestCompareReferenceImpl(){
1558 void TestIDNA::TestRefIDNA(){
1585 void TestIDNA::TestDataFile(){
1588 TestIDNA::~TestIDNA(){
1595 NamePrepTransform* TestIDNA::gPrep = NULL;
1597 NamePrepTransform* TestIDNA::getInstance(UErrorCode& status){
1598 if(TestIDNA::gPrep == NULL){
1600 TestIDNA::gPrep = NamePrepTransform::createInstance(parseError, status);
1601 if(TestIDNA::gPrep ==NULL){
1606 return TestIDNA::gPrep;