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
2fa82711
Kaydet (Commit)
2fa82711
authored
Agu 29, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related: #i113785# add regression test for ligatures
Change-Id: I46fca6dc8e77571afda5ceb230dc6c93f730703d
üst
5bc40654
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
20 deletions
+23
-20
test_breakiterator.cxx
i18npool/qa/cppunit/test_breakiterator.cxx
+20
-2
README
i18npool/source/breakiterator/data/README
+3
-18
No files found.
i18npool/qa/cppunit/test_breakiterator.cxx
Dosyayı görüntüle @
2fa82711
...
@@ -212,7 +212,7 @@ void TestBreakIterator::testWordBoundaries()
...
@@ -212,7 +212,7 @@ void TestBreakIterator::testWordBoundaries()
//See https://issues.apache.org/ooo/show_bug.cgi?id=14904
//See https://issues.apache.org/ooo/show_bug.cgi?id=14904
{
{
const
sal_Unicode
TEST
1
[]
=
const
sal_Unicode
TEST
[]
=
{
{
'W'
,
'o'
,
'r'
,
'k'
,
'i'
,
'n'
,
'g'
,
' '
,
0x201C
,
'W'
,
'o'
,
'r'
,
'd'
,
's'
,
'W'
,
'o'
,
'r'
,
'k'
,
'i'
,
'n'
,
'g'
,
' '
,
0x201C
,
'W'
,
'o'
,
'r'
,
'd'
,
's'
,
' '
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
'i'
,
'n'
,
'g'
,
' '
,
'w'
,
'i'
,
't'
,
' '
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
'i'
,
'n'
,
'g'
,
' '
,
'w'
,
'i'
,
't'
,
...
@@ -223,7 +223,7 @@ void TestBreakIterator::testWordBoundaries()
...
@@ -223,7 +223,7 @@ void TestBreakIterator::testWordBoundaries()
't'
,
' '
,
'e'
,
'v'
,
'e'
,
'n'
,
' '
,
0x00BF
,
'r'
,
'e'
,
'a'
,
'l'
,
'?'
,
' '
,
't'
,
' '
,
'e'
,
'v'
,
'e'
,
'n'
,
' '
,
0x00BF
,
'r'
,
'e'
,
'a'
,
'l'
,
'?'
,
' '
,
'S'
,
'p'
,
'a'
,
'n'
,
'i'
,
's'
,
'h'
'S'
,
'p'
,
'a'
,
'n'
,
'i'
,
's'
,
'h'
};
};
rtl
::
OUString
aTest
(
TEST
1
,
SAL_N_ELEMENTS
(
TEST1
));
rtl
::
OUString
aTest
(
TEST
,
SAL_N_ELEMENTS
(
TEST
));
aBounds
=
m_xBreak
->
getWordBoundary
(
aTest
,
4
,
aLocale
,
i18n
::
WordType
::
DICTIONARY_WORD
,
false
);
aBounds
=
m_xBreak
->
getWordBoundary
(
aTest
,
4
,
aLocale
,
i18n
::
WordType
::
DICTIONARY_WORD
,
false
);
CPPUNIT_ASSERT
(
aBounds
.
startPos
==
0
&&
aBounds
.
endPos
==
7
);
CPPUNIT_ASSERT
(
aBounds
.
startPos
==
0
&&
aBounds
.
endPos
==
7
);
...
@@ -527,6 +527,24 @@ void TestBreakIterator::testWordBoundaries()
...
@@ -527,6 +527,24 @@ void TestBreakIterator::testWordBoundaries()
CPPUNIT_ASSERT
(
i
==
SAL_N_ELEMENTS
(
aExpected
));
CPPUNIT_ASSERT
(
i
==
SAL_N_ELEMENTS
(
aExpected
));
}
}
}
}
//See https://issues.apache.org/ooo/show_bug.cgi?id=113785
{
aLocale
.
Language
=
rtl
::
OUString
(
"en"
);
aLocale
.
Country
=
rtl
::
OUString
(
"US"
);
const
sal_Unicode
TEST
[]
=
{
'r'
,
'u'
,
0xFB00
,
'l'
,
'e'
,
' '
,
0xFB01
,
's'
,
'h'
};
rtl
::
OUString
aTest
(
TEST
,
SAL_N_ELEMENTS
(
TEST
));
aBounds
=
m_xBreak
->
getWordBoundary
(
aTest
,
1
,
aLocale
,
i18n
::
WordType
::
DICTIONARY_WORD
,
false
);
CPPUNIT_ASSERT
(
aBounds
.
startPos
==
0
&&
aBounds
.
endPos
==
5
);
aBounds
=
m_xBreak
->
getWordBoundary
(
aTest
,
7
,
aLocale
,
i18n
::
WordType
::
DICTIONARY_WORD
,
false
);
CPPUNIT_ASSERT
(
aBounds
.
startPos
==
6
&&
aBounds
.
endPos
==
9
);
}
}
}
//See http://qa.openoffice.org/issues/show_bug.cgi?id=111152
//See http://qa.openoffice.org/issues/show_bug.cgi?id=111152
...
...
i18npool/source/breakiterator/data/README
Dosyayı görüntüle @
2fa82711
...
@@ -16,24 +16,6 @@ latest versions.
...
@@ -16,24 +16,6 @@ latest versions.
to-review, later are ok:
to-review, later are ok:
commit 681082b57612ef325c7f695846369d44c68dda11
Author: Caolán McNamara <caolanm@redhat.com>
Date: Sat Jan 29 12:51:52 2011 +0000
Resolves: fdo#31271 wrong line break with (
commit 42be5541baf18e3292a14a9d478eda33f61e10ab
Author: Mattias Johnsson <m.t.johnsson@gmail.com>
Date: Thu Nov 4 23:25:02 2010 +1100
An opening quote should not be counted as a word by word count tool
commit 600c6460a6ffa169ad0cc9bed4b77c545cc50f52
Author: Thomas Lange [tl] <tl@openoffice.org>
Date: Tue Aug 24 16:46:29 2010 +0200
cws tl82: #i113785# ligatures for spell checking will no longer break words
commit ae9d7c2cef9ecd42687d64f985b9e2dcbc68a034
commit ae9d7c2cef9ecd42687d64f985b9e2dcbc68a034
Author: Thomas Lange [tl] <tl@openoffice.org>
Author: Thomas Lange [tl] <tl@openoffice.org>
Date: Tue Apr 27 10:09:22 2010 +0200
Date: Tue Apr 27 10:09:22 2010 +0200
...
@@ -579,6 +561,9 @@ Date: Mon Mar 8 16:17:05 2004 +0000
...
@@ -579,6 +561,9 @@ Date: Mon Mar 8 16:17:05 2004 +0000
done, regression tests added:
done, regression tests added:
#i113785# ligatures for spell checking will no longer break words
An opening quote should not be counted as a word by word count tool (regression test in in writer)
fdo#31271 wrong line break with (
#i89042# word count fix (regression test is in writer)
#i89042# word count fix (regression test is in writer)
#i58513# add break iterator rules for Finish
#i58513# add break iterator rules for Finish
#i19716# fix wrong line break on bracket characters
#i19716# fix wrong line break on bracket characters
...
...
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