Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "ATL/VM Comparison"

< ATL
m
Line 89: Line 89:
 
| no
 
| no
 
| report error for EMFTVM and deprecated for other VMs (see [http://dev.eclipse.org/mhonarc/lists/m2m-atl-dev/msg00210.html corresponding discussion on m2m-atl-dev])
 
| report error for EMFTVM and deprecated for other VMs (see [http://dev.eclipse.org/mhonarc/lists/m2m-atl-dev/msg00210.html corresponding discussion on m2m-atl-dev])
 +
|}
 +
 +
The following table lists the status of the ATL non-regression tests for each VM:
 +
 +
{| border=1 style="border-collapse: collapse"
 +
! Test
 +
! RegularVM
 +
! EMFVM
 +
! EMFTVM
 +
! Proposed difference resolution
 +
|-
 +
| 291626
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| Ant2Maven/Ant2Maven
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| "foreach - distinct" not supported on EMFTVM
 +
|-
 +
| Ant2Maven/Maven2XML
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| depends on Ant2Maven
 +
|-
 +
| Ant2Maven/XML2Ant
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| depends on Ant2Maven
 +
|-
 +
| AssertionModification
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| AssignementTest/DeclarativeTest
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| EMFTVM assumes SET semantics for all properties, not ADD for collections
 +
|-
 +
| AssignementTest/ImperativeTest
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| EMFTVM assumes SET semantics for all properties, not ADD for collections
 +
|-
 +
| AssignementTest/RefiningTest
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| EMFTVM assumes SET semantics for all properties, not ADD for collections
 +
|-
 +
| atl2010/CreateManyTraceElements
 +
| style="color:red;" | FAIL
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Refining trace mode not supported
 +
|-
 +
| atl2010/RemoveClass2010
 +
| style="color:red;" | FAIL
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Refining trace mode not supported
 +
|-
 +
| atl2010/RemoveClassAndCreate2010
 +
| style="color:red;" | FAIL
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Refining trace mode not supported
 +
|-
 +
| atl2010/RemoveClassAndMoveProperty2010
 +
| style="color:red;" | FAIL
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Refining trace mode not supported
 +
|-
 +
| atl2010/RemoveClassAndMovePropertyRB2010
 +
| style="color:red;" | FAIL
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Refining trace mode not supported
 +
|-
 +
| atl2010/RemoveProperty2010
 +
| style="color:red;" | FAIL
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Refining trace mode not supported
 +
|-
 +
| ATL2Problem
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Overlapping matches for default rules
 +
|-
 +
| BibTeX2DocBook
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Invalid Ecore models
 +
|-
 +
| Book2Publication/Book2Publication
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Invalid Ecore models
 +
|-
 +
| Book2Publication/XML2Book
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| depends on Book2Publication
 +
|-
 +
| Class2Relational/Class2Relational
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Invalid Ecore models
 +
|-
 +
| Class2Relational/Ecore2Class
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| depends on Class2Relational
 +
|-
 +
| DSLBridge/MetamodelBridge/DSL2EMF/DSL2KM3
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Assigning a Sequence of Sequences to a Collection property
 +
|-
 +
| DSLBridge/MetamodelBridge/DSL2EMF/XML2DSL
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Assigning a Sequence of Sequences to a Collection property
 +
|-
 +
| DSLBridge/MetamodelBridge/EMF2DSL/DSL2XML
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Assigning a single value to a Collection property
 +
|-
 +
| DSLBridge/MetamodelBridge/EMF2DSL/KM32DSL
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Use of "self" in helper without context declaration
 +
|-
 +
| DSLBridge/ModelBridge/DSLModel2KM2
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| foreach - distinct not supported on EMFTVM
 +
|-
 +
| DSLBridge/ModelBridge/KM32ATL_KM22MM
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Assigning a single value to a Collection property
 +
|-
 +
| DSLBridge/ModelBridge/XML2DSLModel
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| foreach - distinct not supported
 +
|-
 +
| Enumerations/Ecore
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| Enumerations/UML
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| Families2Persons
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Invalid Ecore models
 +
|-
 +
| FlattenTest
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| InterModelReferences
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| IteratorsTests
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| MultipleOutputs
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| OverflowOperandStack
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
|
 +
|-
 +
| Relational2UML
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| ReverseBindings/NonRefiningMode
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Misconfigured test
 +
|-
 +
| ReverseBindings/NonRefiningMode
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Misconfigured test
 +
|-
 +
| RSM2TPC
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Long execution time
 +
|-
 +
| Sildex2Sam
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Invalid Ecore models + invalid rule inheritance + invalid module name
 +
|-
 +
| SpreadSheetML2PerformanceUMLStateChart/SpreadsheetMLSimplified2Trace
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| SpreadSheetML2PerformanceUMLStateChart/Trace2PerformanceMetrics
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| SpreadSheetML2PerformanceUMLStateChart/UMLStateChart2PerformanceAnnotatedUMLStateChart
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| UML2Relational
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| style="color:red;" | FAIL
 +
| Releng issue
 +
|-
 +
| UniqueLazyRule
 +
| style="color:green;" | PASS
 +
| style="color:green;" | PASS
 +
| style="color:red;" | FAIL
 +
| Invalid Ecore model, Module name does not match file name
 
|}
 
|}

Revision as of 16:30, 16 April 2015

The objective of this page is to gather a list of features that are implemented differently in the three ATL Virtual Machines (VMs). Note that the recommended VM is EMFVM. RegularVM should only be used when EMFVM does not do what you want (increasingly rare). EMFTVM should only be used when you need the new experimental research features.

This table does not contain all features that are working similarly on all VMs.

Feature RegularVM EMFVM EMFTVM Proposed difference resolution
supercall yes no yes fix EMFVM
superget (e.g. "super.attribute") no no yes EMFTVM improvement (i.e., no modification of older VMs)
attribute helper on OclUndefined no yes yes
debugger yes partially (does not stop on errors, variable inspection may not always work, especially stack in disassembly mode) yes, but without stack inspection
.debug(<no argument>) no yes yes (commit) EMFVM & EMFTVM improvement (i.e., no modification on Regular VM)
OCL collections yes, eager yes, eager yes, lazy if laziness is never problematic then EMFTVM improvement (i.e., no modification on older VMs) else make it configurable
Rule inheritance yes, single yes, single yes, multiple (via "-- @extends") EMFTVM improvement (i.e., no modification on older VMs), consider ATL syntax extension
Method dispatch virtual virtual multiple virtual EMFTVM improvement (i.e., no modification on older VMs)
Closures no no yes (but ATL syntax does not support defining Lambda parameters) EMFTVM improvement (i.e., no modification on older VMs), consider ATL syntax extension
Helper on Collection context  ?  ? yes, with element type erasure EMFTVM improvement (i.e., no modification on older VMs)
Refining mode In-place In-place In-place, without explicit "drop"
OclUndefined pretty printed as 'OclUndefined' 'OclUndefined' 'OclUndefined' (bug)
self instead of thisModule in context-less helpers and rules yes yes no report error for EMFTVM and deprecated for other VMs (see corresponding discussion on m2m-atl-dev)

The following table lists the status of the ATL non-regression tests for each VM:

Test RegularVM EMFVM EMFTVM Proposed difference resolution
291626 FAIL FAIL FAIL Releng issue
Ant2Maven/Ant2Maven PASS PASS FAIL "foreach - distinct" not supported on EMFTVM
Ant2Maven/Maven2XML PASS PASS FAIL depends on Ant2Maven
Ant2Maven/XML2Ant PASS PASS FAIL depends on Ant2Maven
AssertionModification FAIL FAIL FAIL Releng issue
AssignementTest/DeclarativeTest PASS PASS FAIL EMFTVM assumes SET semantics for all properties, not ADD for collections
AssignementTest/ImperativeTest PASS PASS FAIL EMFTVM assumes SET semantics for all properties, not ADD for collections
AssignementTest/RefiningTest PASS PASS FAIL EMFTVM assumes SET semantics for all properties, not ADD for collections
atl2010/CreateManyTraceElements FAIL PASS FAIL Refining trace mode not supported
atl2010/RemoveClass2010 FAIL PASS FAIL Refining trace mode not supported
atl2010/RemoveClassAndCreate2010 FAIL PASS FAIL Refining trace mode not supported
atl2010/RemoveClassAndMoveProperty2010 FAIL PASS FAIL Refining trace mode not supported
atl2010/RemoveClassAndMovePropertyRB2010 FAIL PASS FAIL Refining trace mode not supported
atl2010/RemoveProperty2010 FAIL PASS FAIL Refining trace mode not supported
ATL2Problem PASS PASS FAIL Overlapping matches for default rules
BibTeX2DocBook PASS PASS FAIL Invalid Ecore models
Book2Publication/Book2Publication PASS PASS FAIL Invalid Ecore models
Book2Publication/XML2Book PASS PASS FAIL depends on Book2Publication
Class2Relational/Class2Relational PASS PASS FAIL Invalid Ecore models
Class2Relational/Ecore2Class PASS PASS FAIL depends on Class2Relational
DSLBridge/MetamodelBridge/DSL2EMF/DSL2KM3 PASS PASS FAIL Assigning a Sequence of Sequences to a Collection property
DSLBridge/MetamodelBridge/DSL2EMF/XML2DSL PASS PASS FAIL Assigning a Sequence of Sequences to a Collection property
DSLBridge/MetamodelBridge/EMF2DSL/DSL2XML PASS PASS FAIL Assigning a single value to a Collection property
DSLBridge/MetamodelBridge/EMF2DSL/KM32DSL PASS PASS FAIL Use of "self" in helper without context declaration
DSLBridge/ModelBridge/DSLModel2KM2 PASS PASS FAIL foreach - distinct not supported on EMFTVM
DSLBridge/ModelBridge/KM32ATL_KM22MM PASS PASS FAIL Assigning a single value to a Collection property
DSLBridge/ModelBridge/XML2DSLModel PASS PASS FAIL foreach - distinct not supported
Enumerations/Ecore FAIL FAIL FAIL Releng issue
Enumerations/UML FAIL FAIL FAIL Releng issue
Families2Persons PASS PASS FAIL Invalid Ecore models
FlattenTest FAIL FAIL FAIL Releng issue
InterModelReferences FAIL FAIL FAIL Releng issue
IteratorsTests FAIL FAIL FAIL Releng issue
MultipleOutputs FAIL FAIL FAIL Releng issue
OverflowOperandStack FAIL FAIL FAIL
Relational2UML FAIL FAIL FAIL Releng issue
ReverseBindings/NonRefiningMode FAIL FAIL FAIL Misconfigured test
ReverseBindings/NonRefiningMode FAIL FAIL FAIL Misconfigured test
RSM2TPC FAIL FAIL FAIL Long execution time
Sildex2Sam PASS PASS FAIL Invalid Ecore models + invalid rule inheritance + invalid module name
SpreadSheetML2PerformanceUMLStateChart/SpreadsheetMLSimplified2Trace FAIL FAIL FAIL Releng issue
SpreadSheetML2PerformanceUMLStateChart/Trace2PerformanceMetrics FAIL FAIL FAIL Releng issue
SpreadSheetML2PerformanceUMLStateChart/UMLStateChart2PerformanceAnnotatedUMLStateChart FAIL FAIL FAIL Releng issue
UML2Relational FAIL FAIL FAIL Releng issue
UniqueLazyRule PASS PASS FAIL Invalid Ecore model, Module name does not match file name

Back to the top