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
d58421c2
Kaydet (Commit)
d58421c2
authored
Mar 18, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add test case for fdo#40426
üst
52145606
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
bug-fixes.ods
sc/qa/unit/data/ods/bug-fixes.ods
+0
-0
subsequent_filters-test.cxx
sc/qa/unit/subsequent_filters-test.cxx
+18
-3
No files found.
sc/qa/unit/data/ods/bug-fixes.ods
Dosyayı görüntüle @
d58421c2
No preview for this file type
sc/qa/unit/subsequent_filters-test.cxx
Dosyayı görüntüle @
d58421c2
...
...
@@ -41,6 +41,7 @@
#include <editeng/brshitem.hxx>
#include <editeng/justifyitem.hxx>
#include <dbdata.hxx>
#define CALC_DEBUG_OUTPUT 0
#define TEST_BUG_FILES 0
...
...
@@ -483,9 +484,23 @@ void ScFiltersTest::testBugFixesODS()
CPPUNIT_ASSERT_MESSAGE
(
"Failed to load bugFixes.ods"
,
xDocSh
.
Is
());
ScDocument
*
pDoc
=
xDocSh
->
GetDocument
();
rtl
::
OUString
aCSVFileName
;
createCSVPath
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"bugFix_Sheet2."
)),
aCSVFileName
);
testFile
(
aCSVFileName
,
pDoc
,
1
);
{
// fdo
rtl
::
OUString
aCSVFileName
;
createCSVPath
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"bugFix_Sheet2."
)),
aCSVFileName
);
testFile
(
aCSVFileName
,
pDoc
,
1
);
}
{
// fdo#40426
ScDBData
*
pDBData
=
pDoc
->
GetDBCollection
()
->
getNamedDBs
().
findByName
(
"DBRange1"
);
CPPUNIT_ASSERT
(
pDBData
);
CPPUNIT_ASSERT
(
pDBData
->
HasHeader
());
// no header
pDBData
=
pDoc
->
GetDBCollection
()
->
getNamedDBs
().
findByName
(
"DBRange2"
);
CPPUNIT_ASSERT
(
pDBData
);
CPPUNIT_ASSERT
(
!
pDBData
->
HasHeader
());
}
xDocSh
->
DoClose
();
}
...
...
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