summaryrefslogtreecommitdiff
path: root/sc/qa/extras/sceditfieldobj-cell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/sceditfieldobj-cell.cxx')
-rw-r--r--sc/qa/extras/sceditfieldobj-cell.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sc/qa/extras/sceditfieldobj-cell.cxx b/sc/qa/extras/sceditfieldobj-cell.cxx
index e7ad2ed92881..ab3217ab0f8b 100644
--- a/sc/qa/extras/sceditfieldobj-cell.cxx
+++ b/sc/qa/extras/sceditfieldobj-cell.cxx
@@ -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);