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