Kaydet (Commit) 346cf4ee authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: #i50172# add regression test for Tamil cursoring

Change-Id: I8f6c3814aa3630f5f640f611fb51ce72641715c6
üst 9b69085c
...@@ -573,6 +573,7 @@ void TestBreakIterator::testWordBoundaries() ...@@ -573,6 +573,7 @@ void TestBreakIterator::testWordBoundaries()
//See https://bugs.freedesktop.org/show_bug.cgi?id=40292 //See https://bugs.freedesktop.org/show_bug.cgi?id=40292
//See https://issues.apache.org/ooo/show_bug.cgi?id=80412 //See https://issues.apache.org/ooo/show_bug.cgi?id=80412
//See https://issues.apache.org/ooo/show_bug.cgi?id=111152 //See https://issues.apache.org/ooo/show_bug.cgi?id=111152
//See https://issues.apache.org/ooo/show_bug.cgi?id=50172
void TestBreakIterator::testGraphemeIteration() void TestBreakIterator::testGraphemeIteration()
{ {
lang::Locale aLocale; lang::Locale aLocale;
...@@ -639,6 +640,21 @@ void TestBreakIterator::testGraphemeIteration() ...@@ -639,6 +640,21 @@ void TestBreakIterator::testGraphemeIteration()
CPPUNIT_ASSERT_MESSAGE("Should skip full grapheme", nPos == 0); CPPUNIT_ASSERT_MESSAGE("Should skip full grapheme", nPos == 0);
} }
{
const sal_Unicode KA_VOWELSIGNU[] = { 0x0B95, 0x0BC1 };
rtl::OUString aTest(KA_VOWELSIGNU, SAL_N_ELEMENTS(KA_VOWELSIGNU));
sal_Int32 nDone=0;
sal_Int32 nPos = 0;
nPos = m_xBreak->nextCharacters(aTest, 0, aLocale,
i18n::CharacterIteratorMode::SKIPCELL, 1, nDone);
CPPUNIT_ASSERT_MESSAGE("Should skip full grapheme", nPos == SAL_N_ELEMENTS(KA_VOWELSIGNU));
nPos = m_xBreak->previousCharacters(aTest, SAL_N_ELEMENTS(KA_VOWELSIGNU), aLocale,
i18n::CharacterIteratorMode::SKIPCELL, 1, nDone);
CPPUNIT_ASSERT_MESSAGE("Should skip full grapheme", nPos == 0);
}
{ {
const sal_Unicode CA_VOWELSIGNI_TA_VIRAMA_TA_VOWELSIGNI_RA_VOWELSIGNAI[] = const sal_Unicode CA_VOWELSIGNI_TA_VIRAMA_TA_VOWELSIGNI_RA_VOWELSIGNAI[] =
{ 0x0B9A, 0x0BBF, 0x0BA4, 0x0BCD, 0x0BA4, 0x0BBF, 0x0BB0, 0x0BC8 }; { 0x0B9A, 0x0BBF, 0x0BA4, 0x0BCD, 0x0BA4, 0x0BBF, 0x0BB0, 0x0BC8 };
......
...@@ -378,13 +378,6 @@ Date: Mon Oct 17 14:43:17 2005 +0000 ...@@ -378,13 +378,6 @@ Date: Mon Oct 17 14:43:17 2005 +0000
INTEGRATION: CWS i18n20 (1.1.2); FILE ADDED INTEGRATION: CWS i18n20 (1.1.2); FILE ADDED
2005/09/22 23:47:49 khong 1.1.2.1: #i51661# add quotation mark as middle letter for Hebrew in word breakiterator rule. 2005/09/22 23:47:49 khong 1.1.2.1: #i51661# add quotation mark as middle letter for Hebrew in word breakiterator rule.
commit 268567aa88a991e055c41d9115bccce951f7e308
Author: Rüdiger Timm <rt@openoffice.org>
Date: Mon Oct 17 14:42:47 2005 +0000
INTEGRATION: CWS i18n20 (1.1.2); FILE ADDED
2005/08/26 23:33:38 khong 1.1.2.1: #i50172# add cell breakiterator rule for Tamil
commit a428a8927006a10ccfe7182e6fe5a8b677281eca commit a428a8927006a10ccfe7182e6fe5a8b677281eca
Author: Rüdiger Timm <rt@openoffice.org> Author: Rüdiger Timm <rt@openoffice.org>
Date: Mon Oct 17 14:42:30 2005 +0000 Date: Mon Oct 17 14:42:30 2005 +0000
...@@ -536,6 +529,7 @@ Date: Mon Mar 8 16:17:05 2004 +0000 ...@@ -536,6 +529,7 @@ Date: Mon Mar 8 16:17:05 2004 +0000
done, regression tests added: done, regression tests added:
#i50172# add cell breakiterator rule for Tamil
#i80412# indic cursoring #i80412# indic cursoring
#i107843# em-dash/en-dash breakiterator fix for spell checking #i107843# em-dash/en-dash breakiterator fix for spell checking
#i103552# Japanese word for 'shutdown' added to ja.dic #i103552# Japanese word for 'shutdown' added to ja.dic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment