Files
odfstudio/vcl/CppunitTest_vcl_idle_task.mk
T
Neil Roberts 4e47309999 Add a unit test for IdleTask::waitUntilIdleDispatched
The unit test ensures that any pending tasks have actually completed
even if they temporarily release the solar mutex. Without ChangeId
Ib5c6efe31dfb5e1a5039b43702e23bf0104cd403 the function would return as
soon as the solar mutex is released instead.

Change-Id: I23f8f365d3e8198d61f805f6b5d15b6ce098055b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194194
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-11-20 09:04:05 +01:00

38 lines
1.0 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CppunitTest_CppunitTest,vcl_idle_task))
$(eval $(call gb_CppunitTest_set_include,vcl_idle_task,\
$$(INCLUDE) \
-I$(SRCDIR)/vcl/inc \
))
$(eval $(call gb_CppunitTest_add_exception_objects,vcl_idle_task, \
vcl/qa/cppunit/IdleTask \
))
$(eval $(call gb_CppunitTest_use_libraries,vcl_idle_task, \
comphelper \
sal \
salhelper \
vcl \
))
$(eval $(call gb_CppunitTest_use_sdk_api,vcl_idle_task))
$(eval $(call gb_CppunitTest_use_ure,vcl_idle_task))
$(eval $(call gb_CppunitTest_use_vcl,vcl_idle_task))
$(eval $(call gb_CppunitTest_use_rdb,vcl_idle_task,services))
$(eval $(call gb_CppunitTest_use_configuration,vcl_idle_task))
# vim: set noet sw=4 ts=4: