Skip to content

Transformation Test Models

Sebastian edited this page Feb 9, 2017 · 13 revisions

The EnterpriseArchitectBridge contains a transformation from the EA object model to the papyrus UML meta model. There are several models to test the behavior of the database mapping and transformation.

Workflow

To create a new model with test cases, follow theses steps:

  1. Initialize a database, follow these instructions
  2. Create a (class) model in Enterprise Architect
  3. Use Liquibase to convert the database into a changelog file
  4. Copy the changelog file into the cloned project, create a test class
  5. Use the provided code to generate a XMI-File with the given meta model
  6. Write your own test code for the given model (example 1, example 2).

Test Models

People

Simple package and class to test Attributes, Operations and operation parameters.

People Diagram

Vehicles

Contains one package and several class to test generalization and inheritance.

Vehicles Diagram

Portable

Simple model with one package, one class and one interface to test realization and implementation.

Portable Diagram

SimpleAssociation

Abstract scenario with five classes and different kinds of associations between them.

Simple Association Diagram

Clone this wiki locally