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
86ff8ec2
Kaydet (Commit)
86ff8ec2
authored
Mar 22, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
let us use ScBootstrapFixture::loadDoc here
Change-Id: Ia5d29da921e53b8443541e5f69e2bbc7fd99edfa
üst
0d8db7a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
24 deletions
+2
-24
subsequent_filters-test.cxx
sc/qa/unit/subsequent_filters-test.cxx
+2
-24
No files found.
sc/qa/unit/subsequent_filters-test.cxx
Dosyayı görüntüle @
86ff8ec2
...
...
@@ -1730,18 +1730,7 @@ void ScFiltersTest::testDataBarODS()
void
ScFiltersTest
::
testNewCondFormatXLSX
()
{
const
OUString
aFileNameBase
(
"new_cond_format_test."
);
OUString
aFileExtension
(
aFileFormats
[
XLSX
].
pName
,
strlen
(
aFileFormats
[
XLSX
].
pName
),
RTL_TEXTENCODING_UTF8
);
OUString
aFilterName
(
aFileFormats
[
XLSX
].
pFilterName
,
strlen
(
aFileFormats
[
XLSX
].
pFilterName
),
RTL_TEXTENCODING_UTF8
)
;
OUString
aFileName
;
createFileURL
(
aFileNameBase
,
aFileExtension
,
aFileName
);
OUString
aFilterType
(
aFileFormats
[
XLSX
].
pTypeName
,
strlen
(
aFileFormats
[
XLSX
].
pTypeName
),
RTL_TEXTENCODING_UTF8
);
std
::
cout
<<
aFileFormats
[
XLSX
].
pName
<<
" Test"
<<
std
::
endl
;
unsigned
int
nFormatType
=
aFileFormats
[
XLSX
].
nFormatType
;
unsigned
int
nClipboardId
=
nFormatType
?
SFX_FILTER_IMPORT
|
SFX_FILTER_USESOPTIONS
:
0
;
ScDocShellRef
xDocSh
=
ScBootstrapFixture
::
load
(
aFileName
,
aFilterName
,
OUString
(),
aFilterType
,
nFormatType
,
nClipboardId
,
SOFFICE_FILEFORMAT_CURRENT
);
ScDocShellRef
xDocSh
=
ScBootstrapFixture
::
loadDoc
(
"new_cond_format_test."
,
XLSX
);
CPPUNIT_ASSERT_MESSAGE
(
"Failed to load new_cond_format_test.xlsx"
,
xDocSh
.
Is
());
...
...
@@ -1757,18 +1746,7 @@ void ScFiltersTest::testNewCondFormatXLSX()
void
ScFiltersTest
::
testFormulaDependency
()
{
const
OUString
aFileNameBase
(
"dependencyTree."
);
OUString
aFileExtension
(
aFileFormats
[
ODS
].
pName
,
strlen
(
aFileFormats
[
ODS
].
pName
),
RTL_TEXTENCODING_UTF8
);
OUString
aFilterName
(
aFileFormats
[
ODS
].
pFilterName
,
strlen
(
aFileFormats
[
ODS
].
pFilterName
),
RTL_TEXTENCODING_UTF8
)
;
OUString
aFileName
;
createFileURL
(
aFileNameBase
,
aFileExtension
,
aFileName
);
OUString
aFilterType
(
aFileFormats
[
ODS
].
pTypeName
,
strlen
(
aFileFormats
[
ODS
].
pTypeName
),
RTL_TEXTENCODING_UTF8
);
std
::
cout
<<
aFileFormats
[
ODS
].
pName
<<
" Test"
<<
std
::
endl
;
unsigned
int
nFormatType
=
aFileFormats
[
ODS
].
nFormatType
;
unsigned
int
nClipboardId
=
nFormatType
?
SFX_FILTER_IMPORT
|
SFX_FILTER_USESOPTIONS
:
0
;
ScDocShellRef
xDocSh
=
ScBootstrapFixture
::
load
(
aFileName
,
aFilterName
,
OUString
(),
aFilterType
,
nFormatType
,
nClipboardId
,
SOFFICE_FILEFORMAT_CURRENT
);
ScDocShellRef
xDocSh
=
ScBootstrapFixture
::
loadDoc
(
"dependencyTree."
,
ODS
);
ScDocument
*
pDoc
=
xDocSh
->
GetDocument
();
...
...
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