summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-10-20 14:54:44 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-10-20 19:59:29 +0200
commit4856b94ae1d851546b2a95622f78af8b1be798a6 (patch)
tree51ee9ada6e5631d9079c58f4aa86b0ef6d2a011e /include
parentb814c51ef7642f1a54294f945465e7d657533b4e (diff)
CalcUnoApiTest: factor out common code
Change-Id: I1a56f152d6c6e6bca55ef20d0d52da2d82b77a8f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141565 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r--include/test/calc_unoapi_test.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/test/calc_unoapi_test.hxx b/include/test/calc_unoapi_test.hxx
index 369e48b877f2..5bca2c150f93 100644
--- a/include/test/calc_unoapi_test.hxx
+++ b/include/test/calc_unoapi_test.hxx
@@ -11,6 +11,7 @@
#define INCLUDED_TEST_CALC_UNOAPI_TEST_HXX
#include <test/unoapi_test.hxx>
+#include <unotools/tempfile.hxx>
// basic uno api test class for calc
@@ -25,6 +26,9 @@ public:
css::uno::Any executeMacro(const OUString& rScriptURL,
const css::uno::Sequence<css::uno::Any>& rParams = {});
+ utl::TempFileNamed save(const OUString& rFilter);
+ void saveAndReload(const OUString& rFilter);
+
protected:
// reference to document component that we are testing
css::uno::Reference<css::lang::XComponent> mxComponent;