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

Side by Side Diff: source/test/intltest/incaltst.cpp

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months 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
« no previous file with comments | « source/test/intltest/idnaconf.cpp ('k') | source/test/intltest/intltest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*********************************************************************** 1 /***********************************************************************
2 * COPYRIGHT: 2 * COPYRIGHT:
3 * Copyright (c) 1997-2012, International Business Machines Corporation 3 * Copyright (c) 1997-2014, International Business Machines Corporation
4 * and others. All Rights Reserved. 4 * and others. All Rights Reserved.
5 ***********************************************************************/ 5 ***********************************************************************/
6 6
7 /* Test Internationalized Calendars for C++ */ 7 /* Test Internationalized Calendars for C++ */
8 8
9 #include "unicode/utypes.h" 9 #include "unicode/utypes.h"
10 #include "string.h" 10 #include "string.h"
11 #include "unicode/locid.h" 11 #include "unicode/locid.h"
12 #include "japancal.h" 12 #include "japancal.h"
13 13
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "incaltst.h" 47 #include "incaltst.h"
48 #include "unicode/gregocal.h" 48 #include "unicode/gregocal.h"
49 #include "unicode/smpdtfmt.h" 49 #include "unicode/smpdtfmt.h"
50 #include "unicode/simpletz.h" 50 #include "unicode/simpletz.h"
51 51
52 // ***************************************************************************** 52 // *****************************************************************************
53 // class IntlCalendarTest 53 // class IntlCalendarTest
54 // ***************************************************************************** 54 // *****************************************************************************
55 //--- move to CalendarTest? 55 //--- move to CalendarTest?
56 56
57 static const double JULIAN_EPOCH = -210866760000000.;
58
59
60 // Turn this on to dump the calendar fields 57 // Turn this on to dump the calendar fields
61 #define U_DEBUG_DUMPCALS 58 #define U_DEBUG_DUMPCALS
62 59
63 60
64 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); log ln((UnicodeString)""); test(); } break 61 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); log ln((UnicodeString)""); test(); } break
65 62
66 63
67 void IntlCalendarTest::runIndexedTest( int32_t index, UBool exec, const char* &n ame, char* /*par*/ ) 64 void IntlCalendarTest::runIndexedTest( int32_t index, UBool exec, const char* &n ame, char* /*par*/ )
68 { 65 {
69 if (exec) logln("TestSuite IntlCalendarTest"); 66 if (exec) logln("TestSuite IntlCalendarTest");
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 errln((UnicodeString)"Can't create " + loc.getName() + " date instance") ; 904 errln((UnicodeString)"Can't create " + loc.getName() + " date instance") ;
908 } 905 }
909 delete fmt0; 906 delete fmt0;
910 } 907 }
911 908
912 #undef CHECK 909 #undef CHECK
913 910
914 #endif /* #if !UCONFIG_NO_FORMATTING */ 911 #endif /* #if !UCONFIG_NO_FORMATTING */
915 912
916 //eof 913 //eof
OLDNEW
« no previous file with comments | « source/test/intltest/idnaconf.cpp ('k') | source/test/intltest/intltest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698