From 43175441670496240cbfae14ac19f2384888bf74 Mon Sep 17 00:00:00 2001 From: Wolfgang Bremer Date: Fri, 2 Jun 2023 13:17:31 +0200 Subject: [PATCH] test(qt): extend var and param filter tests --- pkg/gen/filters/filterqt/qt_param_test.go | 3 +++ pkg/gen/filters/filterqt/qt_var_test.go | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pkg/gen/filters/filterqt/qt_param_test.go b/pkg/gen/filters/filterqt/qt_param_test.go index 3c188db6..a598eea3 100644 --- a/pkg/gen/filters/filterqt/qt_param_test.go +++ b/pkg/gen/filters/filterqt/qt_param_test.go @@ -29,6 +29,9 @@ func TestParam(t *testing.T) { {"test", "Test1", "propFloat32Array", "const QList& propFloat32Array"}, {"test", "Test1", "propFloat64Array", "const QList& propFloat64Array"}, {"test", "Test1", "propStringArray", "const QList& propStringArray"}, + {"test", "Test1", "prop_Bool", "bool prop_Bool"}, + {"test", "Test1", "prop_bool", "bool prop_bool"}, + {"test", "Test1", "prop_1", "bool prop_1"}, } syss := loadTestSystems(t) for _, sys := range syss { diff --git a/pkg/gen/filters/filterqt/qt_var_test.go b/pkg/gen/filters/filterqt/qt_var_test.go index 0790b6fc..96616fd5 100644 --- a/pkg/gen/filters/filterqt/qt_var_test.go +++ b/pkg/gen/filters/filterqt/qt_var_test.go @@ -33,6 +33,9 @@ func TestVar(t *testing.T) { {"test", "Test1", "propFloat32Array", "propFloat32Array"}, {"test", "Test1", "propFloat64Array", "propFloat64Array"}, {"test", "Test1", "propStringArray", "propStringArray"}, + {"test", "Test1", "prop_Bool", "prop_Bool"}, + {"test", "Test1", "prop_bool", "prop_bool"}, + {"test", "Test1", "prop_1", "prop_1"}, } for _, sys := range syss { for _, tt := range propTests {