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
a41140d7
Kaydet (Commit)
a41140d7
authored
Tem 24, 2015
tarafından
Katarina Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add test for OOXML part of tdf#99256
Change-Id: If5e56109f0bf9281be74c17965b047a50f8b55d3
üst
ddc642dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
empty.xlsx
sc/qa/unit/data/xlsx/empty.xlsx
+0
-0
subsequent_filters-test.cxx
sc/qa/unit/subsequent_filters-test.cxx
+18
-0
No files found.
sc/qa/unit/data/xlsx/empty.xlsx
0 → 100644
Dosyayı görüntüle @
a41140d7
File added
sc/qa/unit/subsequent_filters-test.cxx
Dosyayı görüntüle @
a41140d7
...
@@ -204,6 +204,7 @@ public:
...
@@ -204,6 +204,7 @@ public:
void
testEmbeddedImageXLS
();
void
testEmbeddedImageXLS
();
void
testEditEngStrikeThroughXLSX
();
void
testEditEngStrikeThroughXLSX
();
void
testRefStringXLSX
();
void
testRefStringXLSX
();
void
testRefStringConfigXLSX
();
CPPUNIT_TEST_SUITE
(
ScFiltersTest
);
CPPUNIT_TEST_SUITE
(
ScFiltersTest
);
CPPUNIT_TEST
(
testBooleanFormatXLSX
);
CPPUNIT_TEST
(
testBooleanFormatXLSX
);
...
@@ -299,6 +300,7 @@ public:
...
@@ -299,6 +300,7 @@ public:
CPPUNIT_TEST
(
testErrorOnExternalReferences
);
CPPUNIT_TEST
(
testErrorOnExternalReferences
);
CPPUNIT_TEST
(
testEditEngStrikeThroughXLSX
);
CPPUNIT_TEST
(
testEditEngStrikeThroughXLSX
);
CPPUNIT_TEST
(
testRefStringXLSX
);
CPPUNIT_TEST
(
testRefStringXLSX
);
CPPUNIT_TEST
(
testRefStringConfigXLSX
);
CPPUNIT_TEST_SUITE_END
();
CPPUNIT_TEST_SUITE_END
();
private
:
private
:
...
@@ -3108,6 +3110,22 @@ void ScFiltersTest::testRefStringXLSX()
...
@@ -3108,6 +3110,22 @@ void ScFiltersTest::testRefStringXLSX()
xDocSh
->
DoClose
();
xDocSh
->
DoClose
();
}
}
void
ScFiltersTest
::
testRefStringConfigXLSX
()
{
ScDocShellRef
xDocSh
=
loadDoc
(
"empty."
,
XLSX
);
CPPUNIT_ASSERT_MESSAGE
(
"Failed to open doc"
,
xDocSh
.
Is
());
xDocSh
=
saveAndReload
(
&
(
*
xDocSh
),
XLSX
);
CPPUNIT_ASSERT_MESSAGE
(
"Failed to reload doc"
,
xDocSh
.
Is
());
ScDocument
&
rDoc
=
xDocSh
->
GetDocument
();
ScCalcConfig
aConfig
=
rDoc
.
GetCalcConfig
();
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
"String ref syntax doesn't match"
,
formula
::
FormulaGrammar
::
CONV_OOO
,
aConfig
.
meStringRefAddressSyntax
);
xDocSh
->
DoClose
();
}
ScFiltersTest
::
ScFiltersTest
()
ScFiltersTest
::
ScFiltersTest
()
:
ScBootstrapFixture
(
"sc/qa/unit/data"
)
:
ScBootstrapFixture
(
"sc/qa/unit/data"
)
{
{
...
...
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