]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/listformattertest.h
2 *******************************************************************************
4 * Copyright (C) 2012, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
8 * file name: listformattertest.cpp
10 * tab size: 8 (not used)
13 * created on: 2012aug27
14 * created by: Umesh P. Nair
17 #ifndef __LISTFORMATTERTEST_H__
18 #define __LISTFORMATTERTEST_H__
20 #include "unicode/listformatter.h"
23 class ListFormatterTest
: public IntlTest
{
26 virtual ~ListFormatterTest() {}
28 void runIndexedTest(int32_t index
, UBool exec
, const char *&name
, char *par
=0);
37 void TestOutOfOrderPatterns();
40 void CheckFormatting(const ListFormatter
* formatter
, UnicodeString data
[], int32_t data_size
, const UnicodeString
& expected_result
);
42 const char* locale_string
,
47 UnicodeString results
[4]);
48 UBool
RecordFourCases(
54 UnicodeString results
[4]);
58 const UnicodeString prefix
;
59 const UnicodeString one
;
60 const UnicodeString two
;
61 const UnicodeString three
;
62 const UnicodeString four
;