aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/kconfigcompiler_test.cpp
diff options
context:
space:
mode:
authorHenri Chain <henri.chain@enioka.com>2020-02-18 23:21:30 +0100
committerHenri Chain <henri.chain@enioka.com>2020-02-25 15:46:53 +0100
commitd218b93a535085c85889164d45a83c3a519f9f4b (patch)
treeb9c051db2691321c6ef604cd138342b0f3e39fea /autotests/kconfig_compiler/kconfigcompiler_test.cpp
parentc8bf5e96cf2f25bb85330cf2587e2e365e6f0f71 (diff)
downloadkconfig-d218b93a535085c85889164d45a83c3a519f9f4b.tar.gz
kconfig-d218b93a535085c85889164d45a83c3a519f9f4b.tar.bz2
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
Diffstat (limited to 'autotests/kconfig_compiler/kconfigcompiler_test.cpp')
-rw-r--r--autotests/kconfig_compiler/kconfigcompiler_test.cpp4
1 files changed, 4 insertions, 0 deletions
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
};