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
ed93075a
Kaydet (Commit)
ed93075a
authored
Şub 02, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implement test for tdf#43700
Change-Id: Ifcdee2fb31fef635003e62020dd92adfe5d72b2f
üst
8e40caa3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
bugfix-test.cxx
sc/qa/unit/bugfix-test.cxx
+20
-0
No files found.
sc/qa/unit/bugfix-test.cxx
Dosyayı görüntüle @
ed93075a
...
@@ -80,10 +80,12 @@ public:
...
@@ -80,10 +80,12 @@ public:
void
testTdf64229
();
void
testTdf64229
();
void
testTdf36933
();
void
testTdf36933
();
void
testTdf43700
();
CPPUNIT_TEST_SUITE
(
ScFiltersTest
);
CPPUNIT_TEST_SUITE
(
ScFiltersTest
);
CPPUNIT_TEST
(
testTdf64229
);
CPPUNIT_TEST
(
testTdf64229
);
CPPUNIT_TEST
(
testTdf36933
);
CPPUNIT_TEST
(
testTdf36933
);
CPPUNIT_TEST
(
testTdf43700
);
CPPUNIT_TEST_SUITE_END
();
CPPUNIT_TEST_SUITE_END
();
private
:
private
:
uno
::
Reference
<
uno
::
XInterface
>
m_xCalcComponent
;
uno
::
Reference
<
uno
::
XInterface
>
m_xCalcComponent
;
...
@@ -125,6 +127,24 @@ void ScFiltersTest::testTdf36933()
...
@@ -125,6 +127,24 @@ void ScFiltersTest::testTdf36933()
xDocSh
->
DoClose
();
xDocSh
->
DoClose
();
}
}
void
ScFiltersTest
::
testTdf43700
()
{
ScDocShellRef
xDocSh
=
loadDoc
(
"fdo47300test."
,
ODS
);
xDocSh
->
DoHardRecalc
(
true
);
CPPUNIT_ASSERT_MESSAGE
(
"Failed to load fdo47300test.*"
,
xDocSh
.
Is
());
ScDocument
&
rDoc
=
xDocSh
->
GetDocument
();
OUString
aCSVFileName
;
//test hard recalc: document has an incorrect cached formula result
//hard recalc should have updated to the correct result
createCSVPath
(
OUString
(
"fdo47300test."
),
aCSVFileName
);
testFile
(
aCSVFileName
,
rDoc
,
0
);
xDocSh
->
DoClose
();
}
ScFiltersTest
::
ScFiltersTest
()
ScFiltersTest
::
ScFiltersTest
()
:
ScBootstrapFixture
(
"/sc/qa/unit/data"
)
:
ScBootstrapFixture
(
"/sc/qa/unit/data"
)
...
...
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