]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/dadrfmt.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 2007, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
10 * DataDrivenFormatTest is a test class that uses data stored in resource
11 * bundles to perform testing. For more details on data structure, see
12 * source/test/testdata/calendar.txt
15 #ifndef _INTLTESTDATADRIVENFORMAT
16 #define _INTLTESTDATADRIVENFORMAT
18 #include "unicode/utypes.h"
20 #if !UCONFIG_NO_FORMATTING
24 #include "unicode/format.h"
30 //class DateTimeStyle;
32 class DataDrivenFormatTest
: public IntlTest
{
33 void runIndexedTest(int32_t index
, UBool exec
, const char* &name
,
36 DataDrivenFormatTest();
37 virtual ~DataDrivenFormatTest();
40 void DataDrivenTest(char *par
);
41 void processTest(TestData
*testData
);
43 void testConvertDate(TestData
*testData
, const DataMap
*settings
, UBool fmt
);
44 // void testOps(TestData *testData, const DataMap *settings);
45 // void testConvert(int32_t n, const FormatFieldsSet &fromSet,
46 // Format *fromCal, const FormatFieldsSet &toSet, Format *toCal,
49 TestDataModule
*driver
;
52 #endif /* #if !UCONFIG_NO_COLLATION */