ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0002842 | Part 01: TTCN-3 Core Language | New Feature | public | 07-02-2008 16:21 | 12-12-2008 12:00

Reporter | Thomas DeiÃŸ |
Assigned To |  |
Priority | normal | Severity | feature | Reproducibility | N/A
Status | closed | Resolution | won't fix |
Platform |  | OS |  | OS Version |
Product Version | v3.3.2 (published 2008-04) |
Target Version | v4.1.1 (published 2009-06) | Fixed in Version |  |
Clause Reference(s) | 6.1.0.a, A.1.6.4 (rule for integervalue)
Source (company - Author) | Nokia Siemens Networks - Thomas Deiss

Summary | 0002842: hexadecimal notation for integers

Description

Many standards contain literal values for integers which are written in hexadecimal notation. To use the same literals also in a TTCN-3 test suite, they have to be enclosed in a call of hex2int. This can be cumbersome and test suites would become more compact if integer literals could be written in hexadecimal notation. E.g.
const integer c_dummy := '01AB'H;
instead of
const integer c_dummy2 := hex2int('02CD'H);

Steps To Reproduce |
Additional Information | This CR corresponds to an issue of the ToR of STF 349.
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
07-02-2008 16:21 | Thomas DeiÃŸ | New Issue |
07-02-2008 16:21 | Thomas DeiÃŸ | Clause Reference(s) | => 6.1.0.a, A.1.6.4 (rule for integervalue)
07-02-2008 16:21 | Thomas DeiÃŸ | Source (company - Author) | => Nokia Siemens Networks - Thomas Deiss
10-03-2008 15:15 | Thomas DeiÃŸ | Note Added: 0005188 |
10-03-2008 15:15 | Ina Schieferdecker | Status | new => closed
10-03-2008 15:15 | Ina Schieferdecker | Note Added: 0005189 |
10-03-2008 15:15 | Ina Schieferdecker | Resolution | open => won't fix
12-12-2008 12:00 | Ina Schieferdecker | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
12-12-2008 12:00 | Ina Schieferdecker | Product Version | => Edition 3.3.2
12-12-2008 12:00 | Ina Schieferdecker | Target Version | => Edition 4.1.1 (not yet published)

Notes

(0005188)
Thomas DeiÃŸ
10-03-2008 15:15

STF 349: In send statements on a port defined as port Pt message {out integer, hexstring}; one cannot distinguish from the literal whether an integer or the hexstring would be send. The typecast will have to be used. If hexstring notation is allowed, so should be octet string and bitstring. Conclusion: The gain is marginal, this will not be included.

(0005189)
Ina Schieferdecker
10-03-2008 15:15

see note