/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1999-2004, International Business Machines Corporation and
+ * Copyright (c) 1999-2011 International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/************************************************************************
void RoundtripRule(const char *dataFile);
+ /**
+ * Test creating RuleBasedBreakIterator from RBBIData.
+ **/
+
+ void TestCreateFromRBBIData(void);
+
/**
* Tests grouping effect of 'single quotes' in rules.
**/
void TestRegistration();
+ void TestRefreshInputText();
+
/**
*Internal subroutines
**/
};
+/**
+ * Special class to enable testing of protected functions in RuleBasedBreakIterator
+ */
+class RBBIWithProtectedFunctions: public RuleBasedBreakIterator {
+public:
+ enum EDontAdopt {
+ kDontAdopt
+ };
+ RBBIWithProtectedFunctions(RBBIDataHeader* data, UErrorCode &status);
+ RBBIWithProtectedFunctions(const RBBIDataHeader* data, enum EDontAdopt dontAdopt, UErrorCode &status);
+};
+
#endif /* #if !UCONFIG_NO_BREAK_ITERATION */
#endif