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
46d97243
Kaydet (Commit)
46d97243
authored
Tem 11, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#80410: let's add a unit test too...
Change-Id: I2b9853dc5b85c034d767825ca2842738b61b54f5
üst
3f9d00a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
fdo80410.docx
sw/qa/extras/ooxmlexport/data/fdo80410.docx
+0
-0
ooxmlexport.cxx
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+13
-0
No files found.
sw/qa/extras/ooxmlexport/data/fdo80410.docx
0 → 100644
Dosyayı görüntüle @
46d97243
File added
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Dosyayı görüntüle @
46d97243
...
...
@@ -3027,6 +3027,19 @@ DECLARE_OOXMLEXPORT_TEST(testFileWithInvalidImageLink, "FileWithInvalidImageLink
assertXPath
(
pXmlDoc
,
"/w:document/w:body/w:p[2]/w:r[2]/w:drawing[1]/wp:inline[1]/a:graphic[1]/a:graphicData[1]/pic:pic[1]/pic:blipFill[1]/a:blip[1]"
,
"embed"
,
""
);
}
DECLARE_OOXMLEXPORT_TEST
(
testContentTypeDOCX
,
"fdo80410.docx"
)
{
xmlDocPtr
pXmlDoc
=
parseExport
(
"[Content_Types].xml"
);
if
(
!
pXmlDoc
)
// only test the export, not initial import
return
;
assertXPath
(
pXmlDoc
,
"/ContentType:Types/ContentType:Override[@PartName='/word/embeddings/oleObject1.docx']"
,
"ContentType"
,
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
);
}
DECLARE_OOXMLEXPORT_TEST
(
testContentTypeXLSM
,
"fdo76098.docx"
)
{
xmlDocPtr
pXmlDoc
=
parseExport
(
"[Content_Types].xml"
);
...
...
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