]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/tsdcfmsy.h
ICU-57132.0.1.tar.gz
[apple/icu.git] / icuSources / test / intltest / tsdcfmsy.h
CommitLineData
b75a7d8f
A
1/********************************************************************
2 * COPYRIGHT:
57a6839d 3 * Copyright (c) 1997-2013, International Business Machines Corporation and
b75a7d8f
A
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7#ifndef _INTLTESTDECIMALFORMATSYMBOLS
8#define _INTLTESTDECIMALFORMATSYMBOLS
9
10#include "unicode/utypes.h"
11
12#if !UCONFIG_NO_FORMATTING
13
14#include "unicode/unistr.h"
15#include "unicode/dcfmtsym.h"
16#include "intltest.h"
17/**
18 * Tests for DecimalFormatSymbols
19 **/
20class IntlTestDecimalFormatSymbols: public IntlTest {
21 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
22
23private:
24 /**
25 * Test the API of DecimalFormatSymbols; primarily a simple get/set set.
26 */
27 void testSymbols(/*char *par*/);
57a6839d 28 void testLastResortData();
b75a7d8f
A
29
30 /** helper functions**/
57a6839d
A
31 void Verify(double value, const UnicodeString& pattern,
32 const DecimalFormatSymbols &sym, const UnicodeString& expected);
b75a7d8f
A
33};
34
35#endif /* #if !UCONFIG_NO_FORMATTING */
36
37#endif