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
97fe16f4
Kaydet (Commit)
97fe16f4
authored
Nis 13, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
move testCVE into slowcheck
speed up rebuild of sc
üst
daae05cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
filters-test.cxx
sc/qa/unit/filters-test.cxx
+0
-21
subsequent_filters-test.cxx
sc/qa/unit/subsequent_filters-test.cxx
+21
-0
No files found.
sc/qa/unit/filters-test.cxx
Dosyayı görüntüle @
97fe16f4
...
...
@@ -96,11 +96,6 @@ public:
virtual
void
setUp
();
virtual
void
tearDown
();
/**
* Ensure CVEs remain unbroken
*/
void
testCVEs
();
//ods, xls, xlsx filter tests
void
testRangeNameODS
();
// only test ods here, xls and xlsx in subsequent_filters-test
void
testContentODS
();
...
...
@@ -117,7 +112,6 @@ public:
#endif
CPPUNIT_TEST_SUITE
(
ScFiltersTest
);
CPPUNIT_TEST
(
testCVEs
);
CPPUNIT_TEST
(
testRangeNameODS
);
CPPUNIT_TEST
(
testContentODS
);
CPPUNIT_TEST
(
testContentXLS
);
...
...
@@ -189,21 +183,6 @@ void ScFiltersTest::createCSVPath(const rtl::OUString& aFileBase, rtl::OUString&
rCSVPath
=
aBuffer
.
makeStringAndClear
();
}
void
ScFiltersTest
::
testCVEs
()
{
testDir
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Quattro Pro 6.0"
)),
getURLFromSrc
(
"/sc/qa/unit/data/qpro/"
),
rtl
::
OUString
());
//warning, the current "sylk filter" in sc (docsh.cxx) automatically
//chains on failure on trying as csv, rtf, etc. so "success" may
//not indicate that it imported as .slk.
testDir
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SYLK"
)),
getURLFromSrc
(
"/sc/qa/unit/data/slk/"
),
rtl
::
OUString
());
testDir
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"MS Excel 97"
)),
getURLFromSrc
(
"/sc/qa/unit/data/xls/"
),
rtl
::
OUString
());
}
#if TEST_BUG_FILES
void
ScFiltersTest
::
testDir
(
osl
::
Directory
&
rDir
,
sal_uInt32
nType
)
...
...
sc/qa/unit/subsequent_filters-test.cxx
Dosyayı görüntüle @
97fe16f4
...
...
@@ -93,6 +93,11 @@ public:
virtual
void
setUp
();
virtual
void
tearDown
();
/**
* Ensure CVEs remain unbroken
*/
void
testCVEs
();
//ods, xls, xlsx filter tests
void
testRangeNameXLS
();
void
testRangeNameXLSX
();
...
...
@@ -115,6 +120,7 @@ public:
CPPUNIT_TEST_SUITE
(
ScFiltersTest
);
CPPUNIT_TEST
(
testCVEs
);
CPPUNIT_TEST
(
testRangeNameXLS
);
CPPUNIT_TEST
(
testRangeNameXLSX
);
CPPUNIT_TEST
(
testFunctionsODS
);
...
...
@@ -216,6 +222,21 @@ void ScFiltersTest::createCSVPath(const rtl::OUString& aFileBase, rtl::OUString&
rCSVPath
=
aBuffer
.
makeStringAndClear
();
}
void
ScFiltersTest
::
testCVEs
()
{
testDir
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Quattro Pro 6.0"
)),
getURLFromSrc
(
"/sc/qa/unit/data/qpro/"
),
rtl
::
OUString
());
//warning, the current "sylk filter" in sc (docsh.cxx) automatically
//chains on failure on trying as csv, rtf, etc. so "success" may
//not indicate that it imported as .slk.
testDir
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SYLK"
)),
getURLFromSrc
(
"/sc/qa/unit/data/slk/"
),
rtl
::
OUString
());
testDir
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"MS Excel 97"
)),
getURLFromSrc
(
"/sc/qa/unit/data/xls/"
),
rtl
::
OUString
());
}
namespace
{
void
testRangeNameImpl
(
ScDocument
*
pDoc
)
...
...
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