2000-01-15 02:00:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2003-12-19 23:18:51 +00:00
|
|
|
* Copyright (c) 1997-2003, International Business Machines Corporation and
|
2000-01-15 02:00:06 +00:00
|
|
|
* 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__
|
|
|
|
|
|
|
|
#include "intltest.h"
|
|
|
|
|
|
|
|
class StringTest : public IntlTest {
|
|
|
|
public:
|
|
|
|
StringTest() {}
|
2003-10-24 01:04:44 +00:00
|
|
|
virtual ~StringTest();
|
1999-11-22 20:29:44 +00:00
|
|
|
|
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);
|
2002-02-27 21:52:11 +00:00
|
|
|
void TestSizeofInt64(void);
|
1999-12-22 22:57:04 +00:00
|
|
|
void TestCharsetFamily(void);
|
1999-11-22 20:29:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|