]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/dtifmtts.h
ICU-62141.0.1.tar.gz
[apple/icu.git] / icuSources / test / intltest / dtifmtts.h
index 847de1c918b811cbd87905a5e7212a47636246a8..b6cc0970270c3900ca8be1d1c0ac9d7daa26e317 100644 (file)
@@ -1,6 +1,8 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /********************************************************************
- * COPYRIGHT: 
- * Copyright (c) 2008, International Business Machines Corporation and
+ * COPYRIGHT:
+ * Copyright (c) 2008-2016 International Business Machines Corporation and
  * others. All Rights Reserved.
  ********************************************************************/
 
@@ -18,7 +20,7 @@
  * Test basic functionality of various API functions
  **/
 class DateIntervalFormatTest: public IntlTest {
-    void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );  
+    void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
 
 public:
     /**
@@ -36,11 +38,31 @@ public:
      */
     void testFormatUserDII();
 
+    /**
+     * Test for no unwanted side effects when setting
+     * interval patterns.
+     */
+    void testSetIntervalPatternNoSideEffect();
+
+    /**
+     * Tests different year formats.
+     */
+    void testYearFormats();
+
     /**
      * Stress test -- stress test formatting on 40 locales
      */
     void testStress();
 
+    void testTicket11583_2();
+
+    void testTicket11985();
+
+    void testTicket11669();
+    void threadFunc11669(int32_t threadNum);
+
+    void testTicket12065();
+
 private:
     /**
      * Test formatting against expected result
@@ -48,15 +70,15 @@ private:
     void expect(const char** data, int32_t data_length);
 
     /**
-     * Test formatting against expected result using user defined 
+     * Test formatting against expected result using user defined
      * DateIntervalInfo
      */
     void expectUserDII(const char** data, int32_t data_length);
 
     /**
-     * Stress test formatting 
+     * Stress test formatting
      */
-    void stress(const char** data, int32_t data_length, const Locale& loc, 
+    void stress(const char** data, int32_t data_length, const Locale& loc,
                 const char* locName);
 };