diff options
author | Noel Grandin <noel@peralex.com> | 2021-09-01 10:58:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-01 20:42:40 +0200 |
commit | e25ba7dc57229d1cb9794abd1ca23c0d87ebecb3 (patch) | |
tree | 8c95e0c81e003410526cb4ad8357eab3a2db0f44 /postprocess/qa | |
parent | 86576cef2c77c8dc78e374aadaadf018610ed6f4 (diff) |
use a dummy clipboard when running unit tests
so the multiple unit tests don't stomp on each other.
This fixes a couple of things in my earlier attempt
(*) actually set the env variable on Windows
(*) don't use a global variable to test the env var, because that
variable might be initialised BEFORE the env var is actually set
Change-Id: Id43a1dd2fbd324691e0b6578c9026b8a523012e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121436
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'postprocess/qa')
-rw-r--r-- | postprocess/qa/services.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/postprocess/qa/services.cxx b/postprocess/qa/services.cxx index 5ff9f63f522b..2912356d40ea 100644 --- a/postprocess/qa/services.cxx +++ b/postprocess/qa/services.cxx @@ -350,11 +350,7 @@ void Test::createInstance( } else if (name == "com.sun.star.datatransfer.clipboard.SystemClipboard") { // SystemClipboard is a wrapper returning either a platform-specific or // the generic VCLGenericClipboard: -#if defined(_WIN32) - expImpl = "com.sun.star.datatransfer.clipboard.ClipboardW32"; -#else expImpl = "com.sun.star.datatransfer.VCLGenericClipboard"; -#endif #if !defined(_WIN32) } else if (name == "com.sun.star.comp.datatransfer.dnd.OleDragSource_V1" || name == "com.sun.star.datatransfer.dnd.XdndSupport") |