ETSI's Bug Tracker - Part 05: TTCN-3 Runtime Interface
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0000379 | Part 05: TTCN-3 Runtime Interface | Technical | public | 23-11-2006 13:57 | 12-12-2008 11:40

Reporter | Stephan Schulz |
Assigned To |  |
Priority | normal | Severity | minor | Reproducibility | always
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v3.2.1 (published 2007-02) | Fixed in Version | v3.2.1 (published 2007-02) |
Clause Reference(s) | Clause 5.2.2
Source (company - Author) | Stephan Tobies, Nokia

Summary | 0000379: Add triEndTestcase operation to TRI
Description | The current version of the TRI has no provision to inform the SA of the termination of a test case. This leads to the fact that the SA may attempt to communicate with components even after they have finished and/or may lock resources that should be released once the test case has finished.
Steps To Reproduce |
Additional Information | Add a TRI operation triEndTestcase to the SA-erlated operations that is invoked by the TE when a test case has finished. This will allow the SA to free resources and to cease communication with componenets reliably.
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
23-11-2006 13:57 | Stephan Schulz | New Issue |
23-11-2006 13:57 | Stephan Schulz | Clause Reference(s) | => Clause 5.2.2
23-11-2006 13:57 | Stephan Schulz | Source (company - Author) | => Stephan Tobies, Nokia
23-11-2006 13:58 | Stephan Schulz | Note Added: 0000306 |
23-11-2006 13:58 | Stephan Schulz | Status | new => closed
23-11-2006 13:58 | Stephan Schulz | Resolution | open => fixed
23-11-2006 13:58 | Stephan Schulz | Fixed in Version | => Edition 3.2.1 (not yet published)
12-12-2008 11:40 | Ina Schieferdecker | Target Version | => Edition 3.2.1

Notes

(0000306)
Stephan Schulz
23-11-2006 13:58

Proposed STF solution:
Add the triEndTestcase to the TRI document as follows:
Change Table 2:
Table 2: Correlation between TTCN-3 and TRI Operation Invocations (* = if applicable)
TTCN-3 Operation Name TRI Operation Name TRI Interface Name
execute triExecuteTestCase
triStartTimer*
triEndTestCase TriCommunication
TriPlatform
TriCommunication
…
Make new 5.5.2.4:
5.5.2.4 triEndTestCase (TE  SA)
Signature TriStatusType triEndTestCase()
In Parameters n.a.
Out Parameters n.a.
Return Value The return status of the triEndTestCase operation. The return status indicates the local success (TRI_OK) or failure (TRI_Error) of the operation.
Constraints This operation is called by the TE immediately after the execution of any test case.
Effect The SA can free resources, cease communication at system ports and to test components.
The triEndTestCase operation returns TRI_OK in case the operation has been successfully performed, TRI_Error otherwise.
Add to 6.5.2.1 in the connection handling operations:
// Ref: TRI-Definition 5.5.2.4
public TriStatus triEndTestCase();
Add to 7.2.4
TriStatusType triEndTestCase() TriStatus triEndTestCase()
Add to Annex A:
TriStatusType triEndTestCase();