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

ID | Project | Category | View Status | Date Submitted | Last Update
0008054 | Part 01: TTCN-3 Core Language | Clarification | public | 07-09-2021 16:41 | 29-11-2021 10:30

Reporter | Gusztáv Adamis |
Assigned To | Jens Grabowski |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version |  |
Clause Reference(s) | 24.2
Source (company - Author) | Gusztáv Adamis Ericsson

Summary | 0008054: What happens if same verdict but with different text is set by setverdict
Description | What will be the result of this sequence? setverdict (pass, "text1"); setverdict (pass, "text2"); At least a note or an example shall be added to clarify it
Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR008054.docx (171,457) 08-11-2021 16:55 http://oldforge.etsi.org/mantis/file_download.php?file_id=4034&type=bug

Issue History
Date Modified | Username | Field | Change
07-09-2021 16:41 | Gusztáv Adamis | New Issue |
08-09-2021 11:06 | Jens Grabowski | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
08-09-2021 11:06 | Jens Grabowski | Note Added: 0015957 |
08-09-2021 11:07 | Jens Grabowski | Assigned To | => Gusztáv Adamis
08-09-2021 11:07 | Jens Grabowski | Status | new => assigned
09-09-2021 15:13 | Gusztáv Adamis | Note Added: 0015970 |
09-09-2021 15:13 | Gusztáv Adamis | Note Edited: 0015970 | bug_revision_view_page.php?bugnote_id=15970#r559
09-09-2021 15:18 | Gusztáv Adamis | Note Added: 0015971 |
10-09-2021 15:08 | Jens Grabowski | Note Added: 0015984 |
11-09-2021 00:04 | Gusztáv Adamis | Note Added: 0015991 |
08-11-2021 16:53 | Gusztáv Adamis | Note Added: 0016018 |
08-11-2021 16:55 | Gusztáv Adamis | File Added: CR008054.docx |
08-11-2021 17:21 | Gusztáv Adamis | Note Added: 0016021 |
08-11-2021 17:21 | Gusztáv Adamis | Assigned To | Gusztáv Adamis => Jacob Wieland - Spirent
08-11-2021 17:21 | Gusztáv Adamis | Status | assigned => confirmed
09-11-2021 14:16 | Jacob Wieland - Spirent | Status | confirmed => resolved
09-11-2021 14:16 | Jacob Wieland - Spirent | Resolution | open => fixed
09-11-2021 14:16 | Jacob Wieland - Spirent | Assigned To | Jacob Wieland - Spirent => Jens Grabowski
29-11-2021 10:30 | Jens Grabowski | Note Added: 0016124 |
29-11-2021 10:30 | Jens Grabowski | Status | resolved => closed

Notes

(0015957)
Jens Grabowski
08-09-2021 11:06

STF discussion: Check how the different tool works.

(0015970)
Gusztáv Adamis
09-09-2021 15:13

According to current standard, the text argument of the setverdict is used only for logging purposes. This text is not accessible from the code. It is logged, when a component terminates, so e.g. the text of a PTC is not passed to MTC, so we do not have to deal with this issue.
"The optional parameters allow to provide information that explain the reasons for assigning the verdict. This information is composed to a string and stored in an implicit charstring variable. On termination of the test component, the actual local verdict is logged together with the implicit charstring variable. Since the optional parameters can be seen as log information, the same rules and restrictions as for the parameters of the log statement (clause 19.11) apply."

(0015971)
Gusztáv Adamis
09-09-2021 15:18

I would suggest to add a short explanation to 'overwritten' into Semantic Description, like As the result of the setverdict operation, the implicit charstring variable is overwritten whenever the local verdict of a test component is overwritten (I.E. A NEW VALUE IS ASSIGNED TO IT).

(0015984)
Jens Grabowski
10-09-2021 15:08

STF discussion: Further discussion required for verdict text for final test case verdict.

(0015991)
Gusztáv Adamis
11-09-2021 00:04

STF decision: Under this CR, only the clarification of the overwriting is required. If specification of what the text of the final verdict of a test case is required, either in core language or in TCI is required, a new TC will be submitted.

(0016018)
Gusztáv Adamis
08-11-2021 16:53

Meaning of verdict overwriting explained, a new example added

(0016021)
Gusztáv Adamis
08-11-2021 17:21

@Jacob, pls check it

(0016124)
Jens Grabowski
29-11-2021 10:30

Implemented