Skip to content

Failed

org.eclipse.emf.ecoretools.design.tests.InterpretedExpressionTests.isNotAcceleo[0]

Failing for the past 10 builds (Since #12 )
Took 4 ms.

Error Message

Expression : [name + ' class diagram'/] is Acceleo, on attribute :titleExpression of object platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']

Stacktrace

java.lang.AssertionError: Expression : [name + ' class diagram'/] is Acceleo, on attribute :titleExpression of object platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']
	at org.junit.Assert.fail(Assert.java:88)
	at org.eclipse.emf.ecoretools.design.tests.InterpretedExpressionTests.isNotAcceleo(InterpretedExpressionTests.java:95)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runners.Suite.runChild(Suite.java:127)
	at org.junit.runners.Suite.runChild(Suite.java:26)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:123)
	at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:86)
	at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

Standard Output

11 : -1
1 : /org.eclipse.emf.ecoretools.design/doc/user-guide.html#design.entities
1 : /org.eclipse.emf.ecoretools.design/doc/user-guide.html#quality.dependencies
17 : 0
15 : 1
3 : 10
3 : 12
1 : 14
1 : 16
1 : 2
1 : 24
2 : 3
1 : 5
1 : Category
1 : Description
1 : Domain Documentation
1 : Name
1 : T
1 : ['Constraint1 Constraint2'/]
1 : ['New documentation note'/]
1 : ['NewAbstractClass' + eContainer().eContents(ecore::EClass)->size()/]
1 : ['NewDataType' + eContainer().eContents(ecore::EDataType)->size()/]
2 : ['NewEClass'  + eContainer().eContents(ecore::EClass)->size()/]
1 : ['NewEnum' + eContainer().eContents(ecore::EEnum)->size()/]
1 : ['NewInterface' + eContainer().eContents(ecore::EClass)->size()/]
1 : ['The ' + target.oclAsType(ecore::EClass).name +' class has more than 3 super types'/]
1 : ['The ' + target.oclAsType(ecore::EClass).name +' class is never used'/]
1 : ['constraints'/]
2 : ['documentation'/]
1 : ['http://www.eclipse.org/emf/2002/Ecore'/]
2 : ['http://www.eclipse.org/emf/2002/GenModel'/]
1 : ['newDataType' + eContainer().eContents(ecore::EDataType)->size()/]
1 : ['newDescription' + eContainer()->filter(ecore::EPackage).eClassifiers->filter(ecore::EClass)->size()/]
1 : ['newEReference' + eContainer(EClassifier).eAllContents(EReference)->size()/]
1 : ['newLiteral' + eContainer().eContents(ecore::EEnumLiteral)->size()/]
1 : ['newMomentInterval' + eContainer()->filter(ecore::EPackage).eClassifiers->filter(ecore::EClass)->size()/]
1 : ['newOperation' + eContainer().eContents(ecore::EOperation)->size()/]
1 : ['newPackage' + eContainer().eContents(EPackage)->size()/]
1 : ['newRole' + eContainer()->filter(ecore::EPackage).eClassifiers->filter(ecore::EClass)->size()/]
1 : ['newThing' + eContainer()->filter(ecore::EPackage).eClassifiers->filter(ecore::EClass)->size()/]
1 : [-1/]
2 : [addArchetypeAnnotation('Description')/]
2 : [addArchetypeAnnotation('MomentInterval')/]
2 : [addArchetypeAnnotation('Role')/]
2 : [addArchetypeAnnotation('Thing')/]
3 : [container.oclIsTypeOf(ecore::EClass)/]
3 : [container.oclIsTypeOf(ecore::EPackage)/]
1 : [containerView.oclIsKindOf(diagram::DDiagram)/]
1 : [containerView.ownedDiagramElements.target->excluding(containerView.target)->size() = 0/]
1 : [details->select(key = 'constraints')->asSequence()->first()/]
1 : [details->select(key = 'constraints')->size() = 0/]
1 : [details->select(key = 'documentation')->asSequence()->first()/]
1 : [details->select(key = 'documentation')->size() = 0/]
1 : [diagram.target/]
1 : [eAllContents(ecore::EAnnotation)->select(source = 'http://www.eclipse.org/emf/2002/GenModel').details->select(key = 'documentation')/]
1 : [eAllContents(genmodel::GenFeature)->select(ecoreFeature.oclIsTypeOf(ecore::EAttribute) or ecoreFeature.oclIsTypeOf(ecore::EReference) and not(ecoreFeature.oclAsType(ecore::EReference).containment) and not(ecoreFeature.oclAsType(ecore::EReference).derived))/]
1 : [eAnnotations->select(source = 'http://www.eclipse.org/emf/2002/Ecore')->asSequence()->first()/]
1 : [eAnnotations->select(source = 'http://www.eclipse.org/emf/2002/Ecore')->size() = 0/]
1 : [eAnnotations->select(source = 'http://www.eclipse.org/emf/2002/GenModel')->asSequence()->first()/]
1 : [eAnnotations->select(source = 'http://www.eclipse.org/emf/2002/GenModel')->size() = 0/]
2 : [eClass().name + ' : ' + name/]
1 : [eContainer(ecore::EAnnotation).eContainer()/]
1 : [ecoreClass.name/]
1 : [ecoreFeature.name/]
1 : [element.eOpposite.eType/]
1 : [element.eOpposite.name/]
3 : [element.eOpposite/]
1 : [element.eType/]
1 : [element.name/]
1 : [false/]
1 : [if (self.oclIsTypeOf(genmodel::GenFeature)) then self.oclAsType(genmodel::GenFeature).propertyCategory else ''endif/]
1 : [if (self.oclIsTypeOf(genmodel::GenFeature)) then self.oclAsType(genmodel::GenFeature).propertyDescription else '' endif/]
1 : [lineSemantic.eAnnotations->select(source = 'http://www.eclipse.org/emf/2002/GenModel')->asOrderedSet()->first()/]
1 : [lineSemantic.eAnnotations->select(source = 'http://www.eclipse.org/emf/2002/GenModel')->size() = 0/]
1 : [lineSemantic.eAnnotations->select(source = 'http://www.eclipse.org/emf/2002/GenModel').details->select(key = 'documentation')->asOrderedSet()->first()/]
1 : [name + ' class diagram'/]
1 : [name + ' class table'/]
1 : [name + ' documentation table'/]
1 : [name + ' package dependencies'/]
1 : [name + ' package entities'/]
1 : [name/]
1 : [newSource/]
1 : [not derived/]
1 : [otherEnd <> edgeView.targetNode/]
1 : [otherEnd <> sourceView/]
1 : [otherEnd = edgeView.targetNode/]
1 : [otherEnd = sourceView/]
1 : [prefix + ' generation table'/]
1 : [propertyCategory = ''/]
1 : [self.details->select(key = 'documentation')->size() = 0/]
2 : [self.eAllContents()/]
2 : [self.oclIsTypeOf(genmodel::GenFeature)/]
1 : [source <> element/]
1 : [source = element/]
1 : [source = target/]
2 : [source.eContainer(ecore::EAnnotation)/]
1 : [source.name.toLower()/]
1 : [source/]
1 : [target.name.toLower() + 'eOpposite'/]
1 : [target.name.toLower()/]
1 : [target.oclAsType(ecore::EClass).eAllSuperTypes->including(target).eInverse()->select(oclIsKindOf(ecore::EClass) or oclIsKindOf(ecore::EReference))->reject(target.oclAsType(ecore::EClass).eAllStructuralFeatures->includes(self))->notEmpty()/]
1 : [target.oclAsType(ecore::EClass).eAllSuperTypes->size() < 10/]
1 : [true/]
1 : [value/]
3 : false
3 : feature:abstract
1 : feature:container
1 : feature:containment
1 : feature:derived
1 : feature:eAttributes
1 : feature:eClassifiers
2 : feature:eContainer
4 : feature:eContents
1 : feature:eLiterals
1 : feature:eOperations
1 : feature:eSuperTypes
1 : feature:eType
1 : feature:eTypeParameters
1 : feature:instanceClassName
2 : feature:interface
11 : feature:name
1 : feature:nsURI
1 : feature:required
2 : feature:value
1 : getEdgeTargetSemantic(edgeView)
1 : newAttribute
1 : newEReference
2 : service:arrowsFillDiamond
1 : service:container.paste(copiedElement, copiedView, containerView)
1 : service:createTypeArgumentsIfNeeded(target)
2 : service:eContainerEContainer
1 : service:eKeysLabel
1 : service:eOperationSemanticElements
1 : service:fontFormatBold
1 : service:getClassesTableName
1 : service:getDependenciesAmount()
1 : service:getDependenciesLabel
1 : service:getDependenciesTooltip(view)
1 : service:getEOppositeEReferences(diagram)
1 : service:getEOppositeSemanticElements
1 : service:getEReferenceTarget
1 : service:getEReferencesToDisplay(diagram)
1 : service:getEdgeSourceSemantic(elementView)
2 : service:getEdgeTargetSemantic(edgeView)
1 : service:getEdgeTargetSemantic(elementView)
1 : service:getElementsIntroducingDependencies(diagram)
1 : service:getExternalEClasses(diagram)
1 : service:getInverseEReferences
2 : service:getPackageDependencies
2 : service:getRelated(views,diagram)
2 : service:getRootContainer
2 : service:getValidsForDiagram(containerView)
1 : service:getVisibleConstraintsAnnotations(diagram)
1 : service:getVisibleDocAnnotations(diagram)
1 : service:hasError
1 : service:hasNoDocAnnotation
1 : service:isDescription
8 : service:isEClass
4 : service:isEDataType
3 : service:isEEnum
1 : service:isEOperation
9 : service:isEPackage
1 : service:isEStructuralFeature
1 : service:isMomentInterval
1 : service:isRole
1 : service:isThing
3 : service:markForAutosize
1 : service:noEOpposite
1 : service:openClassDiagramContextHelp
3 : service:performEdit(arg0)
1 : service:reconnectEReference(edgeView)
4 : service:render
1 : service:renderEOperationTooltip
1 : service:renderEOpposite
11 : service:renderTooltip
2 : service:rootEPackages
2 : service:setEType(target)
1 : service:superTypeSemanticElements
2 : service:superTypesLabel
1 : service:targetIsInterface(view)
1 : service:toCamelCase(arg0)
1 : service:viewContainerNotSemanticContainer(diagram,containerView)
6 : true
6 : var:arg0
11 : var:container
4 : var:containerView
4 : var:diagram
20 : var:element
2 : var:elementView
1 : var:instanceSource
2 : var:instanceTarget
1 : var:lineSemantic
6 : var:newContainerView
1 : var:newPackage
5 : var:newSemanticContainer
1 : var:newTarget
2 : var:selected
7 : var:self
8 : var:source
14 : var:target