ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details
0007452Part 01: TTCN-3 Core LanguageTechnicalpublic18-07-2016 14:0113-12-2016 10:42
Tomas Urban 
Gyorgy Rethy 
normalminorhave not tried
closedfixed 
 
v4.9.1 (published 2017-05)v4.9.1 (published 2017-05) 
27
STF 514
0007452: Function for displaying attribute content
At the moment, it is not possible to check an attribute value in the TTCN-3 languange. Such functionality is avalibable in TCI or through proprietary tool functions. The first option is quite clumsy and requires to execute the test suite, the second one cannot be standardized and used in conformance tests. As the result, attributes are not properly tested by the conformance test suite.

Proposal: Add a function (or functions) that would print attribute values.

No tags attached.
docx CR7452-1.docx (19,317) 19-07-2016 14:26
http://oldforge.etsi.org/mantis/file_download.php?file_id=3417&type=bug
docx CR7452-2.docx (24,332) 18-08-2016 11:48
http://oldforge.etsi.org/mantis/file_download.php?file_id=3487&type=bug
docx CR7452-V3.docx (20,723) 19-08-2016 08:28
http://oldforge.etsi.org/mantis/file_download.php?file_id=3494&type=bug
docx CR7452-4.docx (25,984) 19-08-2016 08:42
http://oldforge.etsi.org/mantis/file_download.php?file_id=3496&type=bug
Issue History
18-07-2016 14:01Tomas UrbanNew Issue
18-07-2016 14:01Tomas UrbanStatusnew => assigned
18-07-2016 14:01Tomas UrbanAssigned To => Tomas Urban
18-07-2016 14:44Tomas UrbanSummaryFunction for displaying an attribute content => Function for displaying attribute content
19-07-2016 14:26Tomas UrbanFile Added: CR7452-1.docx
21-07-2016 08:21Tomas UrbanAssigned ToTomas Urban => Jens Grabowski
21-07-2016 08:23Tomas UrbanNote Added: 0014020
21-07-2016 09:13Jens GrabowskiNote Added: 0014022
22-07-2016 12:22Jens GrabowskiNote Added: 0014035
22-07-2016 12:23Jens GrabowskiAssigned ToJens Grabowski => Tomas Urban
17-08-2016 11:31Jacob Wieland - SpirentProjectTTCN-3 Change Requests => Part 01: TTCN-3 Core Language
17-08-2016 11:32Jacob Wieland - SpirentTarget Version => v4.9.1 (published 2017-05)
18-08-2016 11:48Tomas UrbanFile Added: CR7452-2.docx
18-08-2016 11:48Tomas UrbanNote Added: 0014152
18-08-2016 11:48Tomas UrbanAssigned ToTomas Urban => Jens Grabowski
18-08-2016 11:48Tomas UrbanStatusassigned => confirmed
19-08-2016 08:28Jens GrabowskiFile Added: CR7452-V3.docx
19-08-2016 08:28Jens GrabowskiAssigned ToJens Grabowski => Tomas Urban
19-08-2016 08:28Jens GrabowskiStatusconfirmed => assigned
19-08-2016 08:29Jens GrabowskiNote Added: 0014162
19-08-2016 08:30Jens GrabowskiStatusassigned => confirmed
19-08-2016 08:42Tomas UrbanFile Added: CR7452-4.docx
19-08-2016 08:43Tomas UrbanNote Added: 0014168
19-08-2016 08:43Tomas UrbanStatusconfirmed => resolved
19-08-2016 08:43Tomas UrbanFixed in Version => v4.10.1 (published 2018-05)
19-08-2016 08:43Tomas UrbanResolutionopen => fixed
19-08-2016 08:43Tomas UrbanAssigned ToTomas Urban => Gyorgy Rethy
13-12-2016 10:42Gyorgy RethyNote Added: 0014404
13-12-2016 10:42Gyorgy RethyStatusresolved => closed
13-12-2016 10:42Gyorgy RethyFixed in Versionv4.10.1 (published 2018-05) => v4.9.1 (published 2017-05)

Notes
(0014020)
Tomas Urban   
21-07-2016 08:23   
Proposal uploaded. The feature uses new operators, because it would be difficult to pass types into an predefined function as type parameters are only available in an external package and cannot be used in the core language specification. The new operators use existing reserved words.

Please check.
(0014022)
Jens Grabowski   
21-07-2016 09:13   
Discussion within the STF required:
Are several new operators (without new reserved words) are better than one new generic operator with one new keyword?
(0014035)
Jens Grabowski   
22-07-2016 12:22   
STF agreement:
Instead of function like operators, the dot notation is more appropriate.

Example:
<Type>.display returns display attribute of <Type>

Tomas to adapt proposal.
(0014152)
Tomas Urban   
18-08-2016 11:48   
Proposal updated according to the STF discussion. Please check.
(0014162)
Jens Grabowski   
19-08-2016 08:29   
A few typos have been removed and some wording ist changed. I you agree, set to resolved and assign to Györy for implementation.
(0014168)
Tomas Urban   
19-08-2016 08:43   
Ready for implementation.
(0014404)
Gyorgy Rethy   
13-12-2016 10:42   
Added to V4.8.2