2000-01-15 02:00:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
|
|
|
* Copyright (c) 1997-1999, International Business Machines Corporation and
|
|
|
|
* others. All Rights Reserved.
|
|
|
|
********************************************************************/
|
|
|
|
/* file name: strtest.h
|
1999-11-22 20:29:44 +00:00
|
|
|
* encoding: US-ASCII
|
|
|
|
* tab size: 8 (not used)
|
|
|
|
* indentation:4
|
|
|
|
*
|
|
|
|
* created on: 1999nov22
|
|
|
|
* created by: Markus W. Scherer
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Test character- and string- related settings in utypes.h,
|
|
|
|
* macros in putil.h, and constructors in unistr.h .
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __STRTEST_H__
|
|
|
|
#define __STRTEST_H__
|
|
|
|
|
1999-12-28 23:57:50 +00:00
|
|
|
#include "unicode/utypes.h"
|
1999-11-22 20:29:44 +00:00
|
|
|
#include "intltest.h"
|
|
|
|
|
|
|
|
class StringTest : public IntlTest {
|
|
|
|
public:
|
|
|
|
StringTest() {}
|
|
|
|
~StringTest() {}
|
|
|
|
|
2000-08-14 21:42:36 +00:00
|
|
|
void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par=NULL);
|
1999-11-22 20:29:44 +00:00
|
|
|
|
|
|
|
private:
|
1999-12-22 22:57:04 +00:00
|
|
|
void TestEndian(void);
|
|
|
|
void TestSizeofWCharT(void);
|
|
|
|
void TestCharsetFamily(void);
|
1999-11-22 20:29:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|