| OLD | NEW |
| 1 /******************************************************************** | 1 /******************************************************************** |
| 2 * COPYRIGHT: | 2 * COPYRIGHT: |
| 3 * Copyright (c) 2002-2013, International Business Machines Corporation and | 3 * Copyright (c) 2002-2014, International Business Machines Corporation and |
| 4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
| 5 ********************************************************************/ | 5 ********************************************************************/ |
| 6 | 6 |
| 7 // | 7 // |
| 8 // dcfmtest.cpp | 8 // dcfmtest.cpp |
| 9 // | 9 // |
| 10 // Decimal Formatter tests, data driven. | 10 // Decimal Formatter tests, data driven. |
| 11 // | 11 // |
| 12 | 12 |
| 13 #include "intltest.h" | 13 #include "intltest.h" |
| 14 | 14 |
| 15 #if !UCONFIG_NO_FORMATTING && !UCONFIG_NO_REGULAR_EXPRESSIONS | 15 #if !UCONFIG_NO_FORMATTING && !UCONFIG_NO_REGULAR_EXPRESSIONS |
| 16 | 16 |
| 17 #include "unicode/regex.h" | 17 #include "unicode/regex.h" |
| 18 #include "unicode/uchar.h" | 18 #include "unicode/uchar.h" |
| 19 #include "unicode/ustring.h" | 19 #include "unicode/ustring.h" |
| 20 #include "unicode/unistr.h" | 20 #include "unicode/unistr.h" |
| 21 #include "unicode/dcfmtsym.h" | 21 #include "unicode/dcfmtsym.h" |
| 22 #include "unicode/decimfmt.h" | 22 #include "unicode/decimfmt.h" |
| 23 #include "unicode/locid.h" | 23 #include "unicode/locid.h" |
| 24 #include "cmemory.h" | 24 #include "cmemory.h" |
| 25 #include "dcfmtest.h" | 25 #include "dcfmtest.h" |
| 26 #include "util.h" | 26 #include "util.h" |
| 27 #include "cstring.h" | 27 #include "cstring.h" |
| 28 #include <stdlib.h> | 28 #include <stdlib.h> |
| 29 #include <string.h> | 29 #include <string.h> |
| 30 #include <stdio.h> | 30 #include <stdio.h> |
| 31 | 31 |
| 32 #if !defined(_MSC_VER) |
| 33 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.
cgi?id=13364 |
| 34 #endif |
| 35 |
| 32 #include <string> | 36 #include <string> |
| 33 #include <iostream> | 37 #include <iostream> |
| 34 | 38 |
| 35 //--------------------------------------------------------------------------- | 39 //--------------------------------------------------------------------------- |
| 36 // | 40 // |
| 37 // Test class boilerplate | 41 // Test class boilerplate |
| 38 // | 42 // |
| 39 //--------------------------------------------------------------------------- | 43 //--------------------------------------------------------------------------- |
| 40 DecimalFormatTest::DecimalFormatTest() | 44 DecimalFormatTest::DecimalFormatTest() |
| 41 { | 45 { |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 if (U_FAILURE(status)) { | 542 if (U_FAILURE(status)) { |
| 539 errln("ICU Error \"%s\"\n", u_errorName(status)); | 543 errln("ICU Error \"%s\"\n", u_errorName(status)); |
| 540 delete retPtr; | 544 delete retPtr; |
| 541 retPtr = NULL; | 545 retPtr = NULL; |
| 542 }; | 546 }; |
| 543 return retPtr; | 547 return retPtr; |
| 544 } | 548 } |
| 545 | 549 |
| 546 #endif /* !UCONFIG_NO_REGULAR_EXPRESSIONS */ | 550 #endif /* !UCONFIG_NO_REGULAR_EXPRESSIONS */ |
| 547 | 551 |
| OLD | NEW |