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
affa362c
Kaydet (Commit)
affa362c
authored
Agu 21, 2012
tarafından
Korrawit Pruegsanusak
Kaydeden (comit)
Muthu Subramanian
Agu 21, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#47434 testcase
Change-Id: Ib69fa1fff94b7a3403a45fb948ff9e7b1ebc4f0f
üst
12ce1c3a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
fdo47434-all.pptx
sd/qa/unit/data/pptx/fdo47434-all.pptx
+0
-0
fdo47434_page0.xml
sd/qa/unit/data/pptx/xml/fdo47434_page0.xml
+0
-0
regression-test.cxx
sd/qa/unit/regression-test.cxx
+10
-0
No files found.
sd/qa/unit/data/pptx/fdo47434-all.pptx
0 → 100644
Dosyayı görüntüle @
affa362c
File added
sd/qa/unit/data/pptx/xml/fdo47434_page0.xml
0 → 100644
Dosyayı görüntüle @
affa362c
This diff is collapsed.
Click to expand it.
sd/qa/unit/regression-test.cxx
Dosyayı görüntüle @
affa362c
...
...
@@ -84,10 +84,12 @@ public:
void
test
();
void
testN759180
();
void
testFdo47434
();
CPPUNIT_TEST_SUITE
(
SdFiltersTest
);
CPPUNIT_TEST
(
test
);
CPPUNIT_TEST
(
testN759180
);
CPPUNIT_TEST
(
testFdo47434
);
CPPUNIT_TEST_SUITE_END
();
private
:
...
...
@@ -197,6 +199,14 @@ void SdFiltersTest::testN759180()
}
}
void
SdFiltersTest
::
testFdo47434
()
{
// The problem was the arrow that has cy < 180 and flipH = 0 is rendered incorrectly.
// Its height should be 1, not negative.
::
sd
::
DrawDocShellRef
xDocShRef
=
loadURL
(
getURLFromSrc
(
"/sd/qa/unit/data/pptx/fdo47434-all.pptx"
));
testStuff
(
xDocShRef
,
rtl
::
OUStringToOString
(
getPathFromSrc
(
"/sd/qa/unit/data/pptx/xml/fdo47434_page"
),
RTL_TEXTENCODING_UTF8
));
}
void
SdFiltersTest
::
testStuff
(
::
sd
::
DrawDocShellRef
xDocShRef
,
const
rtl
::
OString
&
fileNameBase
)
{
CPPUNIT_ASSERT_MESSAGE
(
"failed to load"
,
xDocShRef
.
Is
()
);
...
...
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