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

ID | Project | Category | View Status | Date Submitted | Last Update
0006775 | Part 01: TTCN-3 Core Language | New Feature | public | 16-06-2014 13:32 | 06-01-2015 17:54

Reporter | Axel Rennoch |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | feature | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.7.1 (published 2015-06) |
Target Version | v4.7.1 (published 2015-06) | Fixed in Version | v4.7.1 (published 2015-06) |
Clause Reference(s) | 24.3
Source (company - Author) | Axel Rennoch

Summary | 0006775: getverdict from other component

Description

Currently "getverdict" can only be applied to get the local verdict. However a component may be interested in the intermediate verdict of a different component, e.g. "mtc" wants to check the verdict of a parallel test component that has terminated some functional behaviour, but is still alive and ready to execute further behaviour.
The proposal is to allow the application of "getverdict" also to other components in order to retrieve their verdicts according to the following example:
var PTC v_ptc := PTC.create alive;
var verdicttype v_result;
v_ptc.start(f_preamble());
v_ptc.done;
v_result := v_ptc.getverdict;
if (v_result==pass) {...} else {...};

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

related to | 0006804 | closed | Tomas Urban | Part 06: TTCN-3 Control Interface | TCI support for verdict assignment in done and killed operations

Attached Files | CR6775_v1_141010.docx (69,277) 10-10-2014 10:43 http://oldforge.etsi.org/mantis/file_download.php?file_id=3143&type=bug CR6775_v2_141103.docx (94,708) 03-11-2014 10:47 http://oldforge.etsi.org/mantis/file_download.php?file_id=3146&type=bug

Issue History
Date Modified | Username | Field | Change
16-06-2014 13:32 | Axel Rennoch | New Issue |
17-06-2014 11:57 | Gyorgy Rethy | Assigned To | => Jens Grabowski
17-06-2014 11:57 | Gyorgy Rethy | Status | new => assigned
19-06-2014 14:54 | Gyorgy Rethy | Note Added: 0012147 |
10-10-2014 10:43 | Jens Grabowski | File Added: CR6775_v1_141010.docx |
10-10-2014 10:43 | Jens Grabowski | Note Added: 0012352 |
10-10-2014 10:44 | Jens Grabowski | Assigned To | Jens Grabowski => Tomas Urban
03-11-2014 10:47 | Tomas Urban | File Added: CR6775_v2_141103.docx |
03-11-2014 10:50 | Tomas Urban | Note Added: 0012372 |
03-11-2014 10:50 | Tomas Urban | Assigned To | Tomas Urban => Jens Grabowski
04-11-2014 10:35 | Jens Grabowski | Note Added: 0012391 |
04-11-2014 10:35 | Jens Grabowski | Assigned To | Jens Grabowski => Tomas Urban
04-11-2014 14:59 | Tomas Urban | Relationship added | related to 0006804
04-11-2014 16:17 | Tomas Urban | Note Added: 0012405 |
04-11-2014 16:17 | Tomas Urban | Status | assigned => resolved
04-11-2014 16:17 | Tomas Urban | Fixed in Version | => v4.7.1 (published 2015-06)
04-11-2014 16:17 | Tomas Urban | Resolution | open => fixed
04-11-2014 16:17 | Tomas Urban | Assigned To | Tomas Urban => Gyorgy Rethy
06-01-2015 17:54 | Gyorgy Rethy | Note Added: 0012646 |
06-01-2015 17:54 | Gyorgy Rethy | Status | resolved => closed

Notes

(0012147)
Gyorgy Rethy
19-06-2014 14:54

STF discussion: check the technical solution when the function started on a PTC, its local verdict can be retrieved with the PTC.done statement using the assignment syntax -> v_myVerdictVar. Always returns a verdicttype.

(0012352)
Jens Grabowski
10-10-2014 10:43

First proposal. Please review!

(0012372)
Tomas Urban
03-11-2014 10:50

I am fine with the proposed resolution. I only made few cosmetic corrections. Please check the second version of the document and if it is OK with you, the CR can be marked as resolved.

(0012391)
Jens Grabowski
04-11-2014 10:35

Tomas, I am fine with your second version. However, please check if this CR also requires changes in parts 5 and/or 6. Either you resolve it in the context of this CR or provide a new CR.

(0012405)
Tomas Urban
04-11-2014 16:17

I created a related CR for TCI changes. The proposed resolution of this CR is acceptable and can be added to the next version of the TTCN-3 core language specification.

(0012646)
Gyorgy Rethy
06-01-2015 17:54

Added to draft V4.6.3. BNF is aligned to the syntax structure in the text: only one port redirect symbol is allowed even if both the verdict and component index are stored.