summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2019-09-12 14:19:15 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2019-09-12 14:50:12 +0200
commit346c7aea64f1cdee06cdee4b7ffb1cfb63b67fb2 (patch)
tree43334798e99790620d9875d4fcd1c710c097b23b /tests
parent51d1472eb3e605c9da7030be1f7ef5ae36975aa6 (diff)
downloadqtivi-346c7aea64f1cdee06cdee4b7ffb1cfb63b67fb2.tar.gz
ivigenerator: Fix the 'server_qtro_simulator' template to handle 'getter-name' correctly
The underlying QtRO transport doesn't allow us to define the getter or setter names for the property, that's why we need to use the property name when deriving from the autogenerated source classes. Change-Id: I417e85af5460d51fab9964fc163279e5eea3afe1 Fixes: AUTOSUITE-1242 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/core/ivigenerator/org.example.echo.qface2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/core/ivigenerator/org.example.echo.qface b/tests/auto/core/ivigenerator/org.example.echo.qface
index d5d9f23..17a519c 100644
--- a/tests/auto/core/ivigenerator/org.example.echo.qface
+++ b/tests/auto/core/ivigenerator/org.example.echo.qface
@@ -19,6 +19,8 @@ interface Echo {
readonly string lastMessage;
int intValue;
var varValue;
+ @config: { getter_name: "isEchoEnabled" }
+ bool echoEnabled;
@config_simulator: {minimum: 10.}
real floatValue1;
@config_simulator: {maximum: 10.}