Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: icu46/source/test/intltest/plurfmts.h

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « icu46/source/test/intltest/numrgts.cpp ('k') | icu46/source/test/intltest/plurfmts.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2001, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7 #ifndef _PLURALFORMATTEST
8 #define _PLURALFORMATTEST
9
10 #include "unicode/utypes.h"
11 #include "unicode/plurrule.h"
12 #include "unicode/plurfmt.h"
13
14
15 #if !UCONFIG_NO_FORMATTING
16
17 #include "intltest.h"
18
19 /**
20 * Test basic functionality of various API functions
21 **/
22 class PluralFormatTest : public IntlTest {
23 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
24
25 private:
26 /**
27 * Performs tests on many API functions, see detailed comments in source cod e
28 **/
29 void pluralFormatBasicTest(/* char* par */);
30 void pluralFormatUnitTest(/* char* par */);
31 void pluralFormatLocaleTest(/* char* par */);
32 void numberFormatTest(PluralFormat* plFmt,
33 NumberFormat *numFmt,
34 int32_t start,
35 int32_t end,
36 UnicodeString* numOddAppendStr,
37 UnicodeString* numEvenAppendStr,
38 UBool overwrite, // overwrite the numberFormat.format result
39 UnicodeString *message);
40 void helperTestRusults(const char** localeArray,
41 int32_t capacityOfArray,
42 UnicodeString& testPattern,
43 int8_t *expectingResults);
44 };
45
46 #endif /* #if !UCONFIG_NO_FORMATTING */
47
48 #endif
OLDNEW
« no previous file with comments | « icu46/source/test/intltest/numrgts.cpp ('k') | icu46/source/test/intltest/plurfmts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698