1 / 6

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

raja
Download Presentation

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

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Proposal for a New Work Item:IDL to TTCN-3 Mapping Ina Schieferdecker

  2. 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

  3. 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

  4. The Mapping of IDL Basic Types

  5. The Mapping of IDL Structured Types

  6. 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}; }; };

More Related