cppunittester: use a dedicated desktop on Windows
commit236bf42fac81c074a07c193991e496d4c171e36e
authorMike Kaganski <mike.kaganski@collabora.com>
Fri, 7 Jul 2023 13:02:08 +0000 (7 16:02 +0300)
committerMichael Stahl <michael.stahl@allotropia.de>
Mon, 10 Jul 2023 17:38:58 +0000 (10 19:38 +0200)
treeee3c5312b657e11eca697fd277049aad42a3afef
parentf11e83f29852de8c2ba6fe0c9abe547c92bb1063
cppunittester: use a dedicated desktop on Windows

Since introduction of accessibility tests infrastructure in commit
0185ddd6d5f0324ba57b3fa36229103a6b27138e (Add infrastructure and
basic tests including slight UI interaction, 2022-08-01) and the
respective tests, running 'make check' on Windows produces pop-up
dialogs, while these tests run. These dialogs distract, steal focus,
swallow text that I type elsewhere, and may fail the tests if
accidental user input interferes with what the tests check.

This commit creates a dedicated system desktop for cppunittests,
which would be isolated from the active desktop, yet allow creation
of windows, thus not preventing accessibility testing. This way,
it workarounds unavailability of svp vcl plugin on Windows.

Change-Id: I83db54c82bfe98d14171355cc19cdd5767549fdb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154194
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit 1f24d35033c2f02335ce254bbcf6ba89e1b7565e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154189
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
sal/cppunittester/cppunittester.cxx