Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for automatically testing common object request broker architecture (CORBA) interfaces

An object request proxy and architecture technology, applied in software testing/debugging and other directions, can solve the problems of complicated manual interface calling code and low efficiency of CORBA interface testing, and achieve the goal of enriching automated testing methods, improving testing efficiency, and reducing difficulty. Effect

Inactive Publication Date: 2011-03-30
ZTE CORP
View PDF2 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is to provide a CORBA interface automatic testing method and device to solve the problems in the prior art that the manual interface calling code is complicated and the CORBA interface testing efficiency is low.

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for automatically testing common object request broker architecture (CORBA) interfaces
  • Method and device for automatically testing common object request broker architecture (CORBA) interfaces
  • Method and device for automatically testing common object request broker architecture (CORBA) interfaces

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The technical solutions of the embodiments of the present invention will be described in further detail below with reference to the drawings and embodiments.

[0033] Such as figure 2 Shown, be the flow chart of a kind of CORBA interface automatic testing method embodiment 1 of the present invention, comprise the following steps:

[0034] Step 21, judge whether the file defined by IDL has been compiled, if yes, execute step 23; if not, execute step 22, call the IDL compilation interface provided by CORBA, and automatically compile the IDL definition file into the target language class; the compiled IDL The file is mapped to a class of XXXOperations in the target programming language, where XXX is the name of the IDL interface. This Operations class contains the mapping of the types, exceptions, attributes, operations, etc. defined by the IDL interface in the target language.

[0035] Step 23, search for all methods (Method) in the target language class such as XXXOper...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for automatically testing common object request broker architecture (CORBA) interfaces. The method comprises the following steps: searching all methods in target language class, and acquiring the information of the interfaces; generating test cases; generating test-case data; calling dynamic invocation interfaces to execute the test cases, and transferring the test-case data into call requests sent from a client to a server; and recording operating response results returned from the server. The device comprises a search and acquisition module, a test case generation module, a test-case data module and a test-case execution module, wherein the test case generation module is connected with the search and acquisition module, the test-case data module is connected with the test case generation module, and the test-case execution module is connected with the test-case data module. Therefore, the test case of each interface can automatically be generated, thus the difficulty of case writing is reduced and the efficiency of case maintenance is improved; and the combination testing between the interfaces can be implemented through freely constructing a test-case set.

Description

technical field [0001] The invention relates to the field of automatic testing, in particular to a method and device for automatic testing of a Common Object Request Broker Architecture (CORBA) interface. Background technique [0002] CORBA allows applications to communicate with other applications. The two sides of the communication act as the client and the server respectively, and activate the interaction between the two parties by implementing Object Request Broker (ORB for short). The client and server take on the roles of manager and agent respectively. The task of the manager is to send management commands and receive notifications from the agent; the task of the agent is to directly manage the related management objects, receive the management commands sent by the manager and return the operation response to the manager, and can also be used when necessary. Proactively notify managers. [0003] The CORBA interface is defined by the Interface Definition Language (ID...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 张利锟唐宝玉董嘉王磊
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products