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
7a3a8a25
Kaydet (Commit)
7a3a8a25
authored
Eyl 28, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
n#782061 testcase
Change-Id: I6aa95063ac8fe825b47decc68b08a35d81e4d59d
üst
0c8017a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
n782061.docx
sw/qa/extras/ooxmlimport/data/n782061.docx
+0
-0
ooxmlimport.cxx
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+12
-0
No files found.
sw/qa/extras/ooxmlimport/data/n782061.docx
0 → 100644
Dosyayı görüntüle @
7a3a8a25
File added
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Dosyayı görüntüle @
7a3a8a25
...
...
@@ -96,6 +96,7 @@ public:
void
testN780853
();
void
testN780843
();
void
testShadow
();
void
testN782061
();
CPPUNIT_TEST_SUITE
(
Test
);
#if !defined(MACOSX) && !defined(WNT)
...
...
@@ -138,6 +139,7 @@ public:
CPPUNIT_TEST
(
testN780853
);
CPPUNIT_TEST
(
testN780843
);
CPPUNIT_TEST
(
testShadow
);
CPPUNIT_TEST
(
testN782061
);
#endif
CPPUNIT_TEST_SUITE_END
();
...
...
@@ -981,6 +983,16 @@ void Test::testShadow()
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
273
),
sal_Int32
(
aShadow
.
ShadowWidth
));
}
void
Test
::
testN782061
()
{
/*
* The problem was that the character escapement in the second run was -58.
*/
load
(
"n782061.docx"
);
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
-
9
),
getProperty
<
sal_Int32
>
(
getRun
(
getParagraph
(
1
),
2
),
"CharEscapement"
));
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Test
);
CPPUNIT_PLUGIN_IMPLEMENT
();
...
...
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