summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-08-24 00:15:39 +0000
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-27 09:49:44 +0200
commit90b5555e3ac951c6387f1fc9110119655b23b832 (patch)
tree3b8d73b86f191867fa0fff726eb31e9c2c9f81b7 /sc
parentb2d7a1183597af19d775db584b9c280a8d21727e (diff)
tdf#45904 Move _CellAreaLink Java tests to C++
Change-Id: I82dac69dfed136eaf96771bf1ef2b8dfbf4e05aa Reviewed-on: https://gerrit.libreoffice.org/41488 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/scarealinkobj.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/sc/qa/extras/scarealinkobj.cxx b/sc/qa/extras/scarealinkobj.cxx
index f918f5116356..c2bbb3f1fb08 100644
--- a/sc/qa/extras/scarealinkobj.cxx
+++ b/sc/qa/extras/scarealinkobj.cxx
@@ -8,6 +8,8 @@
*/
#include <test/calc_unoapi_test.hxx>
+
+#include <test/sheet/cellarealink.hxx>
#include <test/sheet/xarealink.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -25,9 +27,9 @@ using namespace css::uno;
namespace sc_apitest {
-#define NUMBER_OF_TESTS 4
+#define NUMBER_OF_TESTS 9
-class ScAreaLink : public CalcUnoApiTest, public apitest::XAreaLink
+class ScAreaLink : public CalcUnoApiTest, public apitest::CellAreaLink, public apitest::XAreaLink
{
public:
ScAreaLink();
@@ -38,6 +40,13 @@ public:
CPPUNIT_TEST_SUITE(ScAreaLink);
+ // CellAreaLink
+ CPPUNIT_TEST(testUrl);
+ CPPUNIT_TEST(testFilter);
+ CPPUNIT_TEST(testFilterOptions);
+ CPPUNIT_TEST(testRefreshDelay);
+ CPPUNIT_TEST(testRefreshPeriod);
+
// XAreaLink
CPPUNIT_TEST(testGetDestArea);
CPPUNIT_TEST(testGetSourceArea);