summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scautoformatobj.cxx
diff options
context:
space:
mode:
authorRahul Gurung <gurungrahul2@gmail.com>2018-10-13 00:18:58 +0530
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-11-02 06:29:58 +0100
commit9329d18235d21a00dbc724ba3251e95fbb675588 (patch)
treebfbc019405aa3957b609ad05709abd7d448f049e /sc/qa/extras/scautoformatobj.cxx
parent68af083f9a8e3904aa3c341da5c598212da68f6f (diff)
tdf#45904 Move _XEnumerationAccess Java Tests to C++
Change-Id: Id0aa9f3587fc6427bdbd938293eb3cc564c52bb1 Reviewed-on: https://gerrit.libreoffice.org/61731 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/qa/extras/scautoformatobj.cxx')
-rw-r--r--sc/qa/extras/scautoformatobj.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/sc/qa/extras/scautoformatobj.cxx b/sc/qa/extras/scautoformatobj.cxx
index 851f6dce34ac..518b967335b1 100644
--- a/sc/qa/extras/scautoformatobj.cxx
+++ b/sc/qa/extras/scautoformatobj.cxx
@@ -8,6 +8,7 @@
*/
#include <test/calc_unoapi_test.hxx>
+#include <test/container/xenumerationaccess.hxx>
#include <test/sheet/tableautoformat.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -25,7 +26,10 @@ using namespace com::sun::star;
namespace sc_apitest
{
-class ScAutoFormatObj : public CalcUnoApiTest, public apitest::TableAutoFormat
+class ScAutoFormatObj : public CalcUnoApiTest,
+ public apitest::XEnumerationAccess,
+ public apitest::TableAutoFormat
+
{
public:
ScAutoFormatObj();
@@ -36,6 +40,9 @@ public:
CPPUNIT_TEST_SUITE(ScAutoFormatObj);
+ // XEnumerationAccess
+ CPPUNIT_TEST(testCreateEnumeration);
+
// TableAutoFormat
CPPUNIT_TEST(testTableAutoFormatProperties);