Method, device and system for converting a testing and test control notation version 3 (TTCN-3) script into a Java source code

A source code and script technology, applied in the field of converting TTCN-3 scripts into Java source codes, can solve the problem of high price
CN102929680AActive Publication Date: 2013-02-13ISOFT INFRASTRUCTURE SOFTWARE

Patent Information

Authority / Receiving Office
CN ยท China
Current Assignee / Owner
ISOFT INFRASTRUCTURE SOFTWARE
Publication Date
2013-02-13

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method, a device and a system for converting a testing and test control notation version 3 (TTCN-3) script into a Java source code so as to compile the TTCN-3 script. According to the method, a translator of the TTCN-3 script is constructed, analyzes and verifies a test object file, and then translates the TTCN-3 script into a Java file according to predefined translation rules. A Java runtime support library is constructed according to the translation rules of the translator, supports the foundation classes quoted in a translation scheme, and completes the execution of the code generated by translation and the recording of the execution results. The complete Java source code in accordance with a TTCN-3 semanteme can be acquired through the integration of the code translated by the translator and the code of the runtime support library. By the method, the process of the design of an interlanguage by a compiler and the optimization of the object code is eliminated; and moreover, the method is simple and convenient to implement, and allows self-customization of the grammar range of translation.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of computer script compilation, in particular to a method and device for converting TTCN-3 scripts into Java source codes. Background technique

[0002] TTCN-3 (Testing and Test Control Notation version 3, Test and Test Control Notation-3), is an internationally standardized test development programming language dedicated to various tests. Typical application areas are system testing, interaction testing, protocol testing, business testing, service testing, module testing, etc. For example, mobile and Internet protocol testing can be carried out through TTCN-3, platform-based CORBA (Common Object Request Broker Architecture, public object request broker architecture) testing, API (Application programming interface application programming interface,) testing and for describing AUTOSAR (Automotive Open Systems Architecture, Automotive OpenSystems Architecture) standard basic software module compliance testing and so on...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More