Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 467070

Summary: [Test]: regression for org.eclipse.papyrus.uml.diagram.stereotypeproperty.TestStereotypeApplication.testStereotypeApplicationOnPackage
Product: [Modeling] Papyrus Reporter: Francois Le Fevre <francois.le-fevre>
Component: DiagramAssignee: Francois Le Fevre <francois.le-fevre>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Celine.janssens, cletavernier
Version: 1.1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/47678
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=61f71fd7e400fffebc469b0857ddae52256a8d8e
Whiteboard:
Bug Depends on:    
Bug Blocks: 431723    

Description Francois Le Fevre CLA 2015-05-12 03:38:49 EDT
See : 

https://hudson.eclipse.org/papyrus/view/Mars/job/Papyrus-Master-Tests/1010/testReport/org.eclipse.papyrus.uml.diagram.stereotypeproperty/TestStereotypeApplication/testStereotypeApplicationOnPackage/

Message d'erreur

stereotype label must be not null
Stacktrace

java.lang.AssertionError: stereotype label must be not null
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.eclipse.papyrus.uml.diagram.stereotypeproperty.TestStereotypeApplication.testToCreateAPackage(TestStereotypeApplication.java:321)
	at org.eclipse.papyrus.uml.diagram.stereotypeproperty.TestStereotypeApplication.testStereotypeApplicationOnPackage(TestStereotypeApplication.java:77)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Comment 1 Eclipse Genie CLA 2015-05-12 03:56:15 EDT
New Gerrit change created: https://git.eclipse.org/r/47678
Comment 2 Francois Le Fevre CLA 2015-05-12 06:45:25 EDT
Celine,
when I have tried to use the comment/bracet/compartment feature for Stereotype, I didn't have any success.

Methods
I have putted the follwoing plugin in my workspcace

then I have executed an RCP with the plugins
/org.eclipse.papyrus.infra.gmfdiag.common.tests
/org.eclipse.papyrus.junit.framework
/org.eclipse.papyrus.junit.utils
/org.eclipse.papyrus.uml.appearance
/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest
/org.eclipse.papyrus.uml.diagram.common
/org.eclipse.papyrus.uml.diagram.profile.tests
/org.eclipse.papyrus.uml.diagram.stereotypeproperty.tests
/org.eclipse.papyrus.uml.diagram.tests

then I have opened the different models in
/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest

and try to display the comment/bracet for the first examples.

no way to display them...
Comment 3 Eclipse Genie CLA 2015-05-12 07:25:54 EDT
WARNING: this patchset contains 5011 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Comment 5 Camille Letavernier CLA 2015-06-02 11:41:00 EDT
> Gerrit change https://git.eclipse.org/r/47678 was merged to [master].

I close this task