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
e6018350
Kaydet (Commit)
e6018350
authored
Eki 10, 2014
tarafından
Muthu Subramanian
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#54361: Add additional unit test case.
Change-Id: Ifa3fd6f074d1957a468a1dad5dc2c223d38d24d4
üst
aad90e18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
chart2import.cxx
chart2/qa/extras/chart2import.cxx
+9
-2
fdo54361-1.xlsx
chart2/qa/extras/data/xlsx/fdo54361-1.xlsx
+0
-0
No files found.
chart2/qa/extras/chart2import.cxx
Dosyayı görüntüle @
e6018350
...
@@ -55,6 +55,8 @@ public:
...
@@ -55,6 +55,8 @@ public:
void
testAutoBackgroundXLSX
();
void
testAutoBackgroundXLSX
();
void
testNumberFormatsXLSX
();
void
testNumberFormatsXLSX
();
void
testTransparentBackground
(
OUString
filename
);
CPPUNIT_TEST_SUITE
(
Chart2ImportTest
);
CPPUNIT_TEST_SUITE
(
Chart2ImportTest
);
CPPUNIT_TEST
(
Fdo60083
);
CPPUNIT_TEST
(
Fdo60083
);
CPPUNIT_TEST
(
testSteppedLines
);
CPPUNIT_TEST
(
testSteppedLines
);
...
@@ -593,9 +595,9 @@ void Chart2ImportTest::testFdo78080()
...
@@ -593,9 +595,9 @@ void Chart2ImportTest::testFdo78080()
CPPUNIT_ASSERT
(
!
xTitle
.
is
());
CPPUNIT_ASSERT
(
!
xTitle
.
is
());
}
}
void
Chart2ImportTest
::
test
Fdo54361
(
)
void
Chart2ImportTest
::
test
TransparentBackground
(
OUString
filename
)
{
{
load
(
"/chart2/qa/extras/data/xlsx/"
,
"fdo54361.xlsx"
);
load
(
"/chart2/qa/extras/data/xlsx/"
,
filename
);
uno
::
Reference
<
chart2
::
XChartDocument
>
xChartDoc
=
getChartDocFromSheet
(
0
,
mxComponent
);
uno
::
Reference
<
chart2
::
XChartDocument
>
xChartDoc
=
getChartDocFromSheet
(
0
,
mxComponent
);
CPPUNIT_ASSERT_MESSAGE
(
"failed to load chart"
,
xChartDoc
.
is
());
CPPUNIT_ASSERT_MESSAGE
(
"failed to load chart"
,
xChartDoc
.
is
());
...
@@ -610,6 +612,11 @@ void Chart2ImportTest::testFdo54361()
...
@@ -610,6 +612,11 @@ void Chart2ImportTest::testFdo54361()
CPPUNIT_ASSERT_MESSAGE
(
"Background needs to be with solid fill style"
,
aStyle
==
1
);
CPPUNIT_ASSERT_MESSAGE
(
"Background needs to be with solid fill style"
,
aStyle
==
1
);
}
}
void
Chart2ImportTest
::
testFdo54361
()
{
testTransparentBackground
(
"fdo54361.xlsx"
);
testTransparentBackground
(
"fdo54361-1.xlsx"
);
}
void
Chart2ImportTest
::
testAutoBackgroundXLSX
()
void
Chart2ImportTest
::
testAutoBackgroundXLSX
()
{
{
...
...
chart2/qa/extras/data/xlsx/fdo54361-1.xlsx
0 → 100644
Dosyayı görüntüle @
e6018350
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