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
d9604fa1
Kaydet (Commit)
d9604fa1
authored
Eki 20, 2011
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add more debug output to see why windows has problems with sc's filters-test
üst
cda653d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
3 deletions
+26
-3
filters-test.cxx
sc/qa/unit/filters-test.cxx
+23
-0
debughelper.hxx
sc/qa/unit/helper/debughelper.hxx
+2
-2
ucalc.cxx
sc/qa/unit/ucalc.cxx
+1
-1
No files found.
sc/qa/unit/filters-test.cxx
Dosyayı görüntüle @
d9604fa1
...
...
@@ -43,7 +43,10 @@
#include <editeng/justifyitem.hxx>
#include <basic/sbxdef.hxx>
#define CALC_DEBUG_OUTPUT 1
#include "helper/csv_handler.hxx"
#include "helper/debughelper.hxx"
#include "orcus/csv_parser.hpp"
#include <fstream>
#include <string>
...
...
@@ -465,6 +468,26 @@ void ScFiltersTest::testFormats()
CPPUNIT_ASSERT_MESSAGE
(
"Failed to load formats.*"
,
xDocSh
.
Is
());
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
;
...
...
sc/qa/unit/helper/debughelper.hxx
Dosyayı görüntüle @
d9604fa1
...
...
@@ -77,7 +77,7 @@ public:
maMatrix
.
set_string
(
row
,
col
,
new
OUString
(
aStr
));
}
#if
U
CALC_DEBUG_OUTPUT
#if CALC_DEBUG_OUTPUT
void
print
(
const
char
*
header
)
const
{
if
(
header
)
...
...
@@ -138,7 +138,7 @@ public:
*/
void
printArray
()
const
{
#if
U
CALC_DEBUG_OUTPUT
#if CALC_DEBUG_OUTPUT
MatrixType
::
size_pair_type
ns
=
maMatrix
.
size
();
for
(
size_t
row
=
0
;
row
<
ns
.
first
;
++
row
)
{
...
...
sc/qa/unit/ucalc.cxx
Dosyayı görüntüle @
d9604fa1
...
...
@@ -71,7 +71,7 @@
#include <iostream>
#include <vector>
#define
U
CALC_DEBUG_OUTPUT 0
#define CALC_DEBUG_OUTPUT 0
#include "helper/debughelper.hxx"
...
...
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