single_main.cfg 11.6 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
[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.

8
"src/map_param/single_mode/single.cfg" #3 pass
9

10
11
### cfgFile ###
#"src/cfgFile/define/macro_reference/TSTM_macro_test_main.cfg" #nok, it went 57 pass but now stops with StackOverflowError
12
#"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.
13
14
15
16
17
18
"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
19
#!!!! "src/cfgFile/testport_parameters/array_index.cfg" #compiled, not runnining, it shall be excluded anyway!!!
20
"src/cfg_list_concat/everything.cfg"
21
### EncodeDecode: ###
22
"src/EncodeDecode/RAW/RAW_EncDec/RAW_EncDec.cfg"
23
24
25
#"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!
26
"src/floatOper/config.cfg" #25 pass
27
28
"src/hexstrOper/config.cfg" #TODO: one testase is commented out (send())
"src/implicitOmit/config.cfg" #ok, 18 pass
29
30
"src/predefFunction/PreDef.cfg"
"src/recofOper/config.cfg" #62 pass + 2 tc moved to single_bugs.cfg
31
"src/templateCharstr/config.cfg"
32
"src/templateExclusiveRange/config.cfg"
33
"src/templatePatternRef/config.cfg"
34
"src/templateRecof/config.cfg" #ok 38 pass
balaskoa's avatar
balaskoa committed
35
"src/text2ttcn_nolegacy/text2ttcn_1.cfg"
36
#"src/text2ttcn/text2ttcn_1.cfg" #legacy mode
balaskoa's avatar
balaskoa committed
37
38
"src/ucharstrOper/config.cfg"
"src/uidChars/config.cfg"
39
40
41
"src/map_param/single_mode/single.cfg" #3 pass
"src/references/references.cfg"

42

43
[EXECUTE]
44
45
46
47
48
49
#==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
50
51
52
53
54
55
56
57
#==all from:==
all_from_complement
all_from_permutation
all_from_subrefs
all_from_subset
all_from_subtype
all_from_superset
all_from_var
58
all_from_with_functions
59
60
61
all_from
sapc.control
#everything - no control part, TODO: repair the test, rework the whole! It was just a sketch.
62
63
64
65
66
67
68
69
70
71
72
#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
73
#==arrayOper:
74
TarrayOper
75
76
77
78
79
80
81
#===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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#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
106

107
108
109
110
111
112
113
114
115
116
117
#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
118
	TmultipleRedirects 
119
120
121
122
123
#commProcedure #par
	#AdvancedRedirects.control #TODO: contains java sem errors in the generated code ! 
	                           #test ports required! 
	#ProcPort.control #only in parallel

124
125
126
127
128
129
130
#compileonly - not copied!
#configOper #par
#TconfigOper.control #parallel #TODO: implement the excluded interleave testcases
#connectMapOperNegTest
#ConnectMapOperNegTest #parallel ok 3 pass
TcontrolTimer
#CRTR00015758:
131
132
133
no.control
#customEncoding: not implemented codings!

134
#customEncoding: not implemented codings!
135
136
#defaultOper:
#TdefaultOper #ok, parallel
137
138
139

#### EncodeDecode folder #####
## BER
balaskoa's avatar
balaskoa committed
140
# TODO: develop BER encode-decode
141
142
## JSON:
## JsonBasicTestFolder ##
balaskoa's avatar
balaskoa committed
143
JsonBasicASN1EncDecTest1 #6 pass
Kristof Szabados's avatar
Kristof Szabados committed
144
JsonBasicAttributeTest # 16 pass
145
146
JsonBasicEncDecTest_bs # 37 pass
JsonBasicEncDecTest_os  # 35 pass
147
JsonBasicTest_ucharstring # 10 pass
balaskoa's avatar
balaskoa committed
148

149
## JsonComplexTest folder ##
150
JsonTestcases.control #78 pass
151
AttributeTestcases.control #27 pass, 3 commented out
Kristof Szabados's avatar
Kristof Szabados committed
152
153
154
155
#TODO:failing tests, commented out in the control part:
#AttributeTestcases.tc_attribute_chosen # fail
#AttributeTestcases.tc_attribute_chosen_negtest # fail
#AttributeTestcases.tc_attribute_chosen_default # error
156
Issue560withJSON.control
balaskoa's avatar
balaskoa committed
157

158
159
#Bson
#Cbor
160

161
162
#################################

163
164
165
166
167
#enumOper:
TenumOper.control
EnumDefBitHexOct

#ERC: see in [ORDERED_INCLUDE]
168
#floatOper: see in [ORDERED_INCLUDE]
169
170
171
#TfloatOper
#TfloatOperSpecial
#functionReference:
balaskoa's avatar
balaskoa committed
172
FuncRef
173
174
175
#functionSubref:
TfunctionSubref #22 pass, 1 error (see in single_bugs.cfg)
#TpardTemplateSubref #1 pass, 6 error (see in single_bugs.cfg)
176

177
178
179
180
#fuzzy:
FuzzyTestcases.control
#hexstrOper:
#ThexstrOper  see in [ORDERED_INCLUDE]
181
182
183
184
#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
185
#iconv: external encoder functions...
balaskoa's avatar
balaskoa committed
186
#implicitOmit #18 pass (100 %) #see in [ORDERED_INCLUDE] !
187
# there is recof, rec, setof, set compatibility usage in it!
188

189
190
191
#IndexWithRecofArray #- excluded, a lot of false semantic error

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

194
195
196
197
198
199
200
#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
201
202
203
204
#json (There are testcases commented out in it!! In preinit of JsonTypes it stops with exception)
#AttributeTestcases.control
#JsonTestcases.control

205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
#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

221
#map_param : see in [ORDERED_INCLUDE] !
balaskoa's avatar
balaskoa committed
222
223
224
225
TobjidOper.control
#ocetstrOper:
ToctetstrOper
#omitdef
balaskoa's avatar
balaskoa committed
226

balaskoa's avatar
balaskoa committed
227
228
#pattern_quadruples
#predefFunction see in [ORDERED_INCLUDE]
229
230
231
232
233
234
#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

235
236
237
238
#omitdef

#pattern_quadruples

balaskoa's avatar
balaskoa committed
239
240
241
242
### RAW ###
Annex_E_variants.control
Bug521125.control
Bug522656.control
balaskoa's avatar
balaskoa committed
243
Bug546231.control  
balaskoa's avatar
balaskoa committed
244
Bug547385.control
Adam Knapp's avatar
Adam Knapp committed
245
Bug572603.control
balaskoa's avatar
balaskoa committed
246
247
CSN1_LH.control
gtpctest.control
balaskoa's avatar
balaskoa committed
248
Lengthto_Offset.control
balaskoa's avatar
balaskoa committed
249
250
251
252
253
#RAW/Examples:
RAW_Test.control
#RAW/ForceOmit
ForceOmit
#RAW/HN25015
balaskoa's avatar
balaskoa committed
254
HN25015.control 
balaskoa's avatar
balaskoa committed
255
256
257
258
259
260
#RAW/HQ49956:
Test.control
#RAW/HS16977_Test
HS16977_Test.control
#RAW/IntX
IntX.control #ok! 6 pass
261
262
#RAW/Issue555
Issue555.control
263
264
#RAW/Issue557
Issue557.control
265
266
#RAW/Issue560
Issue560.control
267
#RAW/Lengthto_Offset:
balaskoa's avatar
balaskoa committed
268
Lengthto_Offset
269
#RAW/RAW_bitstring_test:
balaskoa's avatar
balaskoa committed
270
RAW_bitstring_test
271
272
#RAW/RAW_EncDec see in [ORDERED_INCLUDE]
#RAW/RAW_integer_test:
balaskoa's avatar
balaskoa committed
273
RAW_integer_test
274
#RAW/RAW_repeat:
275
RAW_repeat_test #fixed 3 pass, see also Bug 568518
balaskoa's avatar
balaskoa committed
276
277
#RAW/ustr
ustr.control
balaskoa's avatar
balaskoa committed
278
RAWCodingAttributes.control
279

280
281
282
283
284
### 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
285
286
287
### recordOper ###
TrecordOper

288
289
#references:  see in [ORDERED_INCLUDE] TODO: class part commented out

balaskoa's avatar
balaskoa committed
290
291
292
293
294
295
296
297
298
299
300
301
#selectUnion
SelectUnion.control

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

#setofOper
TsetofOper

#setOper
TsetOper
302
303
304
305
306
307
308
309
310

#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
311
312
313
314
315
316
317
318
319
320
321
####### 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
322
#TtemplateHexstr  # 1 pass, 1 error //TODO: decmatch + JSON, XML encoding is not ready in it!
323
#TODO: real hexstring test shall be written!!!
balaskoa's avatar
balaskoa committed
324
325
326
TtemplateInt.control
#templateIstemplatekind
IsTemplateKind #pass, fixed compilation error
balaskoa's avatar
balaskoa committed
327
TtemplateOctetstr #TODO: 3 decmatch testcase commented out!!!
328
329
#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
330
#TODO: map back to titan.core!
331
332
333
334
335

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

balaskoa's avatar
balaskoa committed
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
#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
354
#text2ttcn: not ready, that is the legacy code is not ready
355

balaskoa's avatar
balaskoa committed
356
357
#transparent:
transparent.control # 1pass
balaskoa's avatar
balaskoa committed
358

balaskoa's avatar
balaskoa committed
359
360
#tryCatch:
#tryCatch_Testcases.control #see in parallel_main
balaskoa's avatar
balaskoa committed
361

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

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

367
368
369
370
371
372
373
374
375
#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
376
377
378
[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).
379

balaskoa's avatar
balaskoa committed
380
381
382
383
384
385
386
387
388
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
389