Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJuergen Haug2019-02-08 08:58:43 -0500
committerJuergen Haug2019-02-08 08:58:43 -0500
commit847880aae5d2f4a958a65a0c722ade786118f0b1 (patch)
tree0cd02473e408a648467b1818e52654ded62f4c28 /tests
parent47c19576049e5c032af8c9b71ab7806d680378b2 (diff)
downloadorg.eclipse.etrice-847880aae5d2f4a958a65a0c722ade786118f0b1.tar.gz
org.eclipse.etrice-847880aae5d2f4a958a65a0c722ade786118f0b1.tar.xz
org.eclipse.etrice-847880aae5d2f4a958a65a0c722ade786118f0b1.zip
Bug 543564 - [doc.gen] add operations in generated documentation
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room b/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room
index 19e28a487..fedbbd653 100644
--- a/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room
+++ b/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room
@@ -18,18 +18,15 @@ RoomModel VarargsTest {
Operation log(format: string, args: string varargs) ''''''
Operation single(args: string varargs) ''''''
Operation callTest() '''
- //log("text");
+ //log("text"); // does not work in C due varargs macro
log("text %d", "5");
log("text %d, %s", "5", text);
- //single();
+ //single(); // does not work in C due varargs macro
single("5");
single("5", "txt");
-
- // not supported by translation
- /*
+
port.callTest();
- attr.callTest();
-
+
//port.log("text");
port.log("text %d", "5");
port.log("text %d, %s", "5", "txt");
@@ -37,6 +34,9 @@ RoomModel VarargsTest {
port.single("5");
port.single("5", "txt");
+ // not supported by translation
+ /*
+ //attr.callTest();
//attr.log("text");
attr.log("text %d", "5");
attr.log("text %d, %s", "5", "txt");

Back to the top