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
40732062
Kaydet (Commit)
40732062
authored
Haz 23, 2012
tarafından
Daniel Bankston
Kaydeden (comit)
Kohei Yoshida
Tem 12, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add unit test for ODS row height import
Change-Id: If8535f80d2f2cd57132d9d694d6bb2535df31c80
üst
d40e6534
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
subsequent_filters-test.cxx
sc/qa/unit/subsequent_filters-test.cxx
+4
-2
No files found.
sc/qa/unit/subsequent_filters-test.cxx
Dosyayı görüntüle @
40732062
...
...
@@ -460,8 +460,10 @@ void testFormats_Impl(ScFiltersTest* pFiltersTest, ScDocument* pDoc, sal_Int32 n
pPattern
=
pDoc
->
GetPattern
(
1
,
3
,
1
);
pPattern
->
GetFont
(
aFont
,
SC_AUTOCOL_RAW
);
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
"font should be underlined with a dotted line"
,
UNDERLINE_DOTTED
,
aFont
.
GetUnderline
());
//test case for proper import height of first row with styles and text (related to i53253)
CPPUNIT_ASSERT_EQUAL
(
static_cast
<
sal_uInt16
>
(
253
),
pDoc
->
GetRowHeight
(
0
,
1
)
);
//check row height import
CPPUNIT_ASSERT_EQUAL
(
static_cast
<
sal_uInt16
>
(
256
),
pDoc
->
GetRowHeight
(
0
,
1
)
);
//0.178in
CPPUNIT_ASSERT_EQUAL
(
static_cast
<
sal_uInt16
>
(
304
),
pDoc
->
GetRowHeight
(
1
,
1
)
);
//0.211in
CPPUNIT_ASSERT_EQUAL
(
static_cast
<
sal_uInt16
>
(
477
),
pDoc
->
GetRowHeight
(
5
,
1
)
);
//0.3311in
//test case for i53253 where a cell has text with different styles and space between the text.
rtl
::
OUString
aTestStr
;
pDoc
->
GetString
(
3
,
0
,
1
,
aTestStr
);
...
...
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