single_config.cfg 11.7 KB
Newer Older
1
2
3
[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.

4
5
6
7
8
9
[ORDERED_INCLUDE]
"src/assignmentNotation/TassignmentNotation.cfg" 
#HACK: escaped double quote added, ass. not. nok, Error while setting parameter field 'tsp_editor' to 'vim': Referenced module parameter cannot be found. Module `vim' does not exist, and no parameter with name `vim' exists in any module.

### cfgFile ###
#"src/cfgFile/define/macro_reference/TSTM_macro_test_main.cfg" #nok, it went 57 pass but now stops with StackOverflowError
10
#"src/cfgFile/define/structured/structured.cfg" #TODO: Error while setting parameter field 'tsp_1' to 'a': Referenced module parameter cannot be found. Module `a' does not exist, and no parameter with name `a' exists in any module.
11
12
13
14
15
16
"src/cfgFile/module_parameters/assignment/assignment.cfg" #enum modulepar, 19 pass
"src/cfgFile/module_parameters/concat/concat.cfg" #fixed: record concat, &= in cfg file
#"src/cfgFile/module_parameters/nested/nested.cfg" #TODO; it is simplified and reported in NestedRoI;  RT2 bugfix it! Dot notation problem! Reported
#"src/cfgFile/module_parameters/references/references.cfg" #TODO: mp:=mp+1
"src/cfgFile/module_parameters/special_values/SpecialValues.cfg"
#"src/cfgFile/ordered_include/oi_after_list1.cfg" #Error while setting parameter field 'tsp_c' to '0': Type mismatch: charstring value was expected instead of null.
balaskoa's avatar
balaskoa committed
17
#!!!! "src/cfgFile/testport_parameters/array_index.cfg" #compiled, not runnining, it shall be excluded anyway!!!
18
"src/cfg_list_concat/everything.cfg"
19
### EncodeDecode: ###
20
"src/EncodeDecode/RAW/RAW_EncDec/RAW_EncDec.cfg"
21
22
23
#"src/EncodeDecode/Text_EncDec/Text_EncDec.cfg" #TODO: Implement Text_EncDec!
#"src/EncodeDecode/OER_EncDec/OER_EncDec.cfg" #TODO: Implement OER_EncDec!
#"src/EncodeDecode/XER_EncDec/XER_EncDec.cfg" #TODO: Implement XER_EncDec!
24
"src/floatOper/config.cfg" #25 pass
25
26
"src/hexstrOper/config.cfg" #TODO: one testase is commented out (send())
"src/implicitOmit/config.cfg" #ok, 18 pass
27
28
"src/predefFunction/PreDef.cfg"
"src/recofOper/config.cfg" #62 pass + 2 tc moved to single_bugs.cfg
29
"src/templateCharstr/config.cfg"
30
"src/templateExclusiveRange/config.cfg"
31
"src/templatePatternRef/config.cfg"
32
"src/templateRecof/config.cfg" #ok 38 pass
33
34
"src/text2ttcn_nolegacy/text2ttcn_1.cfg"
#"src/text2ttcn/text2ttcn_1.cfg" #legacy mode
balaskoa's avatar
balaskoa committed
35
36
"src/ucharstrOper/config.cfg"
"src/uidChars/config.cfg"
37

38
[EXECUTE]
39
40
41
42
43
44
#==acceptance_test==
#chinese
#chinese.control #only in parallel - verdict fail and error tests, do not run them!
#comptest # only parallel, see in parallel_main
Fibonacci #no verdict, just code from the begginning
#testerlanc # only parallel, ok, 1 pass but too long
45
46
47
48
49
50
51
52
#==all from:==
all_from_complement
all_from_permutation
all_from_subrefs
all_from_subset
all_from_subtype
all_from_superset
all_from_var
balaskoa's avatar
balaskoa committed
53
#all_from_with_functions #TODO: JSON enc-dec function handling, put into single_bugs.cfg
54
55
56
all_from
sapc.control
#everything - no control part, TODO: repair the test, rework the whole! It was just a sketch.
57
58
59
60
61
62
63
64
65
66
67
#any_from
#any_from #only in parallel
#==anytype:==
AnytypeTest
AnyUser.control #case insensitivity problem - DO NOT handle this yet! Hacked
noany
smallany
#Supplier #in titan.core is excluded as well
#==anytypeOper:==
TanytypeOper
TanytypeWrapOper
68
#==arrayOper:
69
TarrayOper
70
71
72
73
74
75
76
#===ASN1:===
# codeGeneration #compile only tests, you can exclude all files from ASN1 (except Test330) if the compile time is critical
Test303T.control #ok
#==assignmentNotation
#TassignmentNotation # requires [ORDERED_INCLUDE] see there!
#basicStatem:
TbasicStatem # TODO: basicStatemLabelGoto2 => none because goto is not implemented, commented out
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#BER*  #TODO: implement BER encoding
#bitstrOper:
TbitstrOper.control //TODO: line 800: bugfix BS.send(vl_str[0]); - compilation error
TbitstrOperLonger.control
#boolOPer:
TboolOper.control

#cfg_list_concat -excluded because module name duplication 
#concat1
#(cfg_list_concat/concat.ttcn and cfgFile/module_parameters/concat/concat.ttcn + 
#   "src/cfg_list_concat/everything.cfg" #see in [ORDERED_INCLUDE]

#cfgFile/: see under [ORDERED_INCLUDE]
  #define/:
  #  macro_reference: ok, see below
  #  structured: nok, TODO: macro handling and concat
  #module_parameters/ :
  # assignment #requires [MODULE_PARAMS]! see under [INCLUDE]
  # concat - TODO: requires &= in cfg file, only in RT2
  # nested - TODO: requires &= in cfg file, only in RT2
  # references - requires references ( mod par on the right side)
  #SpecialValues see under [ORDERED_INCLUDE]
  #ordered_include - excluded, cannot executed in one step
  #testport_parameters -excluded, TODO
101

102
103
104
105
106
107
108
109
110
111
112
#charOper
	TcharOper.control
#charstrOper
	TcharstrOper.control
#checkstate:
#	PortCheckstate.control #only in parallel

#commMessage:
	AddressPortNegTest
	#TcommMessage.control #ok, only in parallel
	#HS41022.control  #ok, only in parallel
113
	TmultipleRedirects 
114
115
116
117
118
#commProcedure #par
	#AdvancedRedirects.control #TODO: contains java sem errors in the generated code ! 
	                           #test ports required! 
	#ProcPort.control #only in parallel

119
120
121
122
123
124
125
#compileonly - not copied!
#configOper #par
#TconfigOper.control #parallel #TODO: implement the excluded interleave testcases
#connectMapOperNegTest
#ConnectMapOperNegTest #parallel ok 3 pass
TcontrolTimer
#CRTR00015758:
126
127
128
no.control
#customEncoding: not implemented codings!

129
#customEncoding: not implemented codings!
130
131
#defaultOper:
#TdefaultOper #ok, parallel
132
133
134

#### EncodeDecode folder #####
## BER
balaskoa's avatar
balaskoa committed
135
# TODO: develop BER encode-decode
136
137
## JSON:
## JsonBasicTestFolder ##
balaskoa's avatar
balaskoa committed
138
JsonBasicASN1EncDecTest1 #6 pass
Kristof Szabados's avatar
Kristof Szabados committed
139
JsonBasicAttributeTest # 16 pass
140
141
JsonBasicEncDecTest_bs # 37 pass
JsonBasicEncDecTest_os  # 35 pass
142
JsonBasicTest_ucharstring # 10 pass
balaskoa's avatar
balaskoa committed
143

144
145
146
147
## JsonComplexTest folder ##
JsonTestcases.control #74 pass, 5 commented out
#TODO:failing tests, commented out in the control part:
#JsonTestcases.tc_charstring_ascii_basic_escapes
balaskoa's avatar
balaskoa committed
148
#JsonTestcases.tc_charstring_ascii_extended1
149
150
151
152
#JsonTestcases.tc_ucharstring_ascii_extended1_xer #error
#JsonTestcases.tc_ucharstring_higherplanes
#JsonTestcases.tc_asn_open_type_and_null

balaskoa's avatar
balaskoa committed
153
154

AttributeTestcases.control #  0 none (0 %), 23 pass (100 %), 0 inconc (0 %), 0 fail (0 %), 0 error (0 %)
155
#outcommented, failing testcases:
balaskoa's avatar
balaskoa committed
156
#AttributeTestcases.tc_attribute_union
157
158
159
160
161
162
#AttributeTestcases.tc_attribute_as_value_asn #fail
#AttributeTestcases.tc_attribute_metainfo_for_unbound_arrays
#AttributeTestcases.tc_attribute_as_value_fields
#AttributeTestcases.tc_attribute_chosen
#AttributeTestcases.tc_attribute_chosen_negtest
#AttributeTestcases.tc_attribute_chosen_default
balaskoa's avatar
balaskoa committed
163

164
165
#Bson
#Cbor
166

167
168
#################################

169
170
171
172
173
#enumOper:
TenumOper.control
EnumDefBitHexOct

#ERC: see in [ORDERED_INCLUDE]
174
#floatOper: see in [ORDERED_INCLUDE]
175
176
177
#TfloatOper
#TfloatOperSpecial
#functionReference:
balaskoa's avatar
balaskoa committed
178
FuncRef
179
180
181
#functionSubref:
TfunctionSubref #22 pass, 1 error (see in single_bugs.cfg)
#TpardTemplateSubref #1 pass, 6 error (see in single_bugs.cfg)
182

183
184
185
186
#fuzzy:
FuzzyTestcases.control
#hexstrOper:
#ThexstrOper  see in [ORDERED_INCLUDE]
187
188
189
190
#hostid - not implemented! //TODO: HostIdExpression.generateCodeExpressionExpression() is not implemented!
# ip.operator_assign(	//TODO: HostIdExpression.generateCodeExpressionExpression() is not implemented!
#HP17080 - excluded, empty
HQ16404  # ok, 13 pass
191
#iconv: external encoder functions...
balaskoa's avatar
balaskoa committed
192
#implicitOmit #18 pass (100 %) #see in [ORDERED_INCLUDE] !
193
# there is recof, rec, setof, set compatibility usage in it!
194

195
196
197
#IndexWithRecofArray #- excluded, a lot of false semantic error

#intOper:
balaskoa's avatar
balaskoa committed
198
TintOper #ok, 50  #TODO: check outcommented part!
199

200
201
202
203
204
205
206
#ipv6 #TODO: list a lot of cfg file

#ischosen:
IsChosen_Test #4pass
#ispresent:
#IsPresent_Test # moved into parallel mode, 84 pass

balaskoa's avatar
balaskoa committed
207
208
209
210
#json (There are testcases commented out in it!! In preinit of JsonTypes it stops with exception)
#AttributeTestcases.control
#JsonTestcases.control

211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
#lazyEval:
lazy_main.control #130 pass

#logFiles ?
# TODO: not checked
#logger
#logger_control #special test
#logcontrol
#lostTimer:
TlostTimer.control
#TnonMandatory # excluded
#macros
Macros # 2pass
# modifiedTemplate
TmodifiedTemplate # 5 pass

balaskoa's avatar
balaskoa committed
227
228
229
230
TobjidOper.control
#ocetstrOper:
ToctetstrOper
#omitdef
balaskoa's avatar
balaskoa committed
231

balaskoa's avatar
balaskoa committed
232
233
#pattern_quadruples
#predefFunction see in [ORDERED_INCLUDE]
234
235
236
237
238
239
#predefFunction2:
predefFunctTest.control
#predefFunctTest.tc_predef_oct2char_good1 //fail, TODO: bugfix, see in single_bugs.cfg
#predefFunctTest.tc_predef_oct2char_good2 //fail, TODO: bugfix
#predefFunctTest.tc_predef_oct2char_octetstr_elem //fail, TODO: bugfix

240
241
242
243
#omitdef

#pattern_quadruples

balaskoa's avatar
balaskoa committed
244
245
246
247
### RAW ###
Annex_E_variants.control
Bug521125.control
Bug522656.control
balaskoa's avatar
balaskoa committed
248
Bug546231.control  
balaskoa's avatar
balaskoa committed
249
250
251
Bug547385.control
CSN1_LH.control
gtpctest.control
balaskoa's avatar
balaskoa committed
252
Lengthto_Offset.control
balaskoa's avatar
balaskoa committed
253
254
255
256
257
#RAW/Examples:
RAW_Test.control
#RAW/ForceOmit
ForceOmit
#RAW/HN25015
balaskoa's avatar
balaskoa committed
258
HN25015.control 
balaskoa's avatar
balaskoa committed
259
260
261
262
263
264
265
266
267
268
269
270
271
272
#RAW/HQ49956:
Test.control
#RAW/HS16977_Test
HS16977_Test.control
#RAW/IntX
IntX.control #ok! 6 pass
#RAW/Lengthto_Offset
Lengthto_Offset
#RAW/RAW_bitstring_test
RAW_bitstring_test
#RAW/RAW_integer_test
RAW_integer_test
#RAW/ustr
ustr.control
balaskoa's avatar
balaskoa committed
273
RAWCodingAttributes.control
274

275
276
277
278
279
### recofOper ###
# see in [ORDERED_INCLUDE]
#TrecofParamRef.control #2 pass, 10 fail, 1 error = DO NOT HANDLE THIS, jump it over ! TODO: fix it
#TrecofParamRefEncDec.control

balaskoa's avatar
balaskoa committed
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
### recordOper ###
TrecordOper

#selectUnion
SelectUnion.control

#TODO: some simple cases remained without foldered version
#setofMatch:
TsetofMatch.control

#setofOper
TsetofOper

#setOper
TsetOper
295
296
297
298
299
300
301
302
303

#singlecontrol:
#hascontrolpart
#nocontrolpart.only

#slider: applied dual faced testport TODO: shall we support this???
#if yes, there are comments
#only in parallel, see there

balaskoa's avatar
balaskoa committed
304
305
306
307
308
309
310
311
312
313
314
####### Template ######
TtemplateAnytype.control
TtemplateBitstr.control
TtemplateBool.control
TtemplateChar.control
#templateCharstr: see [ORDERED_INCLUDE]
#templateConcat #TODO: not ready, semantic anal bugs
TtemplateEnum.control
#templateExclusiveRange: see [ORDERED_INCLUDE]
#TODO: New testcases without these functions
TtemplateFloat.control
315
#TtemplateHexstr  # 1 pass, 1 error //TODO: decmatch + JSON, XML encoding is not ready in it!
316
#TODO: real hexstring test shall be written!!!
balaskoa's avatar
balaskoa committed
317
318
319
TtemplateInt.control
#templateIstemplatekind
IsTemplateKind #pass, fixed compilation error
balaskoa's avatar
balaskoa committed
320
TtemplateOctetstr #TODO: 3 decmatch testcase commented out!!!
321
322
#templateRec:
TtemplateRec #Project config spec dependent, which version will run: legacy flag for omit in value list is OFF or ON. 
balaskoa's avatar
balaskoa committed
323
#TODO: map back to titan.core!
324
325
326
327
328

#templateRecof:
#TtemplateRecof.control #moved into [ORDERED_INCLUDE]
#TmultiplePermutations.control #moved into [ORDERED_INCLUDE]

balaskoa's avatar
balaskoa committed
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
#templateSet
TtemplateSet

#templateSetof:
TtemplateSetof.control

#templateUnicharstr
#TtemplateUnicharstr #decmatch test, do not bother with it! (yet)

#templateUnion
TtemplateUnion.control #8pass

#after templates:

#testcase_defparam
tcdefparam.control #20pass, TODO: 1 commented out

#text2ttcn_nolegacy: see [ORDERED_INCLUDE]
balaskoa's avatar
balaskoa committed
347
#text2ttcn: not ready, that is the legacy code is not ready
348

balaskoa's avatar
balaskoa committed
349
350
#transparent:
transparent.control # 1pass
balaskoa's avatar
balaskoa committed
351

balaskoa's avatar
balaskoa committed
352
353
#tryCatch:
#tryCatch_Testcases.control #see in parallel_main
balaskoa's avatar
balaskoa committed
354

balaskoa's avatar
balaskoa committed
355
356
#typeCompat: #already supported TODO: write better tests where recof int and rec { int,int } are not compat
Compat.control
balaskoa's avatar
balaskoa committed
357

balaskoa's avatar
balaskoa committed
358
#ucharstrOper  #pass, see in [ORDERED_INCLUDE] "src/ucharstrOper/config.cfg"
359

360
361
362
363
364
365
366
367
368
#uidChars
#UIDCharsTest.control # 3 pass, see in [ORDERED_INCLUDE] "src/uidChars/config.cfg"
#unionOper
TunionOper.control #44 pass

#visibility
Visibility.control #mainly compile test; TODO: write more details, tests!
#XML: TODO: XER encoder/decoder 

balaskoa's avatar
balaskoa committed
369
370
371
[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# you want to log into the file or display on console (standard error).
372

balaskoa's avatar
balaskoa committed
373
374
375
376
377
378
379
380
381
LogFile := "logs/%e.%h-%r.%s"
FileMask := LOG_ALL #|TESTCASE | STATISTICS #|LOG_ALL #| DEBUG | MATCHING
ConsoleMask := ERROR | WARNING | TESTCASE | STATISTICS #| PORTEVENT | USER
LogSourceInfo := Yes
AppendFile := No
TimeStampFormat := Time
LogEventTypes := No
SourceInfoFormat := Single
LogEntityName := Yes
382