ETSI ES 201 873-3-2007 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 3 TTCN-3 Graphical presentation Format (GFT) (V3 2 1)《测试方法和规_1.pdf
《ETSI ES 201 873-3-2007 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 3 TTCN-3 Graphical presentation Format (GFT) (V3 2 1)《测试方法和规_1.pdf》由会员分享,可在线阅读,更多相关《ETSI ES 201 873-3-2007 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 3 TTCN-3 Graphical presentation Format (GFT) (V3 2 1)《测试方法和规_1.pdf(123页珍藏版)》请在麦多课文档分享上搜索。
1、 ETSI ES 201 873-3 V3.2.1 (2007-02)ETSI Standard Methods for Testing and Specification (MTS);The Testing and Test Control Notation version 3;Part 3: TTCN-3 Graphical presentation Format (GFT)ETSI ETSI ES 201 873-3 V3.2.1 (2007-02) 2 Reference RES/MTS-00090-32 ttcn3 gft Keywords GFT, methodology, MSC
2、, MTS, testing, TTCN 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 Individual copies of the p
3、resent document can be downloaded from: http:/www.etsi.org The present document may be made available in more than one electronic version or in print. In any case of existing or perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF). In ca
4、se of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this a
5、nd 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: http:/portal.etsi.org/chaircor/ETSI_support.asp Copyright Notification No part may be reproduced except as authori
6、zed by written permission. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2007. All rights reserved. DECTTM, PLUGTESTSTM and UMTSTM are Trade Marks of ETSI registered for the benefit of its Members. TIPHONTMand the TIP
7、HON logo are Trade Marks currently being registered by ETSI for the benefit of its Members. 3GPPTM is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. ETSI ETSI ES 201 873-3 V3.2.1 (2007-02) 3 Contents Intellectual Property Rights6 Foreword.6 In
8、troduction 6 1 Scope 8 2 References 8 3 Abbreviations .8 4 Overview 9 5 GFT language concepts10 6 Mapping between GFT and TTCN-3 Core language.12 7 Module structure 12 8 GFT symbols14 9 GFT diagrams.17 9.1 Common properties 17 9.1.1 Diagram area.17 9.1.2 Diagram heading.17 9.1.3 Paging .17 9.2 Contr
9、ol diagram18 9.3 Test case diagram.18 9.4 Function diagram19 9.5 Altstep diagram 20 10 Instances in GFT diagrams.21 10.1 Control instance21 10.2 Test component instances.21 10.3 Port instances22 11 Elements of GFT diagrams.22 11.1 General drawing rules 22 11.1.1 Usage of semicolons .22 11.1.2 Usage
10、of action symbols .23 11.1.3 Comments.23 11.2 Invoking GFT diagrams .24 11.2.1 Execution of test cases24 11.2.2 Invocation of functions .24 11.2.3 Invocation of altsteps 25 11.3 Declarations25 11.3.1 Declaration of timers, constants and variables in action symbols.26 11.3.2 Declaration of constants
11、and variables within inline expression symbols 26 11.3.3 Declaration of constants and variables within create symbols26 11.3.4 Declaration of constants and variables within default symbols 26 11.3.5 Declaration of constants and variables within reference symbols 27 11.3.6 Declaration of constants an
12、d variables within execute test case symbols.27 11.4 Basic program statements.27 11.4.1 The Log statement 28 11.4.2 The Label statement28 11.4.3 The Goto statement.28 11.4.4 The If-else statement.29 11.4.5 The For statement .29 11.4.6 The While statement .30 11.4.7 The Do-while statement30 11.5 Beha
13、vioural Program Statements .30 ETSI ETSI ES 201 873-3 V3.2.1 (2007-02) 4 11.5.1 Sequential Behaviour30 11.5.2 Alternative Behaviour.31 11.5.2.1 Selecting/Deselecting an Alternative 32 11.5.2.2 Else branch in alternatives 33 11.5.3 The Repeat statement33 11.5.4 Interleaved Behaviour.34 11.5.5 The Ret
14、urn statement 34 11.6 Default handling.35 11.6.1 Default references.35 11.6.2 The activate operation.35 11.6.3 The deactivate operation.35 11.7 Configuration operations35 11.7.1 The Create operation.36 11.7.2 The Connect and Map operations .36 11.7.3 The Disconnect and Unmap operations 36 11.7.4 The
15、 Start test component operation 36 11.7.5 The Stop execution and Stop test component operations37 11.7.6 The Done operation 38 11.8 Communication operations.38 11.8.1 General format of the sending operations.38 11.8.2 General format of the receiving operations.39 11.8.3 Message-based communication 4
16、0 11.8.3.1 The Send operation .40 11.8.3.2 The Receive operation.41 11.8.3.2.1 Receive any message.42 11.8.3.2.2 Receive on any port.42 11.8.3.3 The Trigger operation .42 11.8.3.3.1 Trigger on any message.43 11.8.3.3.2 Trigger on any port43 11.8.4 Procedure-based communication43 11.8.4.1 The Call op
17、eration.43 11.8.4.1.1 Calling blocking procedures43 11.8.4.1.2 Calling non-blocking procedures.45 11.8.4.2 The Getcall operation45 11.8.4.2.1 Accepting any call .46 11.8.4.2.2 Getcall on any port 46 11.8.4.3 The Reply operation47 11.8.4.4 The Getreply operation .47 11.8.4.4.1 Get any reply from any
18、call .49 11.8.4.4.2 Get a reply on any port 49 11.8.4.5 The Raise operation.50 11.8.4.6 The Catch operation 50 11.8.4.6.1 The Timeout exception51 11.8.4.6.2 Catch any exception 52 11.8.4.6.3 Catch on any port.53 11.8.5 The Check operation.53 11.8.5.1 The Check any operation 54 11.8.5.2 Check on any
19、port .54 11.8.6 Controlling communication ports .55 11.8.6.1 The Clear port operation .55 11.8.6.2 The Start port operation 55 11.8.6.3 The Stop port operation.56 11.8.6.4 Use of any and all with ports.56 11.9 Timer operations 56 11.9.1 The Start timer operation 56 11.9.2 The Stop timer operation 57
20、 11.9.3 The Timeout operation57 11.9.4 The Read timer operation .58 11.9.5 Use of any and all with timers 58 11.10 Test verdict operations .58 11.11 External actions 59 11.12 Specifying attributes.59 ETSI ETSI ES 201 873-3 V3.2.1 (2007-02) 5 Annex A (normative): GFT BNF 60 A.1 Meta-Language for GFT
21、60 A.2 Conventions for the syntax description 60 A.3 The GFT grammar61 A.3.1 Diagrams 61 A.3.1.1 Control diagram61 A.3.1.2 Testcase diagram 61 A.3.1.3 Function diagram62 A.3.1.4 Altstep diagram.63 A.3.1.5 Comments.63 A.3.1.6 Diagram 63 A.3.2 Instances.64 A.3.2.1 Component instances 64 A.3.2.2 Port i
22、nstances 64 A.3.2.3 Control instances 64 A.3.2.4 Instance end 65 A.3.3 Timer 65 A.3.4 Action.67 A.3.5 Invocation.67 A.3.5.1 Function and altstep invocation on component/Control instances68 A.3.5.2 Function and altstep invocation on ports 68 A.3.5.3 Testcase execution 68 A.3.6 Activation/Deactivation
23、 of defaults69 A.3.7 Test components.69 A.3.7.1 Creation of test components69 A.3.7.2 Starting test components.69 A.3.7.3 Stopping test components .70 A.3.8 Inline expressions.70 A.3.8.1 Inline expressions on component instances 72 A.3.8.2 Inline expressions on ports .74 A.3.8.3 Inline expressions o
24、n control instances.75 A.3.9 Condition76 A.3.9.1 Condition on component instances .77 A.3.9.2 Condition on ports 78 A.3.10 Message-based communication78 A.3.10.1 Message-based communication on component instances .78 A.3.10.2 Message-based communication on port instances 79 A.3.11 Signature-based co
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ETSIES20187332007METHODSFORTESTINGANDSPECIFICATIONMTSTHETESTINGANDTESTCONTROLNOTATIONVERSION3PART3TTCN3GRAPHICALPRESENTATIONFORMATGFTV321

链接地址:http://www.mydoc123.com/p-730781.html