The TTCN-3 Metamodel - PowerPoint PPT Presentation

About This Presentation
Title:

The TTCN-3 Metamodel

Description:

The TTCN-3 Metamodel A Basis for Tool Integration Ina Schieferdecker TU Berlin/Fraunhofer Fokus Hajo Eichler, Zhen Ru Dai Fraunhofer Fokus Mang Li, Wolfram Kroll – PowerPoint PPT presentation

Number of Views:73
Avg rating:3.0/5.0
Slides: 20
Provided by: Suzanne191
Learn more at: http://www.ttcn-3.org
Category:
Tags: ttcn | java | metamodel

less

Transcript and Presenter's Notes

Title: The TTCN-3 Metamodel


1
  • The TTCN-3 Metamodel A Basis for Tool
    Integration
  • Ina Schieferdecker TU Berlin/Fraunhofer Fokus
  • Hajo Eichler, Zhen Ru DaiFraunhofer Fokus
  • Mang Li, Wolfram Kroll
  • Testing Technologies

2
Contents
  • Context (MDA, MOF)
  • Motivation
  • TTCN-3 Meta-Model
  • Meta-Model based Tools in Eclipse
  • Outlook

3
Context
  • Model-based development has gained a lot in the
    context of UML
  • Model-based development is known in testing since
    years and used for
  • Test generation from models
  • Test validation against models
  • Test coverage analysis
  • With the graphical definition of tests with
  • Graphical format of TTCN-3 (ETSI)
  • UML 2.0 testing profile (OMG)

4
The Model Driven Architecture
  • Model Driven Architecture (MDA) is the new OMG
    architecture (first announced Nov 2000)
  • MDA extends the OMA (Object Management
    Architecture) by integrating modelling standards
  • MDA defines an approach to separate system
    functionality specification from specification of
    implementation of that functionality on a
    specific platform

5
Evolutions in Software Construction
?
C O M P L E X I T Y

FLEXIBILITY
6
The Meta Object Facility (MOF)
  • OMG standard for defining, representing and
    managing metadata
  • Design and implement metamodels and models
  • Use UML classes for specification
  • Discover and manipulate metadata
  • Find and manage metadata repositories
  • Provides a MOF-to-IDL mapping to automate
    generation of concrete object interfaces for
    specific metamodels
  • Provides a MOF-to-XML mapping to automate
    generation of XML schema and documents

7
Metamodel based Infrastructure
Platform Independent System Models
Platform Specific System Models
SystemCode
  • Test generation
  • Test compilation
  • ...
  • Are just model transformers

MOF Model Bus

Platform Independent Test Models
Platform Specific Test Models
TestCode
8
Use of MOF for TTCN-3
Meta-meta-model
Meta-model
Models
Data
9
Motivation
  • Separation of concerns
  • TTCN-3 concept space (the TTCN-3 metamodel)
    separated from TTCN-3 syntax (the core language
    and the presentation formats)
  • Definition of the semantics on concept space
    level
  • Syntax changes do not affect semantics definition
  • Ease the exchange of TTCN-3 specifications (not
    only textual ones)
  • Mappings of external languages to TTCN-3 can
    reuse parts of the conceptual mapping from other
    languages

10
Changing view from
ASN.1 Types Values
TTCN-3 Core Language
Tabular Format
Graphical Format
Presentation Format n
Other Types Values n
11
to
Improvements in tool interoperation, model
exchange, Interface to the user remains the
same, But better features can be provided
12
Some insight Modules
13
Some insight Scopes
14
The Programming Environment Eclipse
  • Eclipse is
  • an universal tool platform and
  • an open extensible IDE
  • for anything and nothing in particular.
  • Eclipse Platform Technical Overview Object
    Technology International, Inc., February 2003
  • Eclipse Modeling Framework
  • models and meta-models
  • code generation facility
  • serialization and loading

15
The Resulting Repository
  • Java packages
  • Java interfaces that define the APIs to access
    instances of the classes in the model
  • Java classes that implement those interfaces
  • A generated adapter factory and a generated
    switch class (useful when implementing adapters)

16
Use of the repository
Test Specification TTCN-3 GFT
Test Execution TTCN-3 Debugging
17
TTCN-3 IDE an Impression
18
Outlook
  • Revise the metamodel for a test suite validation
    approach within TTmedal
  • Development of model transformers for
  • Platform independent system models to platform
  • independent tests (PIM to PIT)
  • Platform specific system models to platform
    specific
  • tests (PSM to PST)
  • ...
  • See next presentation

19
Thank you !
Write a Comment
User Comments (0)
About PowerShow.com