2org.eclipse.emf.ecoretools.design.tests.VsmValidationTests2.133The VSM is not valid it has errors : Diagnostic ERROR source=org.eclipse.emf.ecore code=0 Diagnosis of org.eclipse.sirius.viewpoint.description.impl.GroupImpl@3afae281{platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#/} data=[org.eclipse.sirius.viewpoint.description.impl.GroupImpl@3afae281 (documentation: , name: EcoreTools, version: 11.0.0.201601261200)] [Diagnostic ERROR source=org.eclipse.sirius code=1 Nothing will be left after calling oclAsType: EClassifier=EClass is not compatible with type EClassifierLiteral=DEdge data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.filter.spec.MappingFilterSpec@75e09567 (filterKind: HIDE) (semanticConditionExpression: null, viewConditionExpression: aql:not self.oclAsType(diagram::DEdge).sourceNode.oclAsType(viewpoint::DSemanticDecorator).target.oclAsType(ecore::EClass).eSuperTypes->includes(self.oclAsType(diagram::DEdge).targetNode.oclAsType(viewpoint::DSemanticDecorator).target))], Diagnostic ERROR source=org.eclipse.sirius code=1 Nothing will be left after calling oclAsType: EClassifier=EClass is not compatible with type EClassifierLiteral=DEdge data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.filter.spec.MappingFilterSpec@75e09567 (filterKind: HIDE) (semanticConditionExpression: null, viewConditionExpression: aql:not self.oclAsType(diagram::DEdge).sourceNode.oclAsType(viewpoint::DSemanticDecorator).target.oclAsType(ecore::EClass).eSuperTypes->includes(self.oclAsType(diagram::DEdge).targetNode.oclAsType(viewpoint::DSemanticDecorator).target))], Diagnostic ERROR source=org.eclipse.sirius code=1 Nothing will be left after calling oclAsType: EClassifier=EClass is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=EAnnotation is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=DAnalysisCustomData is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=AnnotationEntry is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=TableDescription is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=GenAnnotation is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=ChangeDescription is not compatible with type EClassifierLiteral=DSemanticDecorator data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.filter.spec.MappingFilterSpec@cb39552 (filterKind: HIDE) (semanticConditionExpression: null, viewConditionExpression: aql:self.eContainer().oclAsType(viewpoint::DSemanticDecorator).target = self.oclAsType(viewpoint::DSemanticDecorator).target.eContainer())], Diagnostic ERROR source=org.eclipse.sirius code=1 Nothing will be left after calling oclAsType: EClassifier=EReference is not compatible with type EClassifierLiteral=DSemanticDecorator data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.filter.spec.MappingFilterSpec@cb39552 (filterKind: HIDE) (semanticConditionExpression: null, viewConditionExpression: aql:self.eContainer().oclAsType(viewpoint::DSemanticDecorator).target = self.oclAsType(viewpoint::DSemanticDecorator).target.eContainer())], Diagnostic ERROR source=org.eclipse.sirius code=1 Nothing will be left after calling oclAsType: EClassifier=EdgeTarget is not compatible with type EClassifierLiteral=DSemanticDecorator data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.spec.ConditionalEdgeStyleDescriptionSpec@3a3ed300 (predicateExpression: aql:not self.eSuperTypes->includes(view.oclAsType(diagram::DEdge).targetNode.oclAsType(viewpoint::DSemanticDecorator).target))], Diagnostic WARNING source=org.eclipse.sirius.diagram code=1 The Drop tool External EClass from treeview accepts arbitrary elements from the Model Content view as drag source. You should specify a precondition to validate the nature of the dragged element. data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.tool.spec.ContainerDropDescriptionSpec@2ddb3ae8 (documentation: ) (name: External EClass from treeview, label: null, precondition: , forceRefresh: true, elementsToSelect: , inverseSelectionOrder: false) (dragSource: PROJECT_EXPLORER, moveEdges: false)], Diagnostic INFO source=org.eclipse.sirius.diagram code=80 The constraint "No reconnect on regions" is disabled. It will not be evaluated. data=[], Diagnostic WARNING source=org.eclipse.sirius.diagram code=1 The Drop tool Drop EPackage into EPackage accepts arbitrary elements from the Model Content view as drag source. You should specify a precondition to validate the nature of the dragged element. data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.tool.spec.ContainerDropDescriptionSpec@5a8c93 (documentation: ) (name: Drop EPackage into EPackage, label: null, precondition: , forceRefresh: false, elementsToSelect: , inverseSelectionOrder: false) (dragSource: BOTH, moveEdges: false)], Diagnostic WARNING source=org.eclipse.sirius code=1 There is no associated meta-model. data=[org.eclipse.sirius.table.business.internal.metamodel.description.spec.EditionTableDescriptionSpec@24c685e7 (documentation: ) (endUserDocumentation: A tabular editor (spreadsheet-like) of the entities in an Ecore model., name: Classes, label: null, titleExpression: aql:self.name + ' class table', initialisation: false, showOnStartup: false, preconditionExpression: , domainClass: ecore.EPackage, initialHeaderColumnWidth: 0)], Diagnostic WARNING source=org.eclipse.sirius.diagram code=1 The Drop tool External EPackageTo Analyze from treeview accepts arbitrary elements from the Model Content view as drag source. You should specify a precondition to validate the nature of the dragged element. data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.tool.spec.ContainerDropDescriptionSpec@7e52a26b (documentation: ) (name: External EPackageTo Analyze from treeview, label: null, precondition: , forceRefresh: true, elementsToSelect: , inverseSelectionOrder: false) (dragSource: PROJECT_EXPLORER, moveEdges: false)], Diagnostic INFO source=org.eclipse.sirius code=1 Always false: Nothing inferred when self (EClassifier=GenPackage) is type of EClassifierLiteral=GenFeature data=[org.eclipse.sirius.table.business.internal.metamodel.description.spec.FeatureColumnMappingSpec@f882465 (name: Category, label: null) (semanticElements: null) (headerLabelExpression: Category, initialWidth: 0) (canEdit: aql:self.oclIsTypeOf(genmodel::GenFeature), featureName: propertyCategory, labelExpression: aql:self->filter(genmodel::GenFeature).propertyCategory->first(), featureParentExpression: null)], Diagnostic INFO source=org.eclipse.sirius code=1 Always false: Nothing inferred when self (EClassifier=GenPackage) is type of EClassifierLiteral=GenFeature data=[org.eclipse.sirius.table.business.internal.metamodel.description.spec.FeatureColumnMappingSpec@7f0f84d4 (name: Decription, label: null) (semanticElements: null) (headerLabelExpression: Description, initialWidth: 0) (canEdit: aql:self.oclIsTypeOf(genmodel::GenFeature), featureName: propertyDescription, labelExpression: aql:self->filter(genmodel::GenFeature).propertyDescription->first(), featureParentExpression: null)]]java.lang.AssertionError: The VSM is not valid it has errors : Diagnostic ERROR source=org.eclipse.emf.ecore code=0 Diagnosis of org.eclipse.sirius.viewpoint.description.impl.GroupImpl@3afae281{platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#/} data=[org.eclipse.sirius.viewpoint.description.impl.GroupImpl@3afae281 (documentation: , name: EcoreTools, version: 11.0.0.201601261200)] [Diagnostic ERROR source=org.eclipse.sirius code=1 Nothing will be left after calling oclAsType: EClassifier=EClass is not compatible with type EClassifierLiteral=DEdge data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.filter.spec.MappingFilterSpec@75e09567 (filterKind: HIDE) (semanticConditionExpression: null, viewConditionExpression: aql:not self.oclAsType(diagram::DEdge).sourceNode.oclAsType(viewpoint::DSemanticDecorator).target.oclAsType(ecore::EClass).eSuperTypes->includes(self.oclAsType(diagram::DEdge).targetNode.oclAsType(viewpoint::DSemanticDecorator).target))], Diagnostic ERROR source=org.eclipse.sirius code=1 Nothing will be left after calling oclAsType: EClassifier=EClass is not compatible with type EClassifierLiteral=DEdge data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.filter.spec.MappingFilterSpec@75e09567 (filterKind: HIDE) (semanticConditionExpression: null, viewConditionExpression: aql:not self.oclAsType(diagram::DEdge).sourceNode.oclAsType(viewpoint::DSemanticDecorator).target.oclAsType(ecore::EClass).eSuperTypes->includes(self.oclAsType(diagram::DEdge).targetNode.oclAsType(viewpoint::DSemanticDecorator).target))], Diagnostic ERROR source=org.eclipse.sirius code=1 Nothing will be left after calling oclAsType: EClassifier=EClass is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=EAnnotation is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=DAnalysisCustomData is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=AnnotationEntry is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=TableDescription is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=GenAnnotation is not compatible with type EClassifierLiteral=DSemanticDecorator EClassifier=ChangeDescription is not compatible with type EClassifierLiteral=DSemanticDecorator data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.filter.spec.MappingFilterSpec@cb39552 (filterKind: HIDE) (semanticConditionExpression: null, viewConditionExpression: aql:self.eContainer().oclAsType(viewpoint::DSemanticDecorator).target = self.oclAsType(viewpoint::DSemanticDecorator).target.eContainer())], Diagnostic ERROR source=org.eclipse.sirius code=1 Nothing will be left after calling oclAsType: EClassifier=EReference is not compatible with type EClassifierLiteral=DSemanticDecorator data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.filter.spec.MappingFilterSpec@cb39552 (filterKind: HIDE) (semanticConditionExpression: null, viewConditionExpression: aql:self.eContainer().oclAsType(viewpoint::DSemanticDecorator).target = self.oclAsType(viewpoint::DSemanticDecorator).target.eContainer())], Diagnostic ERROR source=org.eclipse.sirius code=1 Nothing will be left after calling oclAsType: EClassifier=EdgeTarget is not compatible with type EClassifierLiteral=DSemanticDecorator data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.spec.ConditionalEdgeStyleDescriptionSpec@3a3ed300 (predicateExpression: aql:not self.eSuperTypes->includes(view.oclAsType(diagram::DEdge).targetNode.oclAsType(viewpoint::DSemanticDecorator).target))], Diagnostic WARNING source=org.eclipse.sirius.diagram code=1 The Drop tool External EClass from treeview accepts arbitrary elements from the Model Content view as drag source. You should specify a precondition to validate the nature of the dragged element. data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.tool.spec.ContainerDropDescriptionSpec@2ddb3ae8 (documentation: ) (name: External EClass from treeview, label: null, precondition: , forceRefresh: true, elementsToSelect: , inverseSelectionOrder: false) (dragSource: PROJECT_EXPLORER, moveEdges: false)], Diagnostic INFO source=org.eclipse.sirius.diagram code=80 The constraint "No reconnect on regions" is disabled. It will not be evaluated. data=[], Diagnostic WARNING source=org.eclipse.sirius.diagram code=1 The Drop tool Drop EPackage into EPackage accepts arbitrary elements from the Model Content view as drag source. You should specify a precondition to validate the nature of the dragged element. data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.tool.spec.ContainerDropDescriptionSpec@5a8c93 (documentation: ) (name: Drop EPackage into EPackage, label: null, precondition: , forceRefresh: false, elementsToSelect: , inverseSelectionOrder: false) (dragSource: BOTH, moveEdges: false)], Diagnostic WARNING source=org.eclipse.sirius code=1 There is no associated meta-model. data=[org.eclipse.sirius.table.business.internal.metamodel.description.spec.EditionTableDescriptionSpec@24c685e7 (documentation: ) (endUserDocumentation: A tabular editor (spreadsheet-like) of the entities in an Ecore model., name: Classes, label: null, titleExpression: aql:self.name + ' class table', initialisation: false, showOnStartup: false, preconditionExpression: , domainClass: ecore.EPackage, initialHeaderColumnWidth: 0)], Diagnostic WARNING source=org.eclipse.sirius.diagram code=1 The Drop tool External EPackageTo Analyze from treeview accepts arbitrary elements from the Model Content view as drag source. You should specify a precondition to validate the nature of the dragged element. data=[org.eclipse.sirius.diagram.business.internal.metamodel.description.tool.spec.ContainerDropDescriptionSpec@7e52a26b (documentation: ) (name: External EPackageTo Analyze from treeview, label: null, precondition: , forceRefresh: true, elementsToSelect: , inverseSelectionOrder: false) (dragSource: PROJECT_EXPLORER, moveEdges: false)], Diagnostic INFO source=org.eclipse.sirius code=1 Always false: Nothing inferred when self (EClassifier=GenPackage) is type of EClassifierLiteral=GenFeature data=[org.eclipse.sirius.table.business.internal.metamodel.description.spec.FeatureColumnMappingSpec@f882465 (name: Category, label: null) (semanticElements: null) (headerLabelExpression: Category, initialWidth: 0) (canEdit: aql:self.oclIsTypeOf(genmodel::GenFeature), featureName: propertyCategory, labelExpression: aql:self->filter(genmodel::GenFeature).propertyCategory->first(), featureParentExpression: null)], Diagnostic INFO source=org.eclipse.sirius code=1 Always false: Nothing inferred when self (EClassifier=GenPackage) is type of EClassifierLiteral=GenFeature data=[org.eclipse.sirius.table.business.internal.metamodel.description.spec.FeatureColumnMappingSpec@7f0f84d4 (name: Decription, label: null) (semanticElements: null) (headerLabelExpression: Description, initialWidth: 0) (canEdit: aql:self.oclIsTypeOf(genmodel::GenFeature), featureName: propertyDescription, labelExpression: aql:self->filter(genmodel::GenFeature).propertyDescription->first(), featureParentExpression: null)]] at org.junit.Assert.fail(Assert.java:88) at org.eclipse.emf.ecoretools.design.tests.VsmValidationTests.isValid(VsmValidationTests.java:51) 1isValidfalseFAILED1VsmValidationTests00