[442289] Adapt this test since renaming of distribute actions

Bug: 442289
Change-Id: I0fe1c53061cec20f7a4eeeb469229ca1f6aca7af
Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
[test] Fix potential NPE in interactions modeler services

Change-Id: I0c524883a87764ff82360a8645a976103c127e65
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
[test] Fix exceptions thrown by CreateInstanceOperationTest and ChangeContextOperationTest

The tests tried to obtain the interpreter associated to an EObject
through an API which assumes the EObject is inside a Sirius session, but
there is no session created in these tests. Use a plain default
interpreter instead.

Note that the tests did not report any failure before, but created many
hundred lines of errors/stack traces in the log.

Change-Id: I83936fc22806e852e204aa51828b777550bb5a6f
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
[test] Use the correct interpreter in OperationTest

Change-Id: I86d1587e6d8f3840746f2e1ee38c008a6f87a808
[test] Make JUnit suites depend explicitly on PlatformAdmin

Apply to the JUnit suites (main and tree) the same fix as
bfb4ad78a5370bfb933d45567fe952d4b0d48315 for SWTbot suites.

Change-Id: I1a64ee9d8bd343dde6340848d01ef3b21cfa4245
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
[cleanup] Only try to obtain an interpreter if we have an precondition to check

In AbstractRepresentationDialectServices.checkPrecondition(), only try
to obtain an interpreter associated to the semantic element if we
actually have a precondition expression to evaluate.

This fixes exceptions thrown during
DialectManagerTest.testDiagramDialectRegistration(), which calls
getAvailableRepresentationDescriptions() on "semantic elements" which
are not actually in a session. The proper fix would be to rewrite the
test to create such a session.

Change-Id: I3d2f06ecfaaecdaea707ee1d488d67773c94a79b
[cleanup] Fix potential NPE in ViewpointProtocolParser.buildViewpointUri()

A null URI can be passed by
ViewpointRegistryImpl.removeFromWorkspaceAndUpdateURiMapping(), at least
in the context of some of our tests.

Change-Id: I7069a550abc6bd95d5726913978f4b5f71efd51d
[437097] test to validate bendpoints position after moving a node

Add checks to validate the stability of one or more edges in the
following tests:

- EdgeStabilityOnDragAndDropTest
- UmlPortDragAndDropTest
- UmlPortMoveTest

Bug: 437097
Change-Id: Idd1880c1ad9ca041de79ddbd51d49dc4b8a809c4
Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
[442289] Rename distribute actions - Fix typo

Remove duplicated space character

Change-Id: I8bfd9e649b4ee39d7b1bbdd027b6e48b98025155
Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
[442289] Adapt this test since renaming of distribute actions

The label was used instead of the tooltip.

Change-Id: Iff97109cb4139d42754b89af388f66c309687ac9
Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>