OLD | NEW |
(Empty) | |
| 1 /******************************************************************** |
| 2 * COPYRIGHT: |
| 3 * Copyright (c) 1997-2008, International Business Machines Corporation and |
| 4 * others. All Rights Reserved. |
| 5 ********************************************************************/ |
| 6 |
| 7 #ifndef __AstroTest__ |
| 8 #define __AstroTest__ |
| 9 |
| 10 #include "unicode/utypes.h" |
| 11 |
| 12 #if !UCONFIG_NO_FORMATTING |
| 13 |
| 14 #include "unicode/calendar.h" |
| 15 #include "unicode/gregocal.h" |
| 16 #include "unicode/smpdtfmt.h" |
| 17 #include "astro.h" |
| 18 #include "caltztst.h" |
| 19 |
| 20 class AstroTest: public CalendarTimeZoneTest { |
| 21 public: |
| 22 // IntlTest override |
| 23 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par
); |
| 24 public: |
| 25 AstroTest(); |
| 26 |
| 27 void TestSolarLongitude(void); |
| 28 |
| 29 void TestLunarPosition(void); |
| 30 |
| 31 void TestCoordinates(void); |
| 32 |
| 33 void TestCoverage(void); |
| 34 |
| 35 void TestSunriseTimes(void); |
| 36 |
| 37 void TestBasics(void); |
| 38 |
| 39 void TestMoonAge(void); |
| 40 private: |
| 41 void initAstro(UErrorCode&); |
| 42 void closeAstro(UErrorCode&); |
| 43 |
| 44 CalendarAstronomer *astro; |
| 45 Calendar *gc; |
| 46 |
| 47 }; |
| 48 |
| 49 #endif /* #if !UCONFIG_NO_FORMATTING */ |
| 50 |
| 51 #endif // __AstroTest__ |
OLD | NEW |