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

ID | Project | Category | View Status | Date Submitted | Last Update
0007919 | Part 01: TTCN-3 Core Language | New Feature | public | 13-03-2020 10:35 | 16-12-2020 14:31

Reporter | Jacob Wieland - Spirent |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | 4.12.1 (published 2020-05) |
Target Version | 4.13.1 (ongoing) | Fixed in Version | 4.13.1 (ongoing) |
Clause Reference(s) | 16.3, A.1.6.1.6
Source (company - Author) | Spirent - Jacob Wieland

Summary | 0007919: testcase should be possible to be defined without runs on

Description

When writing testcases where the main test component doesn't use any component variables or ports, it would be convenient if it were possible to leave out the runs on clause.
For unit tests or tests where the mtc just starts a lot of ptcs and waits for them, it is often necessary to write this pattern:
type component C {}
testcase T() runs on C { ... }
The same restrictions shall apply as if an empty component type was declared in a runs on clause.
As there is clearly no gain from this, it should be allowed to define this instead of like this:
testcase T() { ... }

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR7919-1.docx (185,476) 12-08-2020 09:25 http://oldforge.etsi.org/mantis/file_download.php?file_id=3918&type=bug

Issue History
Date Modified | Username | Field | Change
13-03-2020 10:35 | Jacob Wieland - Spirent | New Issue |
15-03-2020 13:52 | KristÃ³f Szabados | Note Added: 0015617 |
10-08-2020 10:52 | Jens Grabowski | Assigned To | => Tomas Urban
10-08-2020 10:52 | Jens Grabowski | Status | new => assigned
10-08-2020 11:20 | Jens Grabowski | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
12-08-2020 09:25 | Tomas Urban | File Added: CR7919-1.docx |
12-08-2020 09:28 | Tomas Urban | Note Added: 0015705 |
12-08-2020 09:28 | Tomas Urban | Assigned To | Tomas Urban => Jacob Wieland - Spirent
12-08-2020 09:28 | Tomas Urban | Status | assigned => confirmed
12-08-2020 14:48 | Jacob Wieland - Spirent | Status | confirmed => resolved
12-08-2020 14:48 | Jacob Wieland - Spirent | Resolution | open => fixed
12-08-2020 14:48 | Jacob Wieland - Spirent | Assigned To | Jacob Wieland - Spirent => Gyorgy Rethy
16-12-2020 14:31 | Gyorgy Rethy | Note Added: 0015861 |
16-12-2020 14:31 | Gyorgy Rethy | Status | resolved => closed
16-12-2020 14:31 | Gyorgy Rethy | Product Version | => 4.12.1 (published 2020-05)
16-12-2020 14:31 | Gyorgy Rethy | Fixed in Version | => 4.13.1 (ongoing)
16-12-2020 14:31 | Gyorgy Rethy | Target Version | => 4.13.1 (ongoing)

Notes

(0015617)
KristÃ³f Szabados
15-03-2020 13:52

Sound reasonable. We could just say, that if the runs on clause is missing, the testcase is implicitly taken as if running on an empty component.

(0015705)
Tomas Urban
12-08-2020 09:28

Resolution uploaded. Please check.

(0015861)
Gyorgy Rethy
16-12-2020 14:31

Implemented in draft 4.12.2