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
50c0ce4b
Kaydet (Commit)
50c0ce4b
authored
Mar 28, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
testcase for
6718482c
Change-Id: I32643128598e584076af41d0e4a2ceb58817a4d7
üst
584322cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
ooxmlimport.cxx
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+10
-0
No files found.
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Dosyayı görüntüle @
50c0ce4b
...
@@ -123,6 +123,7 @@ public:
...
@@ -123,6 +123,7 @@ public:
void
testToolsLineNumbering
();
void
testToolsLineNumbering
();
void
testFdo60922
();
void
testFdo60922
();
void
testFdo59273
();
void
testFdo59273
();
void
testTableWidth
();
CPPUNIT_TEST_SUITE
(
Test
);
CPPUNIT_TEST_SUITE
(
Test
);
#if !defined(MACOSX) && !defined(WNT)
#if !defined(MACOSX) && !defined(WNT)
...
@@ -197,6 +198,7 @@ void Test::run()
...
@@ -197,6 +198,7 @@ void Test::run()
{
"tools-line-numbering.docx"
,
&
Test
::
testToolsLineNumbering
},
{
"tools-line-numbering.docx"
,
&
Test
::
testToolsLineNumbering
},
{
"fdo60922.docx"
,
&
Test
::
testFdo60922
},
{
"fdo60922.docx"
,
&
Test
::
testFdo60922
},
{
"fdo59273.docx"
,
&
Test
::
testFdo59273
},
{
"fdo59273.docx"
,
&
Test
::
testFdo59273
},
{
"table_width.docx"
,
&
Test
::
testTableWidth
},
};
};
header
();
header
();
for
(
unsigned
int
i
=
0
;
i
<
SAL_N_ELEMENTS
(
aMethods
);
++
i
)
for
(
unsigned
int
i
=
0
;
i
<
SAL_N_ELEMENTS
(
aMethods
);
++
i
)
...
@@ -1300,6 +1302,14 @@ void Test::testFdo59273()
...
@@ -1300,6 +1302,14 @@ void Test::testFdo59273()
CPPUNIT_ASSERT_EQUAL
(
sal_Int16
(
7499
),
getProperty
<
uno
::
Sequence
<
text
::
TableColumnSeparator
>
>
(
xTableRows
->
getByIndex
(
0
),
"TableColumnSeparators"
)[
2
].
Position
);
CPPUNIT_ASSERT_EQUAL
(
sal_Int16
(
7499
),
getProperty
<
uno
::
Sequence
<
text
::
TableColumnSeparator
>
>
(
xTableRows
->
getByIndex
(
0
),
"TableColumnSeparators"
)[
2
].
Position
);
}
}
void
Test
::
testTableWidth
()
{
uno
::
Reference
<
text
::
XTextTablesSupplier
>
xTablesSupplier
(
mxComponent
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
container
::
XIndexAccess
>
xTables
(
xTablesSupplier
->
getTextTables
(),
uno
::
UNO_QUERY
);
// Relative width wasn't recognized during import.
CPPUNIT_ASSERT_EQUAL
(
true
,
bool
(
getProperty
<
sal_Bool
>
(
xTables
->
getByIndex
(
0
),
"IsWidthRelative"
)));
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Test
);
CPPUNIT_TEST_SUITE_REGISTRATION
(
Test
);
CPPUNIT_PLUGIN_IMPLEMENT
();
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