1、 ETSI ES 202 781 V1.4.1 (2015-06) Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Configuration and Deployment Support ETSI STANDARD ETSI ETSI ES 202 781 V1.4.1 (2015-06) 2 Reference RES/MTS-202781ConfDepl ed141 Keywords proto
2、col, testing, TTCN-3 ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can b
3、e downloaded from: http:/www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
4、existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be
5、 subject to revision or change of status. Information on the current status of this and other ETSI documents is available at http:/portal.etsi.org/tb/status/status.asp If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People
6、/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the wri
7、tten authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2015. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPP
8、TM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI ES 202 781 V1.4.1 (2015-06) 3 Contents Intellectual Property Rights 6g3Foreword . 6g3Modal
9、 verbs terminology 6g31 Scope 7g32 References 7g32.1 Normative references . 7g32.2 Informative references 7g33 Definitions and abbreviations . 8g33.1 Definitions 8g33.2 Abbreviations . 8g34 Package conformance and compatibility 8g35 Package Concepts for the Core Language 9g35.0 General . 9g35.1 Stat
10、ic configurations . 10g35.1.1 The special configuration type: configuration 10g35.1.2 The configuration function . 10g35.1.3 Starting a static test configuration . 12g35.1.4 Destruction of static test configurations 12g35.1.5 Creation of static test components 13g35.1.6 Establishment of static conne
11、ctions and static mappings 14g35.1.7 Test case definitions for static test configuration 14g35.1.8 Executing test cases on static test configurations . 15g35.1.9 Further restrictions 17g35.1.10 Logging the status of static configurations . 17g35.2 Ports with translation capability . 17g35.2.0 Genera
12、l 17g35.2.1 Translation capability in port type declaration 19g35.2.2 Mapping and connecting ports 20g35.2.3 Translation functions 20g35.2.4 Translation state 21g35.2.5 Sending . 22g35.2.6 Receiving 23g35.2.7 Address . 25g35.2.8 Clear, start, stop and halt operation 25g36 Package Semantics . 25g36.0
13、 General . 25g36.1 Replacement of short forms 27g36.2 Order of replacement steps . 28g36.3 Flow graph representation of TTCN-3 behaviour 28g36.4 Flow graph construction procedure 29g36.5 Flow graph representation of configuration functions 29g36.6 Retrieval of start nodes of flow graphs . 30g36.7 Mo
14、dule state . 30g36.8 Accessing the module state 30g36.9 Configuration state . 31g36.10 Accessing the configuration state . 31g36.11 Entity states 32g36.12 Accessing entity states 34g36.13 Handling of connections among ports 35g36.14 Handling of port states . 35g36.15 The evaluation procedure for a T
15、TCN-3 module . 36g36.16 Evaluation phases . 36g36.17 Phase I: Initialization 37g36.18 Phase II: Update . 38g3ETSI ETSI ES 202 781 V1.4.1 (2015-06) 4 6.19 Phase III: Selection . 38g36.20 Phase IV: Execution . 38g36.21 Global functions . 39g36.22 Clear port operation 39g36.23 Configuration function ca
16、ll. 40g36.24 Connect operation. 41g36.25 Create operation . 42g36.26 Flow graph segment 44g36.27 Flow graph segment . 45g36.28 Flow graph segment . 46g36.29 Flow graph segment 46g36.30 Execute statement . 47g36.31 Flow graph segment . 48g36.32 Flow graph segment . 48g36.33 Flow graph segment 48g36.3
17、4 Flow graph segment 49g36.35 Flow graph segment 51g36.36 Halt port operation 52g36.37 Kill component operation . 53g36.38 Flow graph segment . 55g36.39 Flow graph segment . 55g36.40 Kill execution statement . 57g36.41 Kill configuration operation . 58g36.42 Map operation 58g36.43 Start port operati
18、on . 59g36.44 Stop component operation 60g36.45 Flow graph segment 62g36.46 Flow graph segment 63g36.47 Flow graph segment 64g36.48 Stop port operation . 65g36.49 Flow graph segment 66g36.50 Flow graph segment . 67g36.51 Flow graph segment . 68g37 TRI Extensions for the Package . 68g37.1 Changes and
19、 extensions to clause 5.5.2 of ETSI ES 201 873-5 Connection handling operations 68g37.2 Extensions to clause 6 of ETSI ES 201 873-5 JavaTMlanguage mapping 70g37.3 Extensions to clause 7 of ETSI ES 201 873-5 ANSI C language mapping 70g37.4 Extensions to clause 8 of ETSI ES 201 873-5 C+ language mappi
20、ng 71g37.5 Extensions to clause 9 of ETSI ES 201 873-5 C# language mapping 71g38 TCI Extensions for the Package . 71g38.1 Extensions to clause 7.2.1.1 of ETSI ES 201 873-6 Management . 71g38.2 Extensions to clause 7.3.1.1 of ETSI ES 201 873-6 TCI-TM required 72g38.3 Extensions to clause 7.3.1.2 of E
21、TSI ES 201 873-6 TCI-TM provided . 73g38.4 Extensions to clause 7.3.3.1 of ETSI ES 201 873-6 TCI-CH required 74g38.5 Extensions to clause 7.3.3.2 of ETSI ES 201 873-6 TCI CH provided 74g38.6 Extensions to clause 7.3.4 of ETSI ES 201 873-6 TCI-TL provided . 75g38.7 Extensions to clause 8 of ETSI ES 2
22、01 873-6 JavaTMlanguage mapping 78g38.8 Extensions to clause 9 of ETSI ES 201 873-6 ANSI C language mapping 80g38.9 Extensions to clause 10 of ETSI ES 201 873-6 C+ language mapping 81g38.10 Extensions to clause 11 of ETSI ES 201 873-6 W3C XML mapping 83g38.11 Extensions to clause 12 of ETSI ES 201 8
23、73-6 C# language mapping 86g3Annex A (normative): BNF and static semantics 89g3A.1 Additional TTCN-3 terminals 89g3A.2 Modified TTCN-3 syntax BNF productions 89g3A.3 Additional TTCN-3 syntax BNF productions 90g3Annex B (informative): Library of useful types 92g3ETSI ETSI ES 202 781 V1.4.1 (2015-06)
24、5 B.1 Limitations . 92g3B.2 Useful TTCN-3 types . 92g3B.2.1 Status values for port states 92g3History 93g3ETSI ETSI ES 202 781 V1.4.1 (2015-06) 6 Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to
25、 these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. La
26、test updates are available on the ETSI Web server (http:/ipr.etsi.org). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI W
27、eb server) which are, or may be, or may become, essential to the present document. Foreword This ETSI Standard (ES) has been produced by ETSI Technical Committee Methods for Testing and Specification (MTS). The use of underline (additional text) and strike through (deleted text) highlights the diffe
28、rences between base document and extended documents. The present document relates to the multi-part standard ETSI ES 201 873 covering the Testing and Test Control Notation version 3, as identified below: Part 1: “TTCN-3 Core Language“; Part 4: “TTCN-3 Operational Semantics“; Part 5: “TTCN-3 Runtime
29、Interface (TRI)“; Part 6: “TTCN-3 Control Interface (TCI)“; Part 7: “Using ASN.1 with TTCN-3“; Part 8: “The IDL to TTCN-3 Mapping“; Part 9: “Using XML schema with TTCN-3“; Part 10: “TTCN-3 Documentation Comment Specification“. Modal verbs terminology In the present document “shall“, “shall not“, “sh
30、ould“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation.
31、ETSI ETSI ES 202 781 V1.4.1 (2015-06) 7 1 Scope The present document defines the Configuration and Deployment Supportpackage of TTCN-3. TTCN-3 can be used for the specification of all types of reactive system tests over a variety of communication ports. Typical areas of application are protocol test
32、ing (including mobile and Internet protocols), service testing (including supplementary services), module testing, testing of OMG CORBA based platforms, APIs, etc. TTCN-3 is not restricted to conformance testing and can be used for many other kinds of testing including interoperability, robustness,
33、regression, system and integration testing. The specification of test suites for physical layer protocols is outside the scope of the present document. TTCN-3 packages are intended to define additional TTCN-3 concepts, which are not mandatory as concepts in the TTCN-3 core language, but which are op
34、tional as part of a package which is suited for dedicated applications and/or usages of TTCN-3. This package defines the TTCN-3 support for static test configurations. While the design of TTCN-3 package has taken into account the consistency of a combined usage of the core language with a number of
35、packages, the concrete usages of and guidelines for this package in combination with other packages is outside the scope of the present document. 2 References 2.1 Normative references References are either specific (identified by date of publication and/or edition number or version number) or non-sp
36、ecific. For specific references, only the cited version applies. For non-specific references, the latest version of the reference document (including any amendments) applies. Referenced documents which are not found to be publicly available in the expected location might be found at http:/docbox.ets
37、i.org/Reference. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are necessary for the application of the present document. 1 ETSI ES 201 873-1: “Methods for Testing and Speci
38、fication (MTS); The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language“. 2 ETSI ES 201 873-4: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 4: TTCN-3 Operational Semantics“. 3 ETSI ES 201 873-5: “Methods for Testing and Spe
39、cification (MTS); The Testing and Test Control Notation version 3; Part 5: TTCN-3 Runtime Interface (TRI)“. 4 ETSI ES 201 873-6: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 6: TTCN-3 Control Interface (TCI)“. 5 ISO/IEC 9646-1: “Information tech
40、nology - Open Systems Interconnection -Conformance testing methodology and framework; Part 1: General concepts“. 2.2 Informative references References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific references, only the ci
41、ted version applies. For non-specific references, the latest version of the reference document (including any amendments) applies. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced docume
42、nts are not necessary for the application of the present document but they assist the user with regard to a particular subject area. ETSI ETSI ES 202 781 V1.4.1 (2015-06) 8 i.1 ETSI ES 201 873-7: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 7: U
43、sing ASN.1 with TTCN-3“. i.2 ETSI ES 201 873-8: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 8: The IDL to TTCN-3 Mapping“. i.3 ETSI ES 201 873-9: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Par
44、t 9: Using XML schema with TTCN-3“. i.4 ETSI ES 201 873-10: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 10: TTCN-3 Documentation Comment Specification“. 3 Definitions and abbreviations 3.1 Definitions For the purposes of the present document, t
45、he terms and definitions given in ETSI ES 201 873-1 1, ETSI ES 201 873-4 2, ETSI ES 201 873-5 3, ETSI ES 201 873-6 4 and ISO/IEC 9646-1 5 apply. 3.2 Abbreviations For the purposes of the present document, the abbreviations given in ETSI ES 201 873-1 1, ETSI ES 201 873-4 2, ETSI ES 201 873-5 3, ETSI
46、ES 201 873-6 4, ISO/IEC 9646-1 5 and the following apply: MTC Main Test Component PTC Parallel Test Component4 Package conformance and compatibility The package presented in the present document is identified by the package tag: “TTCN-3:2009 Static Test Configurations“ - to be used with modules comp
47、lying with the present document. For an implementation claiming to conform to this package version, all features specified in the present document shall be implemented consistently with the requirements given in the present document and in ETSI ES 201 873-1 1 and ETSI ES 201 873-4 2. The package pre
48、sented in the present document is compatible to: ETSI ES 201 873-1 1 version 4.6.1; ETSI ES 201 873-4 2 version 4.4.1; ETSI ES 201 873-5 3 version 4.6.1; ETSI ES 201 873-6 4 version 4.6.1; ETSI ES 201 873-7 i.1 version 4.5.1; ETSI ES 201 873-8 i.2 version 4.5.1; ETSI ES 201 873-9 i.3 version 4.5.1;
49、ETSI ES 201 873-10 i.4 version 4.5.1. If later versions of those parts are available and should be used instead, the compatibility to the package presented in the present document has to be checked individually. ETSI ETSI ES 202 781 V1.4.1 (2015-06) 9 5 Package Concepts for the Core Language 5.0 General This package defines the TTCN-3 means to define static test configurations. A static test configuration is a test configuration with a lifetime that is not bound to a single test case. The test
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1