diff options
author | Juergen Haug | 2015-08-16 21:59:34 +0000 |
---|---|---|
committer | Juergen Haug | 2015-08-17 11:15:31 +0000 |
commit | 0cb48be142ff9b13f146d2a4bf89cf914ea367b1 (patch) | |
tree | 35a72cd7a7c62012eee9cb9a246b0ae29ed7625e /runtime/org.eclipse.etrice.modellib.c | |
parent | 62e2c1b58baf9e9a4ffe85841af86dee00bf6650 (diff) | |
download | org.eclipse.etrice-0cb48be142ff9b13f146d2a4bf89cf914ea367b1.tar.gz org.eclipse.etrice-0cb48be142ff9b13f146d2a4bf89cf914ea367b1.tar.xz org.eclipse.etrice-0cb48be142ff9b13f146d2a4bf89cf914ea367b1.zip |
[tests] convenient generator tests (model unit), c make build
Change-Id: Idd3a9026b3a8dce28e4520fd8704ad79e8be1217
Diffstat (limited to 'runtime/org.eclipse.etrice.modellib.c')
-rw-r--r-- | runtime/org.eclipse.etrice.modellib.c/model/Tests.room | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/org.eclipse.etrice.modellib.c/model/Tests.room b/runtime/org.eclipse.etrice.modellib.c/model/Tests.room index d4eca1a84..387b3b477 100644 --- a/runtime/org.eclipse.etrice.modellib.c/model/Tests.room +++ b/runtime/org.eclipse.etrice.modellib.c/model/Tests.room @@ -29,9 +29,6 @@ RoomModel room.basic.etunit { ActorRef lifecycleActor : TestLifecycleActor } Behavior { - Operation getTestSuiteName() : string { - "return \"unnamedTestSuite\";" - } ctor { "etUnit_open(\"log/testlog\", getTestSuiteName());" "etUnit_openTestSuite(getTestSuiteName());" @@ -40,6 +37,9 @@ RoomModel room.basic.etunit { "etUnit_closeTestSuite();" "etUnit_close();" } + Operation getTestSuiteName() : string { + "return \"unnamedTestSuite\";" + } } } @@ -51,7 +51,7 @@ RoomModel room.basic.etunit { SAP tcTimer : PTimer } Behavior { - Operation getTestCaseName() : charPtr { + Operation getTestCaseName() : string { "return \"unnamedTestCase\";" } Operation startTimeout(timeMs: uint32){ |