Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpguilet2017-04-18 13:03:30 +0000
committerPierre-Charles David2017-04-18 13:17:41 +0000
commit32cc6111d4349f26fc5ebb5c5e6f6b618d9d15c9 (patch)
tree91ef05e63061fb32120d7c55d6645c9bf1cf0560
parent4a96555dd80524259e6d6fe1446ec0789dc0641b (diff)
downloadorg.eclipse.sirius-32cc6111d4349f26fc5ebb5c5e6f6b618d9d15c9.tar.gz
org.eclipse.sirius-32cc6111d4349f26fc5ebb5c5e6f6b618d9d15c9.tar.xz
org.eclipse.sirius-32cc6111d4349f26fc5ebb5c5e6f6b618d9d15c9.zip
[466412] Fix not working test
Fix tests without label specified for header column of table providing different result regarding the fact that it is used either: - locally with org.eclipse.uml2.uml.edit plugin activated (but not in the manifest dependencies) in launch config and providing UML label provider for computing this label. - Or in Maven without this dependency specified causing a reflexive label provider to be used to get the label with different result. Bug: 466412 Change-Id: I83136fba350089d9a6556c1c1c4e891c3ee63b83 Signed-off-by: pguilet <pierre.guilet@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.tests.junit/data/table/unit/refresh/tables.odesign2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.sirius.tests.junit/data/table/unit/refresh/tables.odesign b/plugins/org.eclipse.sirius.tests.junit/data/table/unit/refresh/tables.odesign
index 54c74a519c..bbf44e37b5 100644
--- a/plugins/org.eclipse.sirius.tests.junit/data/table/unit/refresh/tables.odesign
+++ b/plugins/org.eclipse.sirius.tests.junit/data/table/unit/refresh/tables.odesign
@@ -516,7 +516,7 @@
</ownedRepresentations>
<ownedRepresentations xsi:type="description_1:EditionTableDescription" name="SimpleTableVariables" domainClass="Model">
<metamodel href="platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#/"/>
- <ownedLineMappings name="Class lines" domainClass="Class" semanticCandidatesExpression="aql:self.eAllContents(uml::Class)->select( e | e.name='Class3')->first()" headerLabelExpression=""/>
+ <ownedLineMappings name="Class lines" domainClass="Class" semanticCandidatesExpression="aql:self.eAllContents(uml::Class)->select( e | e.name='Class3')->first()" headerLabelExpression="aql:'&lt;Class> '+self.name"/>
<ownedColumnMappings name="Class name" headerLabelExpression="Name" initialWidth="200" featureName="name" labelExpression="aql:self.name" featureParentExpression="aql:if table&lt;>null then line.target else line.target endif">
<directEdit>
<variables name="element" documentation="The semantic currently edited element."/>

Back to the top