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
37818726
Kaydet (Commit)
37818726
authored
Nis 14, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add test for dispBlanksAs export
Change-Id: I5d48b99c87c66033a1e5ada05a9d2aa6bd3fb667
üst
e68ceaec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
chart2export.cxx
chart2/qa/extras/chart2export.cxx
+10
-0
No files found.
chart2/qa/extras/chart2export.cxx
Dosyayı görüntüle @
37818726
...
...
@@ -81,6 +81,7 @@ public:
void
testDataLabelDefaultLineChartDOCX
();
void
testFdo83058dlblPos
();
void
testAutoTitleDelXLSX
();
void
testDispBlanksAsXLSX
();
CPPUNIT_TEST_SUITE
(
Chart2ExportTest
);
CPPUNIT_TEST
(
test
);
...
...
@@ -127,6 +128,7 @@ public:
CPPUNIT_TEST
(
testDataLabelDefaultLineChartDOCX
);
CPPUNIT_TEST
(
testFdo83058dlblPos
);
CPPUNIT_TEST
(
testAutoTitleDelXLSX
);
CPPUNIT_TEST
(
testDispBlanksAsXLSX
);
CPPUNIT_TEST_SUITE_END
();
protected
:
...
...
@@ -1209,6 +1211,14 @@ void Chart2ExportTest::testAutoTitleDelXLSX()
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:chart/c:autoTitleDeleted"
,
"val"
,
"0"
);
}
void
Chart2ExportTest
::
testDispBlanksAsXLSX
()
{
load
(
"/chart2/qa/extras/data/xlsx/"
,
"dispBlanksAs_2007.xlsx"
);
xmlDocPtr
pXmlDoc
=
parseExport
(
"xl/charts/chart"
,
"Calc Office Open XML"
);
CPPUNIT_ASSERT
(
pXmlDoc
);
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:chart/c:dispBlanksAs"
,
"val"
,
"gap"
);
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Chart2ExportTest
);
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