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
97b5ed25
Kaydet (Commit)
97b5ed25
authored
Kas 03, 2011
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove all debug output from filters-test that was for the xls bug
üst
82ceea39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
29 deletions
+0
-29
filters-test.cxx
sc/qa/unit/filters-test.cxx
+0
-29
No files found.
sc/qa/unit/filters-test.cxx
Dosyayı görüntüle @
97b5ed25
...
@@ -468,33 +468,6 @@ void ScFiltersTest::testFormats()
...
@@ -468,33 +468,6 @@ void ScFiltersTest::testFormats()
CPPUNIT_ASSERT_MESSAGE
(
"Failed to load formats.*"
,
xDocSh
.
Is
());
CPPUNIT_ASSERT_MESSAGE
(
"Failed to load formats.*"
,
xDocSh
.
Is
());
ScDocument
*
pDoc
=
xDocSh
->
GetDocument
();
ScDocument
*
pDoc
=
xDocSh
->
GetDocument
();
SheetPrinter
StringPrinter
(
8
,
3
);
SheetPrinter
ValuePrinter
(
8
,
3
);
for
(
SCROW
nRow
=
0
;
nRow
<
8
;
++
nRow
)
{
for
(
SCCOL
nCol
=
0
;
nCol
<
3
;
++
nCol
)
{
String
aString
;
double
aVal
;
pDoc
->
GetValue
(
nCol
,
nRow
,
0
,
aVal
);
pDoc
->
GetString
(
nCol
,
nRow
,
0
,
aString
);
ValuePrinter
.
set
(
nRow
,
nCol
,
rtl
::
OUString
::
valueOf
(
aVal
));
StringPrinter
.
set
(
nRow
,
nCol
,
aString
);
}
}
ValuePrinter
.
print
(
"Data sheet content: Value"
);
ValuePrinter
.
clear
();
StringPrinter
.
print
(
"Data sheet content: String"
);
StringPrinter
.
clear
();
//output this just for debugging, should make it easier to see which local the numberformatter really used
//it helps to understand why some windows build fails in this test
LanguageType
aLang
,
aCjkLang
,
aCtlLang
;
pDoc
->
GetLanguage
(
aLang
,
aCjkLang
,
aCtlLang
);
std
::
cout
<<
"Language Settings in ScDocument: normal: "
<<
aLang
<<
" Cjk: "
<<
aCjkLang
<<
" Ctl: "
<<
aCtlLang
<<
std
::
endl
;
std
::
cout
<<
"Language for NumberFormatter: "
<<
pDoc
->
GetFormatTable
()
->
GetLanguage
()
<<
std
::
endl
;
//test Sheet1 with csv file
//test Sheet1 with csv file
rtl
::
OUString
aCSVFileName
;
rtl
::
OUString
aCSVFileName
;
createCSVPath
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"numberFormat."
)),
aCSVFileName
);
createCSVPath
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"numberFormat."
)),
aCSVFileName
);
...
@@ -553,7 +526,6 @@ void ScFiltersTest::testFormats()
...
@@ -553,7 +526,6 @@ void ScFiltersTest::testFormats()
if
(
i
==
ODS
)
if
(
i
==
ODS
)
{
{
rtl
::
OUString
aCondString
=
getConditionalFormatString
(
pDoc
,
3
,
0
,
2
);
rtl
::
OUString
aCondString
=
getConditionalFormatString
(
pDoc
,
3
,
0
,
2
);
std
::
cerr
<<
rtl
::
OUStringToOString
(
aCondString
,
RTL_TEXTENCODING_UTF8
).
getStr
()
<<
std
::
endl
;
createCSVPath
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"conditionalFormatting."
)),
aCSVFileName
);
createCSVPath
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"conditionalFormatting."
)),
aCSVFileName
);
testCondFile
(
aCSVFileName
,
pDoc
,
2
);
testCondFile
(
aCSVFileName
,
pDoc
,
2
);
}
}
...
@@ -577,7 +549,6 @@ void ScFiltersTest::testMatrix()
...
@@ -577,7 +549,6 @@ void ScFiltersTest::testMatrix()
CPPUNIT_ASSERT_MESSAGE
(
"Failed to load matrix.*"
,
xDocSh
.
Is
());
CPPUNIT_ASSERT_MESSAGE
(
"Failed to load matrix.*"
,
xDocSh
.
Is
());
ScDocument
*
pDoc
=
xDocSh
->
GetDocument
();
ScDocument
*
pDoc
=
xDocSh
->
GetDocument
();
rtl
::
OUString
aCSVFileName
;
rtl
::
OUString
aCSVFileName
;
createCSVPath
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"matrix."
)),
aCSVFileName
);
createCSVPath
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"matrix."
)),
aCSVFileName
);
testFile
(
aCSVFileName
,
pDoc
,
0
);
testFile
(
aCSVFileName
,
pDoc
,
0
);
...
...
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