Proposal for a new work item idl to ttcn 3 mapping
Download
1 / 6

Proposal for a New Work Item: IDL to TTCN-3 Mapping - PowerPoint PPT Presentation


  • 133 Views
  • Uploaded on

Proposal for a New Work Item: IDL to TTCN-3 Mapping. Ina Schieferdecker. TTCN-3 for CORBA. TTCN-3 suitable for testing of CORBA based systems asynchronous communication properly used GIOP/IIOP synchronous communication properly used for SII, API test and any other IDL interface Issues

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Proposal for a New Work Item: IDL to TTCN-3 Mapping' - raja


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Proposal for a new work item idl to ttcn 3 mapping

Proposal for a New Work Item:IDL to TTCN-3 Mapping

Ina Schieferdecker


Ttcn 3 for corba
TTCN-3 for CORBA

  • TTCN-3 suitable for testing of CORBA based systems

    • asynchronous communication properly used GIOP/IIOP

    • synchronous communication properly used for SII, API test and any other IDL interface

  • Issues

    • Integration of IDL into TTCN-3: Mapping rules for IDL to TTCN-3

      • Predefined, unique use of IDL definitions in TTCN-3

    • Easy implementation of tests:

      • Unique adaptor for CORBA tests in TTCN-3


Basic concept of idl to ttcn 3 mapping
Basic Concept of IDL to TTCN-3 Mapping

TTCN-3 Test System

IDL Definition

MTC

operation

signature

attribute

port

Abstract TSI

Real TSI

interface

SUT


The mapping of idl basic types
The Mapping of IDL Basic Types



An example
An Example

// TTCN-3

module PolicyTest {

import allfrom CORBA;

typerecord WrongPolicy {};

{extension “CORBA v2.3, IDL: exception”};

typeenumerated objectstate {active, deactive, non_aom}

{extension “CORBA v2.3, IDL: enum”};

:

group RequestPolicyTest {

signature check_objectState(in CORBA_Object svtProvider)

return objectState;

signature create_objectRef() return CORBA_Object

exception (WrongPolicy); }

typeport CORBA_RequestPolicyTest procedure {

out create_objectRef,

check_objectstate; }

typecomponent MTCType { port RequestPolicyTest MTCpco};

typecomponent TSIType { port RequestPolicyTest SYSpco };

:

}

// IDL

module PolicyTest {

exception WrongPolicy;

enum objectstate {active, deactive, no_aom}

:

interface RequestPolicyTest

{

objectstate check_objectstate(inObject obj);

Object create_object();

raises {WrongPolicy};

};

};


ad