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
efebf518
Kaydet (Commit)
efebf518
authored
Eyl 13, 2011
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
These don't have to be member functions.
üst
52f56d24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
filters-test.cxx
sc/qa/unit/filters-test.cxx
+10
-4
No files found.
sc/qa/unit/filters-test.cxx
Dosyayı görüntüle @
efebf518
...
@@ -151,9 +151,7 @@ public:
...
@@ -151,9 +151,7 @@ public:
//ods filter tests
//ods filter tests
void
testRangeName
();
void
testRangeName
();
void
testRangeNameImpl
(
ScDocument
*
pDoc
);
void
testContent
();
void
testContent
();
void
testContentImpl
(
ScDocument
*
pDoc
);
//same code for ods, xls, xlsx
void
testFunctions
();
void
testFunctions
();
void
testBugFixesODS
();
void
testBugFixesODS
();
void
testBugFixesXLS
();
void
testBugFixesXLS
();
...
@@ -291,7 +289,9 @@ void FiltersTest::testCVEs()
...
@@ -291,7 +289,9 @@ void FiltersTest::testCVEs()
}
}
void
FiltersTest
::
testRangeNameImpl
(
ScDocument
*
pDoc
)
namespace
{
void
testRangeNameImpl
(
ScDocument
*
pDoc
)
{
{
//check one range data per sheet and one global more detailed
//check one range data per sheet and one global more detailed
//add some more checks here
//add some more checks here
...
@@ -319,6 +319,8 @@ void FiltersTest::testRangeNameImpl(ScDocument* pDoc)
...
@@ -319,6 +319,8 @@ void FiltersTest::testRangeNameImpl(ScDocument* pDoc)
CPPUNIT_ASSERT_MESSAGE
(
"range name Sheet2.local1 should reference Sheet1.A5"
,
aValue
==
5
);
CPPUNIT_ASSERT_MESSAGE
(
"range name Sheet2.local1 should reference Sheet1.A5"
,
aValue
==
5
);
}
}
}
void
FiltersTest
::
testRangeName
()
void
FiltersTest
::
testRangeName
()
{
{
const
rtl
::
OUString
aFileNameBase
(
RTL_CONSTASCII_USTRINGPARAM
(
"named-ranges-global."
));
const
rtl
::
OUString
aFileNameBase
(
RTL_CONSTASCII_USTRINGPARAM
(
"named-ranges-global."
));
...
@@ -339,7 +341,9 @@ void FiltersTest::testRangeName()
...
@@ -339,7 +341,9 @@ void FiltersTest::testRangeName()
}
}
}
}
void
FiltersTest
::
testContentImpl
(
ScDocument
*
pDoc
)
namespace
{
void
testContentImpl
(
ScDocument
*
pDoc
)
//same code for ods, xls, xlsx
{
{
double
aValue
;
double
aValue
;
//check value import
//check value import
...
@@ -375,6 +379,8 @@ void FiltersTest::testContentImpl(ScDocument* pDoc)
...
@@ -375,6 +379,8 @@ void FiltersTest::testContentImpl(ScDocument* pDoc)
//add additional checks here
//add additional checks here
}
}
}
void
FiltersTest
::
testContent
()
void
FiltersTest
::
testContent
()
{
{
const
rtl
::
OUString
aFileNameBase
(
RTL_CONSTASCII_USTRINGPARAM
(
"universal-content."
));
const
rtl
::
OUString
aFileNameBase
(
RTL_CONSTASCII_USTRINGPARAM
(
"universal-content."
));
...
...
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