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
8ac758d5
Kaydet (Commit)
8ac758d5
authored
Nis 30, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Test for XPropertySet. This is still work-in-progress.
Change-Id: Icf8ddddb9a45435968bc43d8bc7a033ce5cfd702
üst
8bffba82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
sceditfieldobj-cell.cxx
sc/qa/extras/sceditfieldobj-cell.cxx
+9
-2
sceditfieldobj-header.cxx
sc/qa/extras/sceditfieldobj-header.cxx
+8
-2
No files found.
sc/qa/extras/sceditfieldobj-cell.cxx
Dosyayı görüntüle @
8ac758d5
...
...
@@ -27,6 +27,7 @@
*/
#include <test/unoapi_test.hxx>
#include <test/beans/xpropertyset.hxx>
#include <test/text/xtextfield.hxx>
#include <test/text/xtextcontent.hxx>
...
...
@@ -38,11 +39,11 @@
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#define NUMBER_OF_TESTS
3
#define NUMBER_OF_TESTS
5
namespace
sc_apitest
{
class
ScEditFieldObj_Cell
:
public
UnoApiTest
,
apitest
::
XTextField
,
apitest
::
XTextContent
class
ScEditFieldObj_Cell
:
public
UnoApiTest
,
apitest
::
XTextField
,
apitest
::
XTextContent
,
apitest
::
XPropertySet
{
public
:
ScEditFieldObj_Cell
();
...
...
@@ -55,8 +56,14 @@ public:
virtual
bool
isAttachSupported
()
{
return
true
;
}
CPPUNIT_TEST_SUITE
(
ScEditFieldObj_Cell
);
// XPropertySet
CPPUNIT_TEST
(
testGetPropertySetInfo
);
CPPUNIT_TEST
(
testGetPropertyValue
);
// XTextField
CPPUNIT_TEST
(
testGetPresentation
);
// XTextContent
CPPUNIT_TEST
(
testGetAnchor
);
CPPUNIT_TEST
(
testAttach
);
...
...
sc/qa/extras/sceditfieldobj-header.cxx
Dosyayı görüntüle @
8ac758d5
...
...
@@ -27,6 +27,7 @@
*/
#include <test/unoapi_test.hxx>
#include <test/beans/xpropertyset.hxx>
#include <test/text/xtextfield.hxx>
#include <test/text/xtextcontent.hxx>
...
...
@@ -41,11 +42,11 @@
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#include <com/sun/star/sheet/XHeaderFooterContent.hpp>
#define NUMBER_OF_TESTS
2
#define NUMBER_OF_TESTS
4
namespace
sc_apitest
{
class
ScEditFieldObj_Header
:
public
UnoApiTest
,
apitest
::
XTextContent
class
ScEditFieldObj_Header
:
public
UnoApiTest
,
apitest
::
XTextContent
,
apitest
::
XPropertySet
{
public
:
ScEditFieldObj_Header
();
...
...
@@ -58,6 +59,11 @@ public:
virtual
bool
isAttachSupported
()
{
return
false
;
}
CPPUNIT_TEST_SUITE
(
ScEditFieldObj_Header
);
// XPropertySet
CPPUNIT_TEST
(
testGetPropertySetInfo
);
CPPUNIT_TEST
(
testGetPropertyValue
);
// XTextContent
CPPUNIT_TEST
(
testGetAnchor
);
CPPUNIT_TEST
(
testAttach
);
...
...
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