2 *******************************************************************************
4 * Copyright (C) 2012-2013, 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();
41 void CheckFormatting(const ListFormatter* formatter, UnicodeString data[], int32_t data_size, const UnicodeString& expected_result);
43 const char* locale_string,
48 UnicodeString results[4]);
49 UBool RecordFourCases(
55 UnicodeString results[4]);
59 const UnicodeString prefix;
60 const UnicodeString one;
61 const UnicodeString two;
62 const UnicodeString three;
63 const UnicodeString four;