summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-xetex/test/intltest/callimts.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-04-20 18:13:48 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-04-20 18:13:48 +0000
commite5786f530f9555469c01435f86039b06aa53feba (patch)
treec868e8d32282422d7d445b729db95c3fcdafb6d0 /Build/source/libs/icu/icu-xetex/test/intltest/callimts.h
parentebaa1768b43c8606d923d2e861b5286b74207b3e (diff)
new build system: build icu libs and xetex plus misc updates
git-svn-id: svn://tug.org/texlive/trunk@12759 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu/icu-xetex/test/intltest/callimts.h')
-rw-r--r--Build/source/libs/icu/icu-xetex/test/intltest/callimts.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-xetex/test/intltest/callimts.h b/Build/source/libs/icu/icu-xetex/test/intltest/callimts.h
new file mode 100644
index 00000000000..9ef1af36b5b
--- /dev/null
+++ b/Build/source/libs/icu/icu-xetex/test/intltest/callimts.h
@@ -0,0 +1,41 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2001, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+
+#ifndef __CalendarLimitTest__
+#define __CalendarLimitTest__
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_FORMATTING
+
+#include "caltztst.h"
+
+/**
+ * This test verifies the behavior of Calendar around the very earliest limits
+ * which it can handle. It also verifies the behavior for large values of millis.
+ *
+ * Bug ID 4033662.
+ */
+class CalendarLimitTest: public CalendarTimeZoneTest {
+ // IntlTest override
+ void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
+public: // package
+ //test routine used by TestCalendarLimit
+ virtual void test(UDate millis, Calendar *cal, DateFormat *fmt);
+
+ // bug 986c: deprecate nextDouble/previousDouble
+ //static double nextDouble(double a);
+ //static double previousDouble(double a);
+ static UBool withinErr(double a, double b, double err);
+
+public:
+ // test behaviour and error reporting at boundaries of defined range
+ virtual void TestCalendarLimit(void);
+};
+
+#endif /* #if !UCONFIG_NO_FORMATTING */
+
+#endif // __CalendarLimitTest__