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
54d0673b
Kaydet (Commit)
54d0673b
authored
Nis 18, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
testcase for
35b75ed5
Change-Id: Ib734717cdc293b3921c94f93b1d6d0d5e07120d5
üst
9d5276b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
ooxmlimport.cxx
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+11
-0
No files found.
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Dosyayı görüntüle @
54d0673b
...
...
@@ -124,6 +124,7 @@ public:
void
testFdo60922
();
void
testFdo59273
();
void
testTableWidth
();
void
testConditionalstylesTbllook
();
CPPUNIT_TEST_SUITE
(
Test
);
#if !defined(MACOSX) && !defined(WNT)
...
...
@@ -199,6 +200,7 @@ void Test::run()
{
"fdo60922.docx"
,
&
Test
::
testFdo60922
},
{
"fdo59273.docx"
,
&
Test
::
testFdo59273
},
{
"table_width.docx"
,
&
Test
::
testTableWidth
},
{
"conditionalstyles-tbllook.docx"
,
&
Test
::
testConditionalstylesTbllook
},
};
header
();
for
(
unsigned
int
i
=
0
;
i
<
SAL_N_ELEMENTS
(
aMethods
);
++
i
)
...
...
@@ -1313,6 +1315,15 @@ void Test::testTableWidth()
CPPUNIT_ASSERT_EQUAL
(
true
,
bool
(
getProperty
<
sal_Bool
>
(
xTables
->
getByIndex
(
0
),
"IsWidthRelative"
)));
}
void
Test
::
testConditionalstylesTbllook
()
{
uno
::
Reference
<
text
::
XTextTablesSupplier
>
xTablesSupplier
(
mxComponent
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
container
::
XIndexAccess
>
xTables
(
xTablesSupplier
->
getTextTables
(),
uno
::
UNO_QUERY
);
uno
::
Reference
<
text
::
XTextTable
>
xTable
(
xTables
->
getByIndex
(
0
),
uno
::
UNO_QUERY
);
// Background was -1.
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
0x7F7F7F
),
getProperty
<
sal_Int32
>
(
xTable
->
getCellByName
(
"A1"
),
"BackColor"
));
}
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