Skip to content

Commit

Permalink
test(qt): extend var and param filter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
w4bremer committed Jun 7, 2023
1 parent 78f8d6b commit 4317544
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/gen/filters/filterqt/qt_param_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ func TestParam(t *testing.T) {
{"test", "Test1", "propFloat32Array", "const QList<float>& propFloat32Array"},
{"test", "Test1", "propFloat64Array", "const QList<double>& propFloat64Array"},
{"test", "Test1", "propStringArray", "const QList<QString>& 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 {
Expand Down
3 changes: 3 additions & 0 deletions pkg/gen/filters/filterqt/qt_var_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4317544

Please sign in to comment.