]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/idnaconf.h
2 *******************************************************************************
4 * Copyright (C) 2005, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
9 * created on: 2005jun15
10 * created by: Raymond Yang
13 #ifndef IDNA_CONF_TEST_H
14 #define IDNA_CONF_TEST_H
17 #include "unicode/ustring.h"
20 class IdnaConfTest
: public IntlTest
{
22 void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
=NULL
);
24 virtual ~IdnaConfTest();
28 // for test file handling
33 UBool
ReadAndConvertFile();
35 UBool
ReadOneLine(UnicodeString
&);
37 // for parsing one test record
38 UnicodeString id
; // for debug & error output
39 UnicodeString namebase
;
40 UnicodeString namezone
;
41 int type
; // 0 toascii, 1 tounicode
42 int option
; // 0 UseSTD3ASCIIRules, 1 ALLOW_UNASSIGNED
43 int passfail
; // 0 pass, 1 fail
45 void ExplainCodePointTag(UnicodeString
& buf
);
49 #endif /*IDNA_CONF_TEST_H*/