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
05528a63
Kaydet (Commit)
05528a63
authored
Eki 01, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
silence coverity#1373441 Side effect in assertion
Change-Id: I1cf7b7d20a0b567c7363c5a9abc5bf1195b57262
üst
a2765c02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
test_breakiterator.cxx
i18npool/qa/cppunit/test_breakiterator.cxx
+4
-2
No files found.
i18npool/qa/cppunit/test_breakiterator.cxx
Dosyayı görüntüle @
05528a63
...
...
@@ -339,7 +339,8 @@ void TestBreakIterator::testWordBoundaries()
{
CPPUNIT_ASSERT
(
i
<
SAL_N_ELEMENTS
(
aDoublePositions
));
nPos
=
m_xBreak
->
nextWord
(
aTest
,
nPos
,
aLocale
,
i18n
::
WordType
::
ANYWORD_IGNOREWHITESPACES
).
startPos
;
CPPUNIT_ASSERT_EQUAL
(
aDoublePositions
[
i
++
],
nPos
);
CPPUNIT_ASSERT_EQUAL
(
aDoublePositions
[
i
],
nPos
);
++
i
;
}
while
(
nPos
<
aTest
.
getLength
());
nPos
=
aTest
.
getLength
();
...
...
@@ -347,7 +348,8 @@ void TestBreakIterator::testWordBoundaries()
do
{
nPos
=
m_xBreak
->
previousWord
(
aTest
,
nPos
,
aLocale
,
i18n
::
WordType
::
ANYWORD_IGNOREWHITESPACES
).
startPos
;
CPPUNIT_ASSERT_EQUAL
(
aDoublePositions
[
--
i
],
nPos
);
--
i
;
CPPUNIT_ASSERT_EQUAL
(
aDoublePositions
[
i
],
nPos
);
}
while
(
nPos
>
0
);
}
...
...
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