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
db8853d7
Kaydet (Commit)
db8853d7
authored
Tem 27, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add regression test for #i19716#
Change-Id: I11440667bdf73ed09ebc83771acf33e2d3e61f6c
üst
2cf78960
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
test_breakiterator.cxx
i18npool/qa/cppunit/test_breakiterator.cxx
+16
-0
README
i18npool/source/breakiterator/data/README
+1
-15
No files found.
i18npool/qa/cppunit/test_breakiterator.cxx
Dosyayı görüntüle @
db8853d7
...
...
@@ -140,6 +140,22 @@ void TestBreakIterator::testLineBreaking()
CPPUNIT_ASSERT_MESSAGE
(
"Expected a break at the first slash"
,
aResult
.
breakIndex
==
4
);
}
}
//See https://issues.apache.org/ooo/show_bug.cgi?id=19716
{
rtl
::
OUString
aTest
(
RTL_CONSTASCII_USTRINGPARAM
(
"aaa]aaa"
));
aLocale
.
Language
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"en"
));
aLocale
.
Country
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"US"
));
{
//Here we want the line break to move the whole lot to the next line
i18n
::
LineBreakResults
aResult
=
m_xBreak
->
getLineBreak
(
aTest
,
aTest
.
getLength
()
-
2
,
aLocale
,
0
,
aHyphOptions
,
aUserOptions
);
fprintf
(
stderr
,
"suggestion was %d
\n
"
,
aResult
.
breakIndex
);
CPPUNIT_ASSERT_MESSAGE
(
"Expected a break at the start of the line, not at ]"
,
aResult
.
breakIndex
==
0
);
}
}
}
//See https://bugs.freedesktop.org/show_bug.cgi?id=49629
...
...
i18npool/source/breakiterator/data/README
Dosyayı görüntüle @
db8853d7
...
...
@@ -586,24 +586,10 @@ Date: Mon Mar 8 16:17:05 2004 +0000
INTEGRATION: CWS i18n09 (1.2.2); FILE MERGED
2003/12/04 23:45:37 khong 1.2.2.3: #i22602# make dot stick on beginning of a word when doing line break
2003/12/04 23:12:37 khong 1.2.2.2: #i21392# change line break rule to match with MS office
2003/12/03 19:32:02 khong 1.2.2.1: #i19716# fix wrong line break on bracket characters
commit 15f41851842866c9a486eb9cfa258907c472f69f
Author: Jens-Heiner Rechtien <hr@openoffice.org>
Date: Mon Mar 8 16:16:53 2004 +0000
INTEGRATION: CWS i18n09 (1.2.2); FILE MERGED
2003/12/03 02:17:55 khong 1.2.2.1: #110105# Set word boundary between CJK and Latin script type
commit a83ef0cbe99b66241615b238c1d287a6da04e51e
Author: Jens-Heiner Rechtien <hr@openoffice.org>
Date: Mon Mar 8 16:16:16 2004 +0000
INTEGRATION: CWS i18n09 (1.2.2); FILE MERGED
2003/12/03 02:17:54 khong 1.2.2.1: #110105# Set word boundary between CJK and Latin script type
done, regression tests added:
#i19716# fix wrong line break on bracket characters
#i21290# extend Greek script type
#i21907# fix isBeginWord and isEndWord problem
#i85411# Apply patch for ZWSP
...
...
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