Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.etrice.generator.common.tests/models/generator.c.tests.config')
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/generator.c.tests.config278
1 files changed, 139 insertions, 139 deletions
diff --git a/tests/org.eclipse.etrice.generator.common.tests/models/generator.c.tests.config b/tests/org.eclipse.etrice.generator.common.tests/models/generator.c.tests.config
index 651408da8..9d691ad01 100644
--- a/tests/org.eclipse.etrice.generator.common.tests/models/generator.c.tests.config
+++ b/tests/org.eclipse.etrice.generator.common.tests/models/generator.c.tests.config
@@ -1,140 +1,140 @@
-ConfigModel StaticTestConfig {
-
- import CGenTests.* from "generator.c.tests.room"
- import StaticConfigTest.* from "StaticConfigTest.room"
-
- ActorClassConfig Tester_ac {
- // nothing
- }
-
- ActorClassConfig Testee_1_ac {
- Attr data_1 {
- Attr bool_c = false
- Attr bool_i = false
- Attr int8_c = 24
- Attr int8_i = 24
- Attr int16_c = 48
- Attr int16_i = 48
- Attr int32_c = 96
- Attr int32_i = 96
- Attr int64_c = 192
- Attr int64_i = 192
- Attr float32_c = 9.6
- Attr float32_i = 9.6
- Attr float64_c = 19.2
- Attr float64_i = 19.2
- Attr char_c = "C"
- Attr char_i = "C"
- Attr string_c = ":)"
- Attr string_i = ":)"
-
- Attr bool_array_c = true, false
- Attr bool_array_i = true, false
- Attr int8_array_c = 24, 48
- Attr int8_array_i = 24, 48
- Attr int16_array_c = 48, 96
- Attr int16_array_i = 48, 96
- Attr int32_array_c = 96, 192
- Attr int32_array_i = 96, 192
- Attr int64_array_c = 192, 384
- Attr int64_array_i = 192, 384
- Attr float32_array_c = 9.6
- Attr float32_array_i = 9.6
- Attr float64_array_c = 19.2
- Attr float64_array_i = 19.2
- Attr char_array_c = "Claz"
- Attr char_array_i = "Claz"
-
- Attr data_2 {
- Attr int32_c = 42
- Attr int32_i = 42
- }
- }
- }
-
- ActorClassConfig Testee_Super2_ac {
- Attr float64_super_c = 2.2
- Attr float64_super_i = 2.2
- }
-
- ActorClassConfig Testee_2_ac {
- Attr int32_own_c = 12
- Attr int32_own_i = 12
- }
-
- ProtocolClassConfig TestProtocolAttributes {
- regular Port{
- Attr float_c = 3.0
- Attr float_i = 3.0
- }
- conjugate Port {
- Attr array2_c = 16, 32
- Attr array2_i = 16, 32
- }
- }
-
- ProtocolClassConfig TestProtocolWithDataClass {
- conjugate Port {
- Attr sap_data_2{
- Attr int32_c = 2
- Attr int32_i = 2
- }
- }
- }
-
- ActorInstanceConfig CGenTests/scTest/top/tester {
- // nothing
- }
-
- ActorInstanceConfig CGenTests/scTest/top/testee_1 {
- Attr data_1 {
- Attr bool_i = true
- Attr int8_i = 2
- Attr int16_i = 4
- Attr int32_i = 8
- Attr int64_i = 16
- Attr float32_i = 1.6
- Attr float64_i = 3.2
- Attr char_i = "I"
- Attr string_i = ":]"
-
- Attr bool_array_i = true, true
- Attr int8_array_i = 2, 6
- Attr int16_array_i = 4, 12
- Attr int32_array_i = 8, 24
- Attr int64_array_i = 16, 48
- Attr float32_array_i = 1.6
- Attr float64_array_i = 3.2
- Attr char_array_i = "Inst"
-
- Attr data_2 {
- Attr int32_i = 43
- }
- }
- InterfaceItem conj_port {
- Attr array2_i = 1, 2
- }
- }
-
-
- ActorInstanceConfig CGenTests/scTest/top/tester/testee_super2{
- Attr float64_super_i = 3.3
- InterfaceItem reg_port {
- Attr float_i = 25.0
- }
- }
-
- ActorInstanceConfig CGenTests/scTest/top/testee_1/testee_2 {
- Attr float64_super_i = 4.4
- Attr int32_own_i = 13
- InterfaceItem reg_port {
- Attr float_i = 50.0
- }
- InterfaceItem sap {
- Attr sap_data_2 {
- Attr int32_i = 3
- }
- }
- }
-
+ConfigModel StaticTestConfig {
+
+ import CGenTests.* from "generator.c.tests.room"
+ import StaticConfigTest.* from "StaticConfigTest.room"
+
+ ActorClassConfig Tester_ac {
+ // nothing
+ }
+
+ ActorClassConfig Testee_1_ac {
+ Attr data_1 {
+ Attr bool_c = false
+ Attr bool_i = false
+ Attr int8_c = 24
+ Attr int8_i = 24
+ Attr int16_c = 48
+ Attr int16_i = 48
+ Attr int32_c = 96
+ Attr int32_i = 96
+ Attr int64_c = 192
+ Attr int64_i = 192
+ Attr float32_c = 9.6
+ Attr float32_i = 9.6
+ Attr float64_c = 19.2
+ Attr float64_i = 19.2
+ Attr char_c = "C"
+ Attr char_i = "C"
+ Attr string_c = ":)"
+ Attr string_i = ":)"
+
+ Attr bool_array_c = true, false
+ Attr bool_array_i = true, false
+ Attr int8_array_c = 24, 48
+ Attr int8_array_i = 24, 48
+ Attr int16_array_c = 48, 96
+ Attr int16_array_i = 48, 96
+ Attr int32_array_c = 96, 192
+ Attr int32_array_i = 96, 192
+ Attr int64_array_c = 192, 384
+ Attr int64_array_i = 192, 384
+ Attr float32_array_c = 9.6
+ Attr float32_array_i = 9.6
+ Attr float64_array_c = 19.2
+ Attr float64_array_i = 19.2
+ Attr char_array_c = "Claz"
+ Attr char_array_i = "Claz"
+
+ Attr data_2 {
+ Attr int32_c = 42
+ Attr int32_i = 42
+ }
+ }
+ }
+
+ ActorClassConfig Testee_Super2_ac {
+ Attr float64_super_c = 2.2
+ Attr float64_super_i = 2.2
+ }
+
+ ActorClassConfig Testee_2_ac {
+ Attr int32_own_c = 12
+ Attr int32_own_i = 12
+ }
+
+ ProtocolClassConfig TestProtocolAttributes {
+ regular Port{
+ Attr float_c = 3.0
+ Attr float_i = 3.0
+ }
+ conjugate Port {
+ Attr array2_c = 16, 32
+ Attr array2_i = 16, 32
+ }
+ }
+
+ ProtocolClassConfig TestProtocolWithDataClass {
+ conjugate Port {
+ Attr sap_data_2{
+ Attr int32_c = 2
+ Attr int32_i = 2
+ }
+ }
+ }
+
+ ActorInstanceConfig CGenTests/scTest/top/tester {
+ // nothing
+ }
+
+ ActorInstanceConfig CGenTests/scTest/top/testee_1 {
+ Attr data_1 {
+ Attr bool_i = true
+ Attr int8_i = 2
+ Attr int16_i = 4
+ Attr int32_i = 8
+ Attr int64_i = 16
+ Attr float32_i = 1.6
+ Attr float64_i = 3.2
+ Attr char_i = "I"
+ Attr string_i = ":]"
+
+ Attr bool_array_i = true, true
+ Attr int8_array_i = 2, 6
+ Attr int16_array_i = 4, 12
+ Attr int32_array_i = 8, 24
+ Attr int64_array_i = 16, 48
+ Attr float32_array_i = 1.6
+ Attr float64_array_i = 3.2
+ Attr char_array_i = "Inst"
+
+ Attr data_2 {
+ Attr int32_i = 43
+ }
+ }
+ InterfaceItem conj_port {
+ Attr array2_i = 1, 2
+ }
+ }
+
+
+ ActorInstanceConfig CGenTests/scTest/top/tester/testee_super2{
+ Attr float64_super_i = 3.3
+ InterfaceItem reg_port {
+ Attr float_i = 25.0
+ }
+ }
+
+ ActorInstanceConfig CGenTests/scTest/top/testee_1/testee_2 {
+ Attr float64_super_i = 4.4
+ Attr int32_own_i = 13
+ InterfaceItem reg_port {
+ Attr float_i = 50.0
+ }
+ InterfaceItem sap {
+ Attr sap_data_2 {
+ Attr int32_i = 3
+ }
+ }
+ }
+
} \ No newline at end of file

Back to the top