]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/transtst.h
ICU-400.38.tar.gz
[apple/icu.git] / icuSources / test / intltest / transtst.h
index a331a843403cbb9298f50a6f3131d82d66aaad22..423ed285f87443b721d5a46eee6d6e969dc18a22 100644 (file)
@@ -1,6 +1,6 @@
 /*
 **********************************************************************
-*   Copyright (C) 1999-2003, International Business Machines
+*   Copyright (C) 1999-2008, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 *   Date        Name        Description
@@ -344,6 +344,27 @@ private:
 
     void TestAlternateSyntax(void);
 
+    void TestRuleStripping(void);
+
+    void TestHalfwidthFullwidth(void);
+
+    void TestThai(void);
+
+    /**
+     * Tests the multiple-pass syntax
+     */
+    void TestBeginEnd(void);
+
+    /**
+     * Tests that toRules() works right with the multiple-pass syntax
+     */
+    void TestBeginEndToRules(void);
+
+    /**
+     * Tests the registerAlias() function
+     */
+    void TestRegisterAlias(void);
+
     //======================================================================
     // Support methods
     //======================================================================
@@ -357,6 +378,12 @@ private:
                 const UnicodeString& expectedResult,
                 UTransPosition *pos=0);
 
+    void expect(const UnicodeString& id,
+                const UnicodeString& rules,
+                const UnicodeString& source,
+                const UnicodeString& expectedResult,
+                UTransPosition *pos=0);
+
     void expect(const Transliterator& t,
                 const UnicodeString& source,
                 const UnicodeString& expectedResult,
@@ -385,6 +412,8 @@ private:
     void CheckIncrementalAux(const Transliterator* t, 
                              const UnicodeString& input);
 
+    void reportParseError(const UnicodeString& message, const UParseError& parseError, const UErrorCode& status);
+
 
     const UnicodeString DESERET_DEE;
     const UnicodeString DESERET_dee;