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
4fb32d8a
Kaydet (Commit)
4fb32d8a
authored
May 03, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add test for tdf#90876
Change-Id: I5841f1b7b6f9ff60f9f1437b76a3e0b1b552a8a2
üst
3e2f2e56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
chart2export.cxx
chart2/qa/extras/chart2export.cxx
+11
-0
tdf90876.xlsx
chart2/qa/extras/data/xlsx/tdf90876.xlsx
+0
-0
No files found.
chart2/qa/extras/chart2export.cxx
Dosyayı görüntüle @
4fb32d8a
...
@@ -96,6 +96,7 @@ public:
...
@@ -96,6 +96,7 @@ public:
void
testAxisCharacterPropertiesXLSX
();
void
testAxisCharacterPropertiesXLSX
();
void
testTitleCharacterPropertiesXLSX
();
void
testTitleCharacterPropertiesXLSX
();
void
testPlotVisOnlyXLSX
();
void
testPlotVisOnlyXLSX
();
void
testBarChartVaryColorsXLSX
();
CPPUNIT_TEST_SUITE
(
Chart2ExportTest
);
CPPUNIT_TEST_SUITE
(
Chart2ExportTest
);
CPPUNIT_TEST
(
testErrorBarXLSX
);
CPPUNIT_TEST
(
testErrorBarXLSX
);
...
@@ -156,6 +157,7 @@ public:
...
@@ -156,6 +157,7 @@ public:
CPPUNIT_TEST
(
testAxisCharacterPropertiesXLSX
);
CPPUNIT_TEST
(
testAxisCharacterPropertiesXLSX
);
CPPUNIT_TEST
(
testTitleCharacterPropertiesXLSX
);
CPPUNIT_TEST
(
testTitleCharacterPropertiesXLSX
);
CPPUNIT_TEST
(
testPlotVisOnlyXLSX
);
CPPUNIT_TEST
(
testPlotVisOnlyXLSX
);
CPPUNIT_TEST
(
testBarChartVaryColorsXLSX
);
CPPUNIT_TEST_SUITE_END
();
CPPUNIT_TEST_SUITE_END
();
protected
:
protected
:
...
@@ -1434,6 +1436,15 @@ void Chart2ExportTest::testPlotVisOnlyXLSX()
...
@@ -1434,6 +1436,15 @@ void Chart2ExportTest::testPlotVisOnlyXLSX()
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:chart/c:plotVisOnly"
,
"val"
,
"0"
);
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:chart/c:plotVisOnly"
,
"val"
,
"0"
);
}
}
void
Chart2ExportTest
::
testBarChartVaryColorsXLSX
()
{
load
(
"/chart2/qa/extras/data/xlsx/"
,
"tdf90876.xlsx"
);
xmlDocPtr
pXmlDoc
=
parseExport
(
"xl/charts/chart"
,
"Calc Office Open XML"
);
CPPUNIT_ASSERT
(
pXmlDoc
);
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:chart/c:plotArea/c:barChart/c:varyColors"
,
"val"
,
"0"
);
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Chart2ExportTest
);
CPPUNIT_TEST_SUITE_REGISTRATION
(
Chart2ExportTest
);
CPPUNIT_PLUGIN_IMPLEMENT
();
CPPUNIT_PLUGIN_IMPLEMENT
();
...
...
chart2/qa/extras/data/xlsx/tdf90876.xlsx
0 → 100644
Dosyayı görüntüle @
4fb32d8a
File added
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