summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-50.1/test/intltest/astrotst.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-50.1/test/intltest/astrotst.h')
-rw-r--r--Build/source/libs/icu/icu-50.1/test/intltest/astrotst.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-50.1/test/intltest/astrotst.h b/Build/source/libs/icu/icu-50.1/test/intltest/astrotst.h
new file mode 100644
index 00000000000..f1ba8d467a6
--- /dev/null
+++ b/Build/source/libs/icu/icu-50.1/test/intltest/astrotst.h
@@ -0,0 +1,51 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2008, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+
+#ifndef __AstroTest__
+#define __AstroTest__
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_FORMATTING
+
+#include "unicode/calendar.h"
+#include "unicode/gregocal.h"
+#include "unicode/smpdtfmt.h"
+#include "astro.h"
+#include "caltztst.h"
+
+class AstroTest: public CalendarTimeZoneTest {
+public:
+ // IntlTest override
+ void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
+public:
+ AstroTest();
+
+ void TestSolarLongitude(void);
+
+ void TestLunarPosition(void);
+
+ void TestCoordinates(void);
+
+ void TestCoverage(void);
+
+ void TestSunriseTimes(void);
+
+ void TestBasics(void);
+
+ void TestMoonAge(void);
+ private:
+ void initAstro(UErrorCode&);
+ void closeAstro(UErrorCode&);
+
+ CalendarAstronomer *astro;
+ Calendar *gc;
+
+};
+
+#endif /* #if !UCONFIG_NO_FORMATTING */
+
+#endif // __AstroTest__