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
2da75cea
Kaydet (Commit)
2da75cea
authored
Nis 14, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#76294: Write import test for this.
Change-Id: I4d2f98117b783e801916f99fd99e69d43e161e2d
üst
981590d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
literal-in-formula.xls
sc/qa/unit/data/xls/shared-string/literal-in-formula.xls
+0
-0
subsequent_filters-test.cxx
sc/qa/unit/subsequent_filters-test.cxx
+16
-0
No files found.
sc/qa/unit/data/xls/shared-string/literal-in-formula.xls
0 → 100644
Dosyayı görüntüle @
2da75cea
File added
sc/qa/unit/subsequent_filters-test.cxx
Dosyayı görüntüle @
2da75cea
...
...
@@ -124,6 +124,8 @@ public:
void
testNewCondFormatODS
();
void
testNewCondFormatXLSX
();
void
testLiteralInFormulaXLS
();
//change this test file only in excel and not in calc
void
testCellValueXLSX
();
...
...
@@ -211,6 +213,7 @@ public:
CPPUNIT_TEST
(
testColorScaleXLSX
);
CPPUNIT_TEST
(
testNewCondFormatODS
);
CPPUNIT_TEST
(
testNewCondFormatXLSX
);
CPPUNIT_TEST
(
testLiteralInFormulaXLS
);
CPPUNIT_TEST
(
testNumberFormatHTML
);
CPPUNIT_TEST
(
testNumberFormatCSV
);
...
...
@@ -2347,6 +2350,19 @@ void ScFiltersTest::testNewCondFormatXLSX()
xDocSh
->
DoClose
();
}
void
ScFiltersTest
::
testLiteralInFormulaXLS
()
{
ScDocShellRef
xDocSh
=
loadDoc
(
"shared-string/literal-in-formula."
,
XLS
);
CPPUNIT_ASSERT
(
xDocSh
.
Is
());
ScDocument
*
pDoc
=
xDocSh
->
GetDocument
();
pDoc
->
CalcAll
();
CPPUNIT_ASSERT_EQUAL
(
2.0
,
pDoc
->
GetValue
(
ScAddress
(
0
,
0
,
0
)));
xDocSh
->
DoClose
();
}
void
ScFiltersTest
::
testFormulaDependency
()
{
ScDocShellRef
xDocSh
=
ScBootstrapFixture
::
loadDoc
(
"dependencyTree."
,
ODS
);
...
...
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