diff --git a/packages/concerto-cto/test/cto/map.cto b/packages/concerto-cto/test/cto/map.cto index 506fe544d..3dce4bec5 100644 --- a/packages/concerto-cto/test/cto/map.cto +++ b/packages/concerto-cto/test/cto/map.cto @@ -30,8 +30,11 @@ map StateMachine { o String } +@Foo("Alexandria") map Library { + @Bar() o String + @Baz() o Dictionary } diff --git a/packages/concerto-cto/test/cto/map.json b/packages/concerto-cto/test/cto/map.json index 863b8098f..b3150e72a 100644 --- a/packages/concerto-cto/test/cto/map.json +++ b/packages/concerto-cto/test/cto/map.json @@ -95,11 +95,37 @@ "properties": [ { "$class": "concerto.metamodel@1.0.0.MapPropertyKey", - "name": "String" + "name": "String", + "decorators": [ + { + "$class": "concerto.metamodel@1.0.0.Decorator", + "name": "Bar", + "arguments": [] + } + ] }, { "$class": "concerto.metamodel@1.0.0.MapPropertyValue", - "name": "Dictionary" + "name": "Dictionary", + "decorators": [ + { + "$class": "concerto.metamodel@1.0.0.Decorator", + "name": "Baz", + "arguments": [] + } + ] + } + ], + "decorators": [ + { + "$class": "concerto.metamodel@1.0.0.Decorator", + "name": "Foo", + "arguments": [ + { + "$class": "concerto.metamodel@1.0.0.DecoratorString", + "value": "Alexandria" + } + ] } ] },