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

Side by Side Diff: source/test/intltest/astrotst.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/apicoll.cpp ('k') | source/test/intltest/bidiconf.cpp » ('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) 1996-2010, International Business Machines Corporation and 3 * Copyright (c) 1996-2014, International Business Machines Corporation and
4 * others. All Rights Reserved. 4 * others. All Rights Reserved.
5 ********************************************************************/ 5 ********************************************************************/
6 6
7 /* Test CalendarAstronomer for C++ */ 7 /* Test CalendarAstronomer 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 12
13 #if !UCONFIG_NO_FORMATTING 13 #if !UCONFIG_NO_FORMATTING
14 14
15 #include "astro.h" 15 #include "astro.h"
16 #include "astrotst.h" 16 #include "astrotst.h"
17 #include "gregoimp.h" // for Math 17 #include "gregoimp.h" // for Math
18 #include "unicode/simpletz.h" 18 #include "unicode/simpletz.h"
19 19
20 20
21 static const double DAY_MS = 24.*60.*60.*1000.;
22
23 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); log ln((UnicodeString)""); test(); } break 21 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); log ln((UnicodeString)""); test(); } break
24 22
25 AstroTest::AstroTest(): astro(NULL), gc(NULL) { 23 AstroTest::AstroTest(): astro(NULL), gc(NULL) {
26 } 24 }
27 25
28 void AstroTest::runIndexedTest( int32_t index, UBool exec, const char* &name, ch ar* /*par*/ ) 26 void AstroTest::runIndexedTest( int32_t index, UBool exec, const char* &name, ch ar* /*par*/ )
29 { 27 {
30 if (exec) logln("TestSuite AstroTest"); 28 if (exec) logln("TestSuite AstroTest");
31 switch (index) { 29 switch (index) {
32 // CASE(0,FooTest); 30 // CASE(0,FooTest);
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 } 473 }
476 474
477 475
478 // TODO: try finding next new moon after 07/28/1984 16:00 GMT 476 // TODO: try finding next new moon after 07/28/1984 16:00 GMT
479 477
480 478
481 #endif 479 #endif
482 480
483 481
484 482
OLDNEW
« no previous file with comments | « source/test/intltest/apicoll.cpp ('k') | source/test/intltest/bidiconf.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698