]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/dadrfmt.h
1 /********************************************************************
3 * Copyright (c) 2007, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
8 * DataDrivenFormatTest is a test class that uses data stored in resource
9 * bundles to perform testing. For more details on data structure, see
10 * source/test/testdata/calendar.txt
13 #ifndef _INTLTESTDATADRIVENFORMAT
14 #define _INTLTESTDATADRIVENFORMAT
16 #include "unicode/utypes.h"
18 #if !UCONFIG_NO_FORMATTING
22 #include "unicode/format.h"
28 //class DateTimeStyle;
30 class DataDrivenFormatTest
: public IntlTest
{
31 void runIndexedTest(int32_t index
, UBool exec
, const char* &name
,
34 DataDrivenFormatTest();
35 virtual ~DataDrivenFormatTest();
38 void DataDrivenTest(char *par
);
39 void processTest(TestData
*testData
);
41 void testConvertDate(TestData
*testData
, const DataMap
*settings
, UBool fmt
);
42 // void testOps(TestData *testData, const DataMap *settings);
43 // void testConvert(int32_t n, const FormatFieldsSet &fromSet,
44 // Format *fromCal, const FormatFieldsSet &toSet, Format *toCal,
47 TestDataModule
*driver
;
50 #endif /* #if !UCONFIG_NO_COLLATION */