scuffed-code/icu4c/source/test/intltest/pptest.h

38 lines
937 B
C
Raw Normal View History

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2009, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
1999-08-16 21:50:52 +00:00
#ifndef _PARSEPOSITIONIONTEST_
#define _PARSEPOSITIONIONTEST_
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
1999-08-16 21:50:52 +00:00
#include "intltest.h"
/**
* Performs test for ParsePosition
**/
class ParsePositionTest: public IntlTest {
// IntlTest override
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
1999-08-16 21:50:52 +00:00
public:
void TestParsePosition(void);
void TestFieldPosition(void);
void TestFieldPosition_example(void);
void Test4109023(void);
protected:
UBool failure(UErrorCode status, const char* msg, UBool possibleDataError=FALSE);
1999-08-16 21:50:52 +00:00
};
#endif /* #if !UCONFIG_NO_FORMATTING */
1999-08-16 21:50:52 +00:00
#endif // _PARSEPOSITIONIONTEST_
//eof