diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-03-08 22:48:04 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-03-09 02:52:05 +0100 |
commit | fe632c86aa250bb355a59ce6acf4dd75eae7afe0 (patch) | |
tree | ff65bda88c7d37e1db9b93c1b22741f64c8c8382 /include/test | |
parent | e1a42835d948b21f9d99d23feef5ae0f56ae3563 (diff) |
tdf#45904 Move XRefreshable Java tests to C++
Move XRefreshable Java tests to C++ for ScAreaLinkObj.
To make this test work, had to provide parameter aSourceArea (in this
case file sc/qa/extras/testdocuments/scarealinkobj.ods). All the other
depended tests of ScAreaLinkObj had to adjusted to the new test
environment.
Also fixes i84711, because the XRefreshable test runs independent from
the other tests, as mentioned in the bug description.
Change-Id: I8847813431e2fdd60ed95be0f7d115bcaeafe500
Reviewed-on: https://gerrit.libreoffice.org/68949
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'include/test')
-rw-r--r-- | include/test/sheet/cellarealink.hxx | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/include/test/sheet/cellarealink.hxx b/include/test/sheet/cellarealink.hxx index a5f63747d316..6eff944ae7be 100644 --- a/include/test/sheet/cellarealink.hxx +++ b/include/test/sheet/cellarealink.hxx @@ -11,15 +11,22 @@ #define INCLUDED_TEST_SHEET_CELLAREALINK_HXX #include <com/sun/star/uno/XInterface.hpp> + #include <com/sun/star/uno/Reference.hxx> -#include <test/testdllapi.hxx> -namespace apitest { +#include <test/testdllapi.hxx> +#include <rtl/string.hxx> +namespace apitest +{ class OOO_DLLPUBLIC_TEST CellAreaLink { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + CellAreaLink(const OUString& rFileURL) + : m_aFileURL(rFileURL) + { + } + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testUrl(); void testFilter(); @@ -29,9 +36,12 @@ public: protected: ~CellAreaLink() {} + +private: + OUString const m_aFileURL; }; -} +} // namespace apitest #endif // INCLUDED_TEST_SHEET_CELLAREALINK_HXX |