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
5e239836
Kaydet (Commit)
5e239836
authored
Nis 16, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add test for tdf#90533
Change-Id: I3a045598d2883290bdc8fa09ea8377059249ad5f
üst
f9f53c4a
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 @
5e239836
...
@@ -83,6 +83,7 @@ public:
...
@@ -83,6 +83,7 @@ public:
void
testAutoTitleDelXLSX
();
void
testAutoTitleDelXLSX
();
void
testDispBlanksAsXLSX
();
void
testDispBlanksAsXLSX
();
void
testMarkerColorXLSX
();
void
testMarkerColorXLSX
();
void
testRoundedCornersXLSX
();
CPPUNIT_TEST_SUITE
(
Chart2ExportTest
);
CPPUNIT_TEST_SUITE
(
Chart2ExportTest
);
CPPUNIT_TEST
(
test
);
CPPUNIT_TEST
(
test
);
...
@@ -131,6 +132,7 @@ public:
...
@@ -131,6 +132,7 @@ public:
CPPUNIT_TEST
(
testAutoTitleDelXLSX
);
CPPUNIT_TEST
(
testAutoTitleDelXLSX
);
CPPUNIT_TEST
(
testDispBlanksAsXLSX
);
CPPUNIT_TEST
(
testDispBlanksAsXLSX
);
CPPUNIT_TEST
(
testMarkerColorXLSX
);
CPPUNIT_TEST
(
testMarkerColorXLSX
);
CPPUNIT_TEST
(
testRoundedCornersXLSX
);
CPPUNIT_TEST_SUITE_END
();
CPPUNIT_TEST_SUITE_END
();
protected
:
protected
:
...
@@ -1229,6 +1231,14 @@ void Chart2ExportTest::testMarkerColorXLSX()
...
@@ -1229,6 +1231,14 @@ void Chart2ExportTest::testMarkerColorXLSX()
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:chart/c:plotArea/c:scatterChart/c:ser/c:marker/c:spPr/a:solidFill/a:srgbClr"
,
"val"
,
"92d050"
);
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:chart/c:plotArea/c:scatterChart/c:ser/c:marker/c:spPr/a:solidFill/a:srgbClr"
,
"val"
,
"92d050"
);
}
}
void
Chart2ExportTest
::
testRoundedCornersXLSX
()
{
load
(
"/chart2/qa/extras/data/xlsx/"
,
"markerColor.xlsx"
);
xmlDocPtr
pXmlDoc
=
parseExport
(
"xl/charts/chart"
,
"Calc Office Open XML"
);
CPPUNIT_ASSERT
(
pXmlDoc
);
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:roundedCorners"
,
"val"
,
"0"
);
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Chart2ExportTest
);
CPPUNIT_TEST_SUITE_REGISTRATION
(
Chart2ExportTest
);
CPPUNIT_PLUGIN_IMPLEMENT
();
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