summaryrefslogtreecommitdiffstats
path: root/i18npool/qa/cppunit/test_breakiterator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/qa/cppunit/test_breakiterator.cxx')
-rw-r--r--i18npool/qa/cppunit/test_breakiterator.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/i18npool/qa/cppunit/test_breakiterator.cxx b/i18npool/qa/cppunit/test_breakiterator.cxx
index a6bc2cdbd24f..26e24397ed81 100644
--- a/i18npool/qa/cppunit/test_breakiterator.cxx
+++ b/i18npool/qa/cppunit/test_breakiterator.cxx
@@ -72,10 +72,9 @@ public:
#if TODO
CPPUNIT_TEST(testNorthernThai);
#endif
-#if (U_ICU_VERSION_MAJOR_NUM > 4)
+
CPPUNIT_TEST(testWordBoundaries);
CPPUNIT_TEST(testKhmer);
-#endif
CPPUNIT_TEST(testJapanese);
CPPUNIT_TEST_SUITE_END();
private:
@@ -866,12 +865,8 @@ void TestBreakIterator::testNorthernThai()
}
#endif
-#if (U_ICU_VERSION_MAJOR_NUM > 4)
//A test to ensure that our khmer word boundary detection is useful
//https://bugs.freedesktop.org/show_bug.cgi?id=52020
-//
-//icu doesn't have the Khmer word boundary dictionaries in <= 4.0.0 but does in
-//the current 49.x.y . Not sure which version first had them introduced.
void TestBreakIterator::testKhmer()
{
lang::Locale aLocale;
@@ -891,7 +886,6 @@ void TestBreakIterator::testKhmer()
CPPUNIT_ASSERT(aBounds.startPos == 3 && aBounds.endPos == 5);
}
-#endif
void TestBreakIterator::testJapanese()
{