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
7ea71eb8
Kaydet (Commit)
7ea71eb8
authored
Eyl 25, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
n#780853 testcase
Change-Id: I5b5d5c16722d66cd3a583f9cc5d6d6bdc6da5047
üst
73bd9374
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
n780853.docx
sw/qa/extras/ooxmlimport/data/n780853.docx
+0
-0
ooxmlimport.cxx
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+15
-0
No files found.
sw/qa/extras/ooxmlimport/data/n780853.docx
0 → 100644
Dosyayı görüntüle @
7ea71eb8
File added
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Dosyayı görüntüle @
7ea71eb8
...
@@ -93,6 +93,7 @@ public:
...
@@ -93,6 +93,7 @@ public:
void
testN779627
();
void
testN779627
();
void
testFdo55187
();
void
testFdo55187
();
void
testN780563
();
void
testN780563
();
void
testN780853
();
CPPUNIT_TEST_SUITE
(
Test
);
CPPUNIT_TEST_SUITE
(
Test
);
#if !defined(MACOSX) && !defined(WNT)
#if !defined(MACOSX) && !defined(WNT)
...
@@ -132,6 +133,7 @@ public:
...
@@ -132,6 +133,7 @@ public:
CPPUNIT_TEST
(
testN779627
);
CPPUNIT_TEST
(
testN779627
);
CPPUNIT_TEST
(
testFdo55187
);
CPPUNIT_TEST
(
testFdo55187
);
CPPUNIT_TEST
(
testN780563
);
CPPUNIT_TEST
(
testN780563
);
CPPUNIT_TEST
(
testN780853
);
#endif
#endif
CPPUNIT_TEST_SUITE_END
();
CPPUNIT_TEST_SUITE_END
();
...
@@ -907,6 +909,19 @@ void Test::testN780563()
...
@@ -907,6 +909,19 @@ void Test::testN780563()
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
1
),
xTables
->
getCount
(
));
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
1
),
xTables
->
getCount
(
));
}
}
void
Test
::
testN780853
()
{
/*
* The problem was that the table was not imported.
*
* xray ThisComponent.TextTables.Count 'was 0
*/
load
(
"n780853.docx"
);
uno
::
Reference
<
text
::
XTextTablesSupplier
>
xTextTablesSupplier
(
mxComponent
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
container
::
XIndexAccess
>
xIndexAccess
(
xTextTablesSupplier
->
getTextTables
(),
uno
::
UNO_QUERY
);
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
1
),
xIndexAccess
->
getCount
());
}
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