office-gobmx/framework/CppunitTest_framework_CheckXTitle.mk
Adam Seskunas 4078428a40 Port framework/qa/complex/XTitle/CheckXTile.java to Cppunit
framework
    - Remove CheckXTitle.java from makefiles
    - Create new makefile for CheckXTitle

framework qa complex XTitle
    - Remove JUnit test

framework qa cppunit
    - Add new CppUnit test suit CheckXTitle.cxx
    - checkDefaultTitle: tests if default title is the same after cycling through the default window and print preview
    - checkTitleDefaultFileName: tests if a window title set with  SuggestedSaveAs is in fact set with said name
    - setTitleAndCheck: tests if after setting window title and cycling through default window and print preview, there is infinite recursion

Change-Id: If7794f0f853ef427bb735a22752cff3635f5ff63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168168
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-06-04 09:11:39 +02:00

43 lines
1.2 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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,framework_CheckXTitle))
$(eval $(call gb_CppunitTest_add_exception_objects,framework_CheckXTitle, \
framework/qa/cppunit/CheckXTitle \
))
$(eval $(call gb_CppunitTest_use_sdk_api,framework_CheckXTitle))
$(eval $(call gb_CppunitTest_use_libraries,framework_CheckXTitle, \
comphelper \
cppu \
cppuhelper \
sal \
salhelper \
subsequenttest \
test \
unotest \
utl \
tl \
vcl \
))
$(eval $(call gb_CppunitTest_use_external,framework_CheckXTitle,boost_headers))
$(eval $(call gb_CppunitTest_use_sdk_api,framework_CheckXTitle))
$(eval $(call gb_CppunitTest_use_ure,framework_CheckXTitle))
$(eval $(call gb_CppunitTest_use_vcl,framework_CheckXTitle))
$(eval $(call gb_CppunitTest_use_rdb,framework_CheckXTitle,services))
$(eval $(call gb_CppunitTest_use_configuration,framework_CheckXTitle))
# vim: set noet sw=4 ts=4: