From 828b26bdc22743974655d64dada69e154159435a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 16 Jul 2024 13:40:03 +0200 Subject: use generic clipboard when running UI tests rather than the system clipboard, which makes no sense, since then the tests interfere with each other Change-Id: I911e88f5547dfc4f3558b9ed3ef670cef4903420 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170574 Tested-by: Jenkins Reviewed-by: Xisco Fauli Reviewed-by: Noel Grandin --- vcl/inc/salinst.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl/inc/salinst.hxx') diff --git a/vcl/inc/salinst.hxx b/vcl/inc/salinst.hxx index ca6a6920bf76..45c031db30ae 100644 --- a/vcl/inc/salinst.hxx +++ b/vcl/inc/salinst.hxx @@ -214,6 +214,8 @@ public: // Note: we cannot make this a global variable, because it might be initialised BEFORE the putenv() call in cppunittester. static bool IsRunningUnitTest() { return getenv("LO_TESTNAME") != nullptr; } + static bool IsRunningUITest(); + // both must be implemented, if the VCL plugin needs to run via system event loop virtual bool DoExecute(int &nExitCode); virtual void DoQuit(); -- cgit