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
6ce7a5bd
Kaydet (Commit)
6ce7a5bd
authored
Eyl 30, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: clean up one more test
Change-Id: Icfcdbedaf6b123fc726e2298ac47698940b36091
üst
f9453275
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
rtfimport.cxx
sw/qa/extras/rtfimport/rtfimport.cxx
+5
-12
No files found.
sw/qa/extras/rtfimport/rtfimport.cxx
Dosyayı görüntüle @
6ce7a5bd
...
@@ -605,19 +605,12 @@ void Test::testFdo49501()
...
@@ -605,19 +605,12 @@ void Test::testFdo49501()
uno
::
Reference
<
beans
::
XPropertySet
>
xStyle
(
getStyles
(
"PageStyles"
)
->
getByName
(
"Default"
),
uno
::
UNO_QUERY
);
uno
::
Reference
<
beans
::
XPropertySet
>
xStyle
(
getStyles
(
"PageStyles"
)
->
getByName
(
"Default"
),
uno
::
UNO_QUERY
);
sal_Bool
bIsLandscape
=
sal_False
;
CPPUNIT_ASSERT_EQUAL
(
sal_True
,
getProperty
<
sal_Bool
>
(
xStyle
,
"IsLandscape"
));
xStyle
->
getPropertyValue
(
"IsLandscape"
)
>>=
bIsLandscape
;
CPPUNIT_ASSERT_EQUAL
(
sal_True
,
bIsLandscape
);
sal_Int32
nExpected
(
TWIP_TO_MM100
(
567
));
sal_Int32
nExpected
(
TWIP_TO_MM100
(
567
));
sal_Int32
nValue
=
0
;
CPPUNIT_ASSERT_EQUAL
(
nExpected
,
getProperty
<
sal_Int32
>
(
xStyle
,
"LeftMargin"
));
xStyle
->
getPropertyValue
(
"LeftMargin"
)
>>=
nValue
;
CPPUNIT_ASSERT_EQUAL
(
nExpected
,
getProperty
<
sal_Int32
>
(
xStyle
,
"RightMargin"
));
CPPUNIT_ASSERT_EQUAL
(
nExpected
,
nValue
);
CPPUNIT_ASSERT_EQUAL
(
nExpected
,
getProperty
<
sal_Int32
>
(
xStyle
,
"TopMargin"
));
xStyle
->
getPropertyValue
(
"RightMargin"
)
>>=
nValue
;
CPPUNIT_ASSERT_EQUAL
(
nExpected
,
getProperty
<
sal_Int32
>
(
xStyle
,
"BottomMargin"
));
CPPUNIT_ASSERT_EQUAL
(
nExpected
,
nValue
);
xStyle
->
getPropertyValue
(
"TopMargin"
)
>>=
nValue
;
CPPUNIT_ASSERT_EQUAL
(
nExpected
,
nValue
);
xStyle
->
getPropertyValue
(
"BottomMargin"
)
>>=
nValue
;
CPPUNIT_ASSERT_EQUAL
(
nExpected
,
nValue
);
}
}
void
Test
::
testFdo49271
()
void
Test
::
testFdo49271
()
...
...
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