Imported Upstream version 58.1
[platform/upstream/icu.git] / source / test / intltest / rbbiapts.h
index 0a672a6..7e84848 100644 (file)
@@ -1,6 +1,8 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 1999-2014 International Business Machines Corporation and
+ * Copyright (c) 1999-2016 International Business Machines Corporation and
  * others. All Rights Reserved.
  ********************************************************************/
 /************************************************************************
@@ -65,10 +67,9 @@ public:
     void RoundtripRule(const char *dataFile);
 
     /**
-     * Test creating RuleBasedBreakIterator from RBBIData.
+     * Test getting and using binary (compiled) rules.
      **/
-
-    void TestCreateFromRBBIData(void);
+    void TestGetBinaryRules(void);
 
     /**
      * Tests grouping effect of 'single quotes' in rules.
@@ -101,18 +102,6 @@ public:
 
 };
 
-/**
- * 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