diff options
author | Jens Carl <j.carl43@gmx.de> | 2018-01-03 05:42:01 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2018-01-03 08:25:56 +0100 |
commit | 056575f7ceff003348783f7611f84a68463fa8c8 (patch) | |
tree | 586ce538b805c9c9dd9f0280ae96d9decf5a9d49 /sc/qa/extras/sctablevalidationobj.cxx | |
parent | acdba3c2eee18ef0c079b7c41cd4165e06c956c7 (diff) |
tdf#45904 Move _TableValidation Java tests to C++
Fixes #i90346.
Change-Id: Iec7e5ebfe28d3d26f5c50950ee2d3f5fc890da65
Reviewed-on: https://gerrit.libreoffice.org/47292
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc/qa/extras/sctablevalidationobj.cxx')
-rw-r--r-- | sc/qa/extras/sctablevalidationobj.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sc/qa/extras/sctablevalidationobj.cxx b/sc/qa/extras/sctablevalidationobj.cxx index 1fe21046071b..03dd18993305 100644 --- a/sc/qa/extras/sctablevalidationobj.cxx +++ b/sc/qa/extras/sctablevalidationobj.cxx @@ -8,6 +8,7 @@ */ #include <test/calc_unoapi_test.hxx> +#include <test/sheet/tablevalidation.hxx> #include <test/sheet/xsheetcondition.hxx> #include <com/sun/star/beans/XPropertySet.hpp> @@ -28,9 +29,11 @@ using namespace com::sun::star; namespace sc_apitest { -#define NUMBER_OF_TESTS 4 +#define NUMBER_OF_TESTS 5 -class ScTableValidationObj : public CalcUnoApiTest, public apitest::XSheetCondition +class ScTableValidationObj : public CalcUnoApiTest, + public apitest::TableValidation, + public apitest::XSheetCondition { public: ScTableValidationObj(); @@ -41,6 +44,9 @@ public: CPPUNIT_TEST_SUITE(ScTableValidationObj); + // TableValidation + CPPUNIT_TEST(testTableValidationProperties); + // XSheetCondition CPPUNIT_TEST(testGetSetFormula1); CPPUNIT_TEST(testGetSetFormula2); |