ETSI TS 102 219-2003 Methods for Testing and Specification (MTS) The IDL to TTCN-3 Mapping《测试方法和规范(MTS) IDL到TTCN-3的映射》.pdf
《ETSI TS 102 219-2003 Methods for Testing and Specification (MTS) The IDL to TTCN-3 Mapping《测试方法和规范(MTS) IDL到TTCN-3的映射》.pdf》由会员分享,可在线阅读,更多相关《ETSI TS 102 219-2003 Methods for Testing and Specification (MTS) The IDL to TTCN-3 Mapping《测试方法和规范(MTS) IDL到TTCN-3的映射》.pdf(28页珍藏版)》请在麦多课文档分享上搜索。
1、 ETSI TS 102 219 V1.1.1 (2003-06)Technical Specification Methods for Testing and Specification (MTS);The IDL to TTCN-3 MappingETSI ETSI TS 102 219 V1.1.1 (2003-06) 2 Reference DTS/MTS-00080 Keywords IDL, testing, TTCN ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92
2、 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 present document can be downloaded from: http:/www.etsi.org The present document may be made available i
3、n 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 case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specif
4、ic 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 and other ETSI documents is available at http:/portal.etsi.org/tb/status/status.asp If you find errors i
5、n the present document, send your comment to: editoretsi.org Copyright Notification No part may be reproduced except as authorized by written permission. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2003. All rights
6、reserved. DECTTM, PLUGTESTSTM and UMTSTM are Trade Marks of ETSI registered for the benefit of its Members. TIPHONTMand the TIPHON 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 t
7、he 3GPP Organizational Partners. ETSI ETSI TS 102 219 V1.1.1 (2003-06) 3 Contents Intellectual Property Rights5 Foreword.5 Introduction 5 1 Scope 7 2 References 7 3 Abbreviations .7 4 Approach 8 5 Lexical Conventions.8 5.0 General .8 5.1 Comments.8 5.2 Identifiers .8 5.3 Keywords .8 5.4 Literals8 6
8、Pre-processing 9 7 IDL specification9 7.0 General .9 7.1 Module declaration.9 7.2 Interface declaration.9 7.3 Value declaration10 7.4 Constant declaration.10 8 Type declaration.11 8.0 General .11 8.1 IDL basic types.11 8.1.0 General11 8.1.1 Integer and floating-point types11 8.1.2 Char and wide char
9、 type .11 8.1.3 Boolean type .12 8.1.4 Octet type12 8.1.5 Any type .12 8.2 Constructed types .12 8.2.0 General12 8.2.1 Struct.12 8.2.2 Discriminated unions 13 8.2.3 Enumerations 13 8.3 Template types .13 8.3.0 General13 8.3.1 Sequence.13 8.3.2 String and wstring.14 8.3.3 Fixed types14 8.4 Complex de
10、clarator 14 8.4.0 General14 8.4.1 Arrays .14 8.4.2 Native types 14 9 Exception declaration.15 10 Operation declaration .15 11 Attribute declaration.16 12 Names and scoping.16 ETSI ETSI TS 102 219 V1.1.1 (2003-06) 4 Annex A: Void 18 Annex B (informative): Examples.19 B.1 Example19 B.1.0 General .19 B
11、.1.1 IDL specification19 B.1.2 Derived TTCN-3 specification.20 Annex C (informative): Mapping Lists.25 C.1 IDL keyword and concept mapping list .25 C.2 Comparison of IDL, ASN.1, TTCN-2 and TTCN-3 data types .26 Annex D (informative): Bibliography.27 History 28 ETSI ETSI TS 102 219 V1.1.1 (2003-06) 5
12、 Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Propert
13、y Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/webapp.etsi.org/IPR/home.asp). Pursuant to the ETSI IPR Policy, no investigation, includ
14、ing 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 Web server) which are, or may be, or may become, essential to the present document. Foreword This Technical Specification (TS) has
15、 been produced by ETSI Technical Committee Methods for Testing and Specification (MTS). Introduction Object-based technologies (such as CORBA, DCOM, DCE) and component-based technologies (such as CCM, EJB, .NET) use interface specifications to describe the structure of an object-/component-based sys
16、tem and its operations and capabilities to interact with the environment. These interface specifications support interoperability and reusability of objects/components. The techniques used for interface specifications are often called Interface Definition Language (IDL), for example CORBA IDL, Micro
17、soft IDL or DCE IDL. These languages are comparable in their abilities to define system interfaces, operations at system interfaces and system structures to various extends. They differ in details of the object/component model. When considering the testing of object-/component-based systems with TTC
18、N-3, one is faced with the problem of accessing the systems to be tested via the system interfaces as described in an IDL specification. In particular, for TTCN-3 based test systems a direct import of IDL specifications into the test specifications for the use of e.g. systems interface, operation an
19、d exception definitions is prevalent to any manual transformation into TTCN-3. The present document discusses the mapping of CORBA IDL specifications into TTCN-3. This mapping rules out the principles not only for CORBA IDL, but also for other interface specification languages. The mapping can be ad
20、apted to the details of other interface specification languages. The Interface Definition Language (IDL) (chapter 3 in 4) is a base of the whole Common Object Request Broker Architecture (CORBA) 4 and an important point in developing distributed systems with CORBA. It allows the reuse and interopera
21、bility of objects in a system. A mapping between IDL and a programming language is defined in the CORBA standard. IDL is very similar to C+ containing pre-processor directives (include, comments, etc.), grammar as well as constant, type and operation declarations. There are no programming language f
22、eatures like, e.g. if-statements. The core language of TTCN-3 is defined in ES 201 873-1 1 and provides a full text-based syntax, static semantics and operational semantics as well as a definition for the use of the language with ASN.1. The IDL mapping provides a definition for the use of the core l
23、anguage with IDL (figure 1). ETSI ETSI TS 102 219 V1.1.1 (2003-06) 6 TTCN-3 Core Language Presentation formatnTTCN-3 User ASN.1 types and values Other types and valuesnGraphical format IDL types and values The shaded boxes are not defined in this document Tabular format Figure 1: Users view of the c
24、ore language and the various presentation formats It makes no difference for the mapping if requested or provided interfaces are required by the test system and SUT. Hence, TTCN can be used on client and server side without modifications to the mapping rules. The further document is structured simil
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ETSITS1022192003METHODSFORTESTINGANDSPECIFICATIONMTSTHEIDLTOTTCN3MAPPING 测试 方法 规范 MTSIDL TTCN3 映射 PDF

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