Lines Matching defs:TestIDNA
10 * file name: testidna.cpp
33 #include "testidna.h"
419 void TestIDNA::debug(const UChar* src, int32_t srcLength, int32_t options){
454 void TestIDNA::testAPI(const UChar* src, const UChar* expected, const char* testName,
654 void TestIDNA::testCompare(const UChar* s1, int32_t s1Len,
700 void TestIDNA::testToASCII(const char* testName, TestFunc func){
712 void TestIDNA::testToUnicode(const char* testName, TestFunc func){
724 void TestIDNA::testIDNToUnicode(const char* testName, TestFunc func){
750 void TestIDNA::testIDNToASCII(const char* testName, TestFunc func){
776 void TestIDNA::testCompare(const char* testName, CompareFunc func){
906 void TestIDNA::testErrorCases(const char* IDNToASCIIName, TestFunc IDNToASCII,
944 void TestIDNA::testConformance(const char* toASCIIName, TestFunc toASCII,
1001 void TestIDNA::testChaining(const UChar* src,int32_t numIterations,const char* testName,
1158 void TestIDNA::testChaining(const char* toASCIIName, TestFunc toASCII,
1173 void TestIDNA::testRootLabelSeparator(const char* testName, CompareFunc func,
1249 void TestIDNA::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par)
1291 void TestIDNA::TestToASCII(){
1294 void TestIDNA::TestToUnicode(){
1297 void TestIDNA::TestIDNToASCII(){
1300 void TestIDNA::TestIDNToUnicode(){
1303 void TestIDNA::TestCompare(){
1310 void TestIDNA::TestErrorCases(){
1314 void TestIDNA::TestRootLabelSeparator(){
1324 void TestIDNA::TestChaining(){
1379 UnicodeString TestIDNA::testCompareReferenceImpl(UnicodeString& src,
1436 void TestIDNA::testCompareReferenceImpl(const UChar* src, int32_t srcLen){
1486 void TestIDNA::TestIDNAMonkeyTest(){
1538 void TestIDNA::TestCompareReferenceImpl(){
1574 void TestIDNA::TestRefIDNA(){
1597 void TestIDNA::TestDataFile(){
1600 TestIDNA::~TestIDNA(){
1607 NamePrepTransform* TestIDNA::gPrep = NULL;
1609 NamePrepTransform* TestIDNA::getInstance(UErrorCode& status){
1610 if(TestIDNA::gPrep == NULL){
1612 TestIDNA::gPrep = NamePrepTransform::createInstance(parseError, status);
1613 if(TestIDNA::gPrep ==NULL){
1618 return TestIDNA::gPrep;