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
14f230d3
Kaydet (Commit)
14f230d3
authored
Kas 02, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
A little more check won't hurt...
Change-Id: I1cd3fb194b78eb11cb91b7779cab32a461046d9f
üst
09c38e8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ucalc.cxx
sc/qa/unit/ucalc.cxx
+2
-0
No files found.
sc/qa/unit/ucalc.cxx
Dosyayı görüntüle @
14f230d3
...
@@ -5214,11 +5214,13 @@ void Test::testShiftCells()
...
@@ -5214,11 +5214,13 @@ void Test::testShiftCells()
m_pDoc
->
InsertCol
(
3
,
0
,
3
,
0
,
3
,
1
);
m_pDoc
->
InsertCol
(
3
,
0
,
3
,
0
,
3
,
1
);
OUString
aStr
=
m_pDoc
->
GetString
(
5
,
3
,
0
);
OUString
aStr
=
m_pDoc
->
GetString
(
5
,
3
,
0
);
CPPUNIT_ASSERT_MESSAGE
(
"We should have a string cell here."
,
aStr
==
aTestVal
);
CPPUNIT_ASSERT_MESSAGE
(
"We should have a string cell here."
,
aStr
==
aTestVal
);
CPPUNIT_ASSERT_MESSAGE
(
"D5 is supposed to be blank."
,
m_pDoc
->
IsBlockEmpty
(
0
,
3
,
4
,
3
,
4
));
// Delete cell D5, to shift the text cell back into D5.
// Delete cell D5, to shift the text cell back into D5.
m_pDoc
->
DeleteCol
(
3
,
0
,
3
,
0
,
3
,
1
);
m_pDoc
->
DeleteCol
(
3
,
0
,
3
,
0
,
3
,
1
);
aStr
=
m_pDoc
->
GetString
(
4
,
3
,
0
);
aStr
=
m_pDoc
->
GetString
(
4
,
3
,
0
);
CPPUNIT_ASSERT_MESSAGE
(
"We should have a string cell here."
,
aStr
==
aTestVal
);
CPPUNIT_ASSERT_MESSAGE
(
"We should have a string cell here."
,
aStr
==
aTestVal
);
CPPUNIT_ASSERT_MESSAGE
(
"E5 is supposed to be blank."
,
m_pDoc
->
IsBlockEmpty
(
0
,
4
,
4
,
4
,
4
));
m_pDoc
->
DeleteTab
(
0
);
m_pDoc
->
DeleteTab
(
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