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
4caa1baf
Kaydet (Commit)
4caa1baf
authored
Eyl 25, 2012
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add new test ( disabled ) to show still unresolved problem :-(
Change-Id: I1469d95ae8492fd24094b52033e23f0318bc0190
üst
3f79d490
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
subsequent_filters-test.cxx
sc/qa/unit/subsequent_filters-test.cxx
+7
-1
No files found.
sc/qa/unit/subsequent_filters-test.cxx
Dosyayı görüntüle @
4caa1baf
...
...
@@ -644,7 +644,7 @@ void testFormats_Impl(ScFiltersTest* pFiltersTest, ScDocument* pDoc, sal_Int32 n
rtl
::
OUString
sExpected
(
"Excel Built-in Date"
);
rtl
::
OUString
sResult
=
pStyleSheet
->
GetName
();
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
"parent style for Sheet4.B2 is 'Excel Built-in Date'"
,
sExpected
,
sResult
);
// check align
// check align
of style
SfxItemSet
&
rItemSet
=
pStyleSheet
->
GetItemSet
();
eHorJustify
=
static_cast
<
SvxCellHorJustify
>
(
static_cast
<
const
SvxHorJustifyItem
&
>
(
rItemSet
.
Get
(
ATTR_HOR_JUSTIFY
)
).
GetValue
()
);
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
"'Excel Built-in Date' style should be aligned centre horizontally"
,
SVX_HOR_JUSTIFY_CENTER
,
eHorJustify
);
...
...
@@ -653,6 +653,12 @@ void testFormats_Impl(ScFiltersTest* pFiltersTest, ScDocument* pDoc, sal_Int32 n
sExpected
=
rtl
::
OUString
(
"29"
);
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
"'Excel Built-in Date' style should just display month"
,
sExpected
,
sResult
);
// check actual align applied to cell, should be the same as
// the style
eHorJustify
=
static_cast
<
SvxCellHorJustify
>
(
static_cast
<
const
SvxHorJustifyItem
&
>
(
pPattern
->
GetItem
(
ATTR_HOR_JUSTIFY
)
).
GetValue
()
);
#if ENABLE_WHEN_FIXED
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
"cell with 'Excel Built-in Date' style should be aligned centre horizontally"
,
SVX_HOR_JUSTIFY_CENTER
,
eHorJustify
);
#endif
}
}
...
...
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