From d218b93a535085c85889164d45a83c3a519f9f4b Mon Sep 17 00:00:00 2001 From: Henri Chain Date: Tue, 18 Feb 2020 23:21:30 +0100 Subject: Fix code generation for entries with min/max Summary: - When GenerateProperties and Mutators are activated, the generated code did not handle min/max properly - In the case of a parameterized entry, generated code also did not handle min/max BUG: 418146 Test Plan: - auto tests included Reviewers: meven, crossi, ervin, bport, tcanabrava Reviewed By: meven, ervin Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D27497 --- autotests/kconfig_compiler/kconfigcompiler_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'autotests/kconfig_compiler/kconfigcompiler_test.cpp') diff --git a/autotests/kconfig_compiler/kconfigcompiler_test.cpp b/autotests/kconfig_compiler/kconfigcompiler_test.cpp index d5b7baa2..e4892e4f 100644 --- a/autotests/kconfig_compiler/kconfigcompiler_test.cpp +++ b/autotests/kconfig_compiler/kconfigcompiler_test.cpp @@ -53,6 +53,8 @@ static CompilerTestSet testCases = { "test_translation_kde_domain.cpp", "test_translation_kde_domain.h", "test_translation_qt.cpp", "test_translation_qt.h", "test_emptyentries.cpp", "test_emptyentries.h", + "test_properties_minmax.cpp", "test_properties_minmax.h", + "test_param_minmax.cpp", "test_param_minmax.h", nullptr }; @@ -78,6 +80,8 @@ static CompilerTestSet testCasesToRun = { "test_translation_kde_domain", "test_translation_qt", "test_emptyentries", + "test_properties_minmax", + "test_param_minmax", nullptr }; -- cgit v1.2.1