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
b54499c3
Kaydet (Commit)
b54499c3
authored
May 31, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
n#764005 testcase
Change-Id: I76f7cb8aa5b15ac03786e7294ef03ad62741987c
üst
6e770b16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
n764005.docx
sw/qa/extras/ooxmltok/data/n764005.docx
+0
-0
ooxmltok.cxx
sw/qa/extras/ooxmltok/ooxmltok.cxx
+19
-0
No files found.
sw/qa/extras/ooxmltok/data/n764005.docx
0 → 100644
Dosyayı görüntüle @
b54499c3
File added
sw/qa/extras/ooxmltok/ooxmltok.cxx
Dosyayı görüntüle @
b54499c3
...
...
@@ -62,6 +62,7 @@ public:
void
testN750255
();
void
testN652364
();
void
testN760764
();
void
testN764005
();
CPPUNIT_TEST_SUITE
(
Test
);
#if !defined(MACOSX) && !defined(WNT)
...
...
@@ -78,6 +79,7 @@ public:
CPPUNIT_TEST
(
testN750255
);
CPPUNIT_TEST
(
testN652364
);
CPPUNIT_TEST
(
testN760764
);
CPPUNIT_TEST
(
testN764005
);
#endif
CPPUNIT_TEST_SUITE_END
();
...
...
@@ -424,6 +426,23 @@ void Test::testN760764()
CPPUNIT_ASSERT_EQUAL
(
8.
f
,
fValue
);
}
void
Test
::
testN764005
()
{
load
(
"n764005.docx"
);
uno
::
Reference
<
drawing
::
XDrawPageSupplier
>
xDrawPageSupplier
(
mxComponent
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
container
::
XIndexAccess
>
xDraws
(
xDrawPageSupplier
->
getDrawPage
(),
uno
::
UNO_QUERY
);
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
(
xDraws
->
getByIndex
(
0
),
uno
::
UNO_QUERY
);
// The picture in the header wasn't absolutely positioned and wasn't in the background.
text
::
TextContentAnchorType
eValue
;
xPropertySet
->
getPropertyValue
(
"AnchorType"
)
>>=
eValue
;
CPPUNIT_ASSERT
(
eValue
!=
text
::
TextContentAnchorType_AS_CHARACTER
);
sal_Bool
bValue
=
sal_True
;
xPropertySet
->
getPropertyValue
(
"Opaque"
)
>>=
bValue
;
CPPUNIT_ASSERT_EQUAL
(
sal_False
,
bValue
);
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Test
);
CPPUNIT_PLUGIN_IMPLEMENT
();
...
...
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