From ed960455a112f455695d85b1b5407db22a3369e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9ven=20Car?= Date: Wed, 26 Feb 2020 10:57:54 +0100 Subject: Fix tests after D27497 Summary: See https://phabricator.kde.org/D27497#618156 Test Plan: ctest Reviewers: hchain, ervin, bport, crossi, #frameworks Reviewed By: hchain Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D27672 --- autotests/kconfig_compiler/CMakeLists.txt | 4 ++-- autotests/kconfig_compiler/test_properties_minmax.h.ref | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'autotests') diff --git a/autotests/kconfig_compiler/CMakeLists.txt b/autotests/kconfig_compiler/CMakeLists.txt index 93ab9b09..f1a9dd8c 100644 --- a/autotests/kconfig_compiler/CMakeLists.txt +++ b/autotests/kconfig_compiler/CMakeLists.txt @@ -224,7 +224,7 @@ set(test_properties_minmax_SRCS test_properties_minmax_main.cpp) gen_kcfg_test_source(test_properties_minmax test_properties_minmax_SRCS GENERATE_MOC) ecm_add_test(${test_properties_minmax_SRCS} - TEST_NAME test-properties-minmax + TEST_NAME test_properties_minmax LINK_LIBRARIES KF5::ConfigGui ) @@ -234,7 +234,7 @@ set(test_param_minmax_SRCS test_param_minmax_main.cpp) gen_kcfg_test_source(test_param_minmax test_param_minmax_SRCS GENERATE_MOC) ecm_add_test(${test_param_minmax_SRCS} - TEST_NAME test-param-minmax + TEST_NAME test_param_minmax LINK_LIBRARIES KF5::ConfigGui ) diff --git a/autotests/kconfig_compiler/test_properties_minmax.h.ref b/autotests/kconfig_compiler/test_properties_minmax.h.ref index 26b79e63..5f222320 100644 --- a/autotests/kconfig_compiler/test_properties_minmax.h.ref +++ b/autotests/kconfig_compiler/test_properties_minmax.h.ref @@ -40,7 +40,7 @@ class TestPropertiesMinMax : public KConfigSkeleton } Q_PROPERTY(int bar READ bar WRITE setBar NOTIFY barChanged) - Q_PROPERTY(bool isBarImmutable CONSTANT) + Q_PROPERTY(bool isBarImmutable READ isBarImmutable CONSTANT) /** Get bar */ -- cgit v1.2.1