scuffed-code/icu4c/source/test/intltest/ucdtest.h
Helena Chapman 3aaa52af8d ICU-161 updated the copyright notices.
X-SVN-Rev: 596
2000-01-15 02:00:06 +00:00

57 lines
1.5 KiB
C++

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-1999, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#include "intltest.h"
/**
* Test API and functionality of class Unicode
**/
class UnicodeTest: public IntlTest {
public:
UnicodeTest();
~UnicodeTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
/**
* Test methods toUpperCase() and toLowerCase()
**/
void TestUpperLower(void);
/**
* Test methods isLetter() and isDigit()
**/
void TestLetterNumber(void);
/**
* Tests methods isControl() and isPrintable()
**/
void TestControlPrint(void);
/**
* Tests methods isJavaIdentifierStart(), isJavaIdentifierPart(),
* isUnicodeIdentifierStart() and isUnicodeIdentifierPart()
**/
void TestIdentifier(void);
/**
* Tests methods isDefined(), isBaseForm(), isSpaceChar() and getCellWidth()
**/
void TestMisc(void);
/**
* tests methods getType(), isTitleCase(), and toTitleCase()
* as well as characterDirection()
**/
void TestUnicodeData(void);
private:
/**
* internal utility used by TestUnicodeData
**/
int32_t MakeProp(char* str);
/**
* internal utility used by TestUnicodeData
**/
int32_t MakeDir(char* str);
};