Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / cfgFile / module_parameters / assignment / assignment.cfg
1 ###############################################################################
2 # Copyright (c) 2000-2015 Ericsson Telecom AB
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Eclipse Public License v1.0
5 # which accompanies this distribution, and is available at
6 # http://www.eclipse.org/legal/epl-v10.html
7 ###############################################################################
8 [MODULE_PARAMETERS]
9 // Integer
10 assignment.tsp_integer_native := 42
11 tsp_integer_native_init := 43
12 tsp_integer_openssl := 1000000000000
13 tsp_integer_openssl_init := 1000000000001
14
15 // Float
16 tsp_float_1 := 42.0
17 tsp_float_1_init := 43.0
18 tsp_float_2 := 4.2e+1
19 tsp_float_2_init := 4.3e+1
20
21 // Boolean
22 tsp_boolean_false := false;
23 *.tsp_boolean_false_init := false
24 tsp_boolean_true := true
25 tsp_boolean_true_init := true
26
27 // Verdict
28 tsp_verdict_none := none
29 tsp_verdict_inc := inconc
30 tsp_verdict_pass := pass
31 tsp_verdict_fail := fail
32 tsp_verdict_error := error
33 tsp_verdict_error_init := error
34
35 // Objid
36 tsp_objid_number := objid {0 4 0 12345 6789}
37 tsp_objid_number_init := objid {0 4 0 12345 6789}
38 tsp_objid_name_number := objid {itu_t(0) identified_organization(4) etsi(0) 12345 6789}
39 tsp_objid_name_number_init := objid {itu_t(0) identified_organization(4) etsi(0) 12345 6789}
40
41 // Bitstring
42 tsp_bitstring_0 := '00000000'B
43 tsp_bitstring_0_init := '00000000'B
44 tsp_bitstring_128 := '10000000'B
45
46 // Hexstring
47 tsp_hexstring_0:= '0'H
48 tsp_hexstring_0_init := '0'H
49 tsp_hexstring_FF := 'FF'H
50
51 // Charstring
52 tsp_charstring_empty := ""
53 tsp_charstring_empty_init := ""
54 tsp_charstring_fox := "The quick brown fox jumps over the lazy dog"
55
56 // Universal charstring
57 tsp_univ_charstr_empty := ""
58 tsp_univ_charstr_1 := "Character " & char(0, 0, 1, 113) & " is a hungarian letter."
59
60 // Enumerated
61 tsp_enum1 := ENUM_1
62 tsp_enum1_init := ENUM_1
63 tsp_enum2 := ENUM_2
64
65 // Union
66 tsp_MyUnion_field1 := { field1 := 1}
67 tsp_MyUnion_field1_init := { field1 := 1}
68 tsp_MyUnion_field2 := { field2 := 2}
69 tsp_MyUnion_duplicate1 := { field1 := 1, field1 := 2 }
70 tsp_MyUnion_duplicate2 := { field1 := 1, field2 := 2 }
71
72 // Record
73 tsp_record_empty := {}
74 tsp_record_empty_init := {}
75 tsp_record_MyRec := { field1 := 1, field2 := 2}
76 tsp_record_MyRec_init := {field1 := 1, field2 := 2}
77 tsp_record_MyRec1 := {field1 := 3}
78 tsp_record_MyRec_duplicate := { field1 := 1, field1 := 2, field1 := 3 }
79 tsp_record_MyRecursive1 := {field1 := 5}
80 tsp_record_MyRecursive2 := {field1 := 1, field2 := {field1 := 2, field2 := {field1 := 3}}}
81 enum := {enum := 42}
82
83 // Set
84 tsp_set_empty := {}
85 tsp_set_empty_init := {}
86 tsp_set_MySet := { field1 := 1, field2 := 2}
87 tsp_set_MySet_init := {field1 := 1, field2 := 2}
88 tsp_set_MySet1 := {field1 := 3}
89 tsp_set_MyRecursiveSet1 := {field1 := 5}
90 tsp_set_MyRecursiveSet2 := {field1 := 1, field2 := {field1 := 2, field2 := {field1 := 3}}}
91
92 // Record of
93 tsp_ROI_empty := {}
94 tsp_ROI := {1, 2, 3}
95 tsp_ROI := {1, -, 3}
96 tsp_ROI2 := {1, -, 3}
97 tsp_ROI_indexed := {[2] := 6, [3] := 28, [5] := 496, [7] := 8128}
98 tsp_ROI_indexed2 := {[2] := 6, [5] := 496}
99 tsp_ROI_indexed2 := {[3] := 28}
100 tsp_ROI_indexed2 := {[7] := 8128}
101 tsp_ROROI := {{1, 2}, {2, 3}, {3, 4}}
102 tsp_ROROROI := {{{1}, {2}}, {{2}, {3}}, {{3}, {4}}}
103 tsp_ROROROI_2 := {{{1,2}, {3,4}}, {{5,6}, {7,8}}, {{9,10}, {11,12}}}
104
105 // Set of
106 tsp_SOI_empty := {}
107 tsp_SOI := {1, 2, 3}
108 tsp_SOI := {1, -, 3}
109 tsp_SOI2 := {1, -, 3}
110 tsp_SOI_indexed := {[2] := 6, [3] := 28, [5] := 496, [7] := 8128}
111 tsp_SOI_indexed2 := {[2] := 6, [5] := 496}
112 tsp_SOI_indexed2 := {[3] := 28}
113 tsp_SOI_indexed2 := {[7] := 8128}
114 tsp_SOSOI := {{1, 2}, {2, 3}, {3, 4}}
115 tsp_SOSOSOI := {{{1}, {2}}, {{2}, {3}}, {{3}, {4}}}
116 tsp_SOSOSOI_2 := {{{1,2}, {3,4}}, {{5,6}, {7,8}}, {{9,10}, {11,12}}}
117
118 // Array
119 tsp_array_2 := {[0] := 1, [2] := 3}
120 tsp_array_3 := {1, -, 3}
121 tsp_array_4 := {1, -, 3}
122 tsp_array_4 := {-, 2, -}
123 tsp_array_5 := {2, 2, -}
124 tsp_array_5 := {4, 5, 6}
125
126 // Anytype
127 tsp_anytype_int := {integer := 42}
128 tsp_anytype_float := {float := 42.0}
129 tsp_anytype_MyRec := {MyRec := {field1 := 1, field2 := 2}}
130
131 // Component
132 tsp_component_null := null
133
134 // Default
135 tsp_default := null
136
137 // Nested array, record of & set of
138 tsp_nested.roi := { 4, 5 };
139 tsp_nested.soi := { 6, 7, 8 };
140 tsp_nested.roi[2] := 9;
141
142 tsp_ro_nested[0].roi := { 4, 5 };
143 tsp_ro_nested[0].soi := { 6, 7, 8 };
144 tsp_ro_nested[1].roi := { 14, 15 };
145 tsp_ro_nested[1].soi := { 16, 17, 18 };
146 tsp_ro_nested[2].roi := { 24, 25 };
147 tsp_ro_nested[2].soi := { 26, 27, 28 };
148 tsp_ro_nested[2].roi[2] := 29;
149
150 tsp_has_nested.recs[0].roi := { 3, 2, 1 };
151 tsp_has_nested.recs[0].soi := { 9, 6, 3 };
152 tsp_has_nested.recs[1] := { { 2, 4, 6, 8 }, { 1, 3, 5, 7, 9 } };
153
154 tsp_nested_arr[2].soi := { 29, 28, 27 };
155 tsp_nested_arr[1].roi := { 19, 18, 17 };
156
157 // Nested array, record of & set of template
158 tsp_templ_nested.roi := { 4, 5 };
159 tsp_templ_nested.soi := { 6, 7, 8 };
160 tsp_templ_nested.roi[2] := 9;
161
162 tsp_templ_ro_nested[0].roi := { 4, 5 };
163 tsp_templ_ro_nested[0].soi := { 6, 7, 8 };
164 tsp_templ_ro_nested[1].roi := { 14, 15 };
165 tsp_templ_ro_nested[1].soi := { 16, 17, 18 };
166 tsp_templ_ro_nested[2].roi := { 24, 25 };
167 tsp_templ_ro_nested[2].soi := { 26, 27, 28 };
168 tsp_templ_ro_nested[2].roi[2] := 29;
169
170 tsp_templ_has_nested.recs[0].roi := { 3, 2, 1 };
171 tsp_templ_has_nested.recs[0].soi := { 9, 6, 3 };
172 tsp_templ_has_nested.recs[1] := { { 2, 4, 6, 8 }, { 1, 3, 5, 7, 9 } };
173
174 tsp_templ_nested_arr[2].soi := { 29, 28, 27 };
175 tsp_templ_nested_arr[1].roi := { 19, 18, 17 };
176
177 [EXECUTE]
178 assignment.control
This page took 0.056883 seconds and 5 git commands to generate.