Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
76e735b2
Kaydet (Commit)
76e735b2
authored
Agu 30, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
enable building against RHEL-6 system icu
Change-Id: I56f08d58d8d8a0e397412580451c90f9605bcb46
üst
9554853a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
test_breakiterator.cxx
i18npool/qa/cppunit/test_breakiterator.cxx
+6
-2
No files found.
i18npool/qa/cppunit/test_breakiterator.cxx
Dosyayı görüntüle @
76e735b2
...
...
@@ -233,14 +233,18 @@ void TestBreakIterator::testWordBoundaries()
}
//See https://bugs.freedesktop.org/show_bug.cgi?id=49629
//Note that the breakiterator test will fail on older icu versions
//(4.2.1) for the 200B (ZWSP) Zero Width Space testcase.
sal_Unicode
aBreakTests
[]
=
{
' '
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
0x91
,
0x92
,
0x200B
,
0xE8FF
,
0xF8FF
};
for
(
int
mode
=
i18n
::
WordType
::
ANY_WORD
;
mode
<=
i18n
::
WordType
::
WORD_COUNT
;
++
mode
)
{
//make sure that in all cases isBeginWord and isEndWord matches getWordBoundary
for
(
size_t
i
=
0
;
i
<
SAL_N_ELEMENTS
(
aBreakTests
);
++
i
)
{
#if (U_ICU_VERSION_MAJOR_NUM == 4) && (U_ICU_VERSION_MINOR_NUM <= 2)
//Note the breakiterator test is known to fail on older icu
//versions (4.2.1) for the 200B (ZWSP) Zero Width Space testcase.
if
(
aBreakTests
[
i
]
==
0x200B
)
continue
;
#endif
OUString
aTest
(
"Word"
);
aTest
+=
OUString
(
aBreakTests
[
i
])
+
OUString
(
"Word"
);
aBounds
=
m_xBreak
->
getWordBoundary
(
aTest
,
0
,
aLocale
,
mode
,
true
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment