]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/pptest.h
ICU-62107.0.1.tar.gz
[apple/icu.git] / icuSources / test / intltest / pptest.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
b75a7d8f
A
3/********************************************************************
4 * COPYRIGHT:
729e4ab9 5 * Copyright (c) 1997-2009, International Business Machines Corporation and
b75a7d8f
A
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 **/
22class ParsePositionTest: public IntlTest {
23 // IntlTest override
24 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
25public:
26
27 void TestParsePosition(void);
28 void TestFieldPosition(void);
29 void TestFieldPosition_example(void);
30 void Test4109023(void);
31
32protected:
729e4ab9 33 UBool failure(UErrorCode status, const char* msg, UBool possibleDataError=FALSE);
b75a7d8f
A
34};
35
36#endif /* #if !UCONFIG_NO_FORMATTING */
37
38#endif // _PARSEPOSITIONIONTEST_
39//eof