single_config.cfg 11.1 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
10
11
12
13
14
15
16
[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
#"src/cfgFile/define/structured/structured.cfg" #TODO: SError 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.
"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
135
136
137

#### EncodeDecode folder #####
## BER
#TODO: develop BER encode-decode
## JSON:
## JsonBasicTestFolder ##
balaskoa's avatar
balaskoa committed
138
JsonBasicASN1EncDecTest1 #6 pass
139
140
141
JsonBasicAttributeTest # 10 pass, 1 commented out --see in bugs
JsonBasicEncDecTest_bs # 31 pass, 5 commented out (fail or/and error) --see in bugs
JsonBasicEncDecTest_os  # 29 pass, 5 commented out --see in bugs
142
143
144
145
146
##TODO:JsonComplexTest
#JsonTestcases.control #55 pass (75.342 %), 0 inconc (0 %), 2 fail (2.74 %), 16 error (21.918 %)
#AttributeTestcases.control #5 pass (21.739 %), 0 inconc (0 %), 1 fail (4.348 %), 17 error (73.913 %)
#Bson
#Cbor
147

148
149
#################################

150
151
152
153
154
#enumOper:
TenumOper.control
EnumDefBitHexOct

#ERC: see in [ORDERED_INCLUDE]
155
#floatOper: see in [ORDERED_INCLUDE]
156
157
158
#TfloatOper
#TfloatOperSpecial
#functionReference:
balaskoa's avatar
balaskoa committed
159
FuncRef
160
161
162
#functionSubref:
TfunctionSubref #22 pass, 1 error (see in single_bugs.cfg)
#TpardTemplateSubref #1 pass, 6 error (see in single_bugs.cfg)
163

164
165
166
167
#fuzzy:
FuzzyTestcases.control
#hexstrOper:
#ThexstrOper  see in [ORDERED_INCLUDE]
168
169
170
171
#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
172
#iconv: external encoder functions...
balaskoa's avatar
balaskoa committed
173
#implicitOmit #18 pass (100 %) #see in [ORDERED_INCLUDE] !
174
# there is recof, rec, setof, set compatibility usage in it!
175

176
177
178
#IndexWithRecofArray #- excluded, a lot of false semantic error

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

181
182
183
184
185
186
187
#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
188
189
190
191
#json (There are testcases commented out in it!! In preinit of JsonTypes it stops with exception)
#AttributeTestcases.control
#JsonTestcases.control

192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
#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
208
209
210
211
TobjidOper.control
#ocetstrOper:
ToctetstrOper
#omitdef
balaskoa's avatar
balaskoa committed
212

balaskoa's avatar
balaskoa committed
213
214
#pattern_quadruples
#predefFunction see in [ORDERED_INCLUDE]
215
216
217
218
219
220
#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

221
222
223
224
#omitdef

#pattern_quadruples

balaskoa's avatar
balaskoa committed
225
226
227
228
### RAW ###
Annex_E_variants.control
Bug521125.control
Bug522656.control
balaskoa's avatar
balaskoa committed
229
Bug546231.control  
balaskoa's avatar
balaskoa committed
230
231
232
Bug547385.control
CSN1_LH.control
gtpctest.control
balaskoa's avatar
balaskoa committed
233
Lengthto_Offset.control
balaskoa's avatar
balaskoa committed
234
235
236
237
238
#RAW/Examples:
RAW_Test.control
#RAW/ForceOmit
ForceOmit
#RAW/HN25015
balaskoa's avatar
balaskoa committed
239
HN25015.control 
balaskoa's avatar
balaskoa committed
240
241
242
243
244
245
246
247
248
249
250
251
252
253
#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
254
RAWCodingAttributes.control
255

256
257
258
259
260
### 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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
### recordOper ###
TrecordOper

#selectUnion
SelectUnion.control

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

#setofOper
TsetofOper

#setOper
TsetOper
276
277
278
279
280
281
282
283
284

#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
285
286
287
288
289
290
291
292
293
294
295
####### 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
296
#TtemplateHexstr  # 1 pass, 1 error //TODO: decmatch + JSON, XML encoding is not ready in it!
297
#TODO: real hexstring test shall be written!!!
balaskoa's avatar
balaskoa committed
298
299
300
TtemplateInt.control
#templateIstemplatekind
IsTemplateKind #pass, fixed compilation error
balaskoa's avatar
balaskoa committed
301
TtemplateOctetstr #TODO: 3 decmatch testcase commented out!!!
302
303
#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
304
#TODO: map back to titan.core!
305
306
307
308
309

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

balaskoa's avatar
balaskoa committed
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
#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
328
#text2ttcn: not ready, that is the legacy code is not ready
329

balaskoa's avatar
balaskoa committed
330
331
#transparent:
transparent.control # 1pass
balaskoa's avatar
balaskoa committed
332

balaskoa's avatar
balaskoa committed
333
334
#tryCatch:
#tryCatch_Testcases.control #see in parallel_main
balaskoa's avatar
balaskoa committed
335

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

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

341
342
343
344
345
346
347
348
349
#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
350
351
352
[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).
353

balaskoa's avatar
balaskoa committed
354
355
356
357
358
359
360
361
362
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
363