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

Side by Side Diff: icu46/source/test/intltest/dcfmtest.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/dcfmapts.cpp ('k') | icu46/source/test/intltest/dcfmtest.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) 2010, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7 //
8 // file: dcfmtest.h
9 //
10 // Data driven decimal formatter test.
11 // Includes testing of both parsing and formatting.
12 // Tests are in the text file dcfmtest.txt, in the source/test/testdata/ di rectory.
13 //
14
15 #ifndef DCFMTEST_H
16 #define DCFMTEST_H
17
18 #include "unicode/utypes.h"
19 #if !UCONFIG_NO_REGULAR_EXPRESSIONS
20
21 #include "intltest.h"
22
23
24 class DecimalFormatTest: public IntlTest {
25 public:
26
27 DecimalFormatTest();
28 virtual ~DecimalFormatTest();
29
30 virtual void runIndexedTest(int32_t index, UBool exec, const char* &name, ch ar* par = NULL );
31
32 // The following are test functions that are visible from the intltest test framework.
33 virtual void DataDrivenTests();
34
35 // The following functions are internal to the decimal format tests.
36 virtual UChar *ReadAndConvertFile(const char *fileName, int32_t &len, UError Code &status);
37 virtual const char *getPath(char buffer[2048], const char *filename);
38 virtual void execParseTest(int32_t lineNum,
39 const UnicodeString &inputText,
40 const UnicodeString &expectedType,
41 const UnicodeString &expectedDecimal,
42 UErrorCode &status);
43
44 virtual void execFormatTest(int32_t lineNum,
45 const UnicodeString &pattern,
46 const UnicodeString &round,
47 const UnicodeString &input,
48 const UnicodeString &expected,
49 UErrorCode &status);
50 };
51
52 #endif // !UCONFIG_NO_REGULAR_EXPRESSIONS
53 #endif
OLDNEW
« no previous file with comments | « icu46/source/test/intltest/dcfmapts.cpp ('k') | icu46/source/test/intltest/dcfmtest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698