]>
Commit | Line | Data |
---|---|---|
1 | // © 2016 and later: Unicode, Inc. and others. | |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
3 | /******************************************************************** | |
4 | * COPYRIGHT: | |
5 | * Copyright (c) 1997-2009, International Business Machines Corporation and | |
6 | * others. All Rights Reserved. | |
7 | ********************************************************************/ | |
8 | ||
9 | #ifndef _PARSEPOSITIONIONTEST_ | |
10 | #define _PARSEPOSITIONIONTEST_ | |
11 | ||
12 | #include "unicode/utypes.h" | |
13 | ||
14 | #if !UCONFIG_NO_FORMATTING | |
15 | ||
16 | #include "intltest.h" | |
17 | ||
18 | ||
19 | /** | |
20 | * Performs test for ParsePosition | |
21 | **/ | |
22 | class ParsePositionTest: public IntlTest { | |
23 | // IntlTest override | |
24 | void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par ); | |
25 | public: | |
26 | ||
27 | void TestParsePosition(void); | |
28 | void TestFieldPosition(void); | |
29 | void TestFieldPosition_example(void); | |
30 | void Test4109023(void); | |
31 | ||
32 | protected: | |
33 | UBool failure(UErrorCode status, const char* msg, UBool possibleDataError=FALSE); | |
34 | }; | |
35 | ||
36 | #endif /* #if !UCONFIG_NO_FORMATTING */ | |
37 | ||
38 | #endif // _PARSEPOSITIONIONTEST_ | |
39 | //eof |