[571056] Fix STD004 test

The test org.eclipse.sirius.tests.swtbot.std.STD004.testSTD004() fails
since the addition of test
org.eclipse.sirius.tests.swtbot.propertypage.SiriusSessionDetailsPropertyPageTest.testSiriusSessionDetailsPage()
in the SWTBot tests suite in commit 36107572 [1]. This test closes the
Outline view in the setUp methods but does not reopen it in the
tearDown. As the STD004 needs the Outline view, it fails with a
WidgetNotFoundException: Could not find view matching: with title
'"Outline"'.

This commit just reopens the Outline view in the tearDown(). A
"SWTBotUtils.waitAllUiEvents();" is added like in other similar tests.

[1] https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=36107572fe9d3f132fe342642a3c12e04f4dedd9

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=571056
Change-Id: I717416e2e52e8b8750787bcd8e9a46d661771654
Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
1 file changed
tree: ffc46e2e05f7bbf9f74708f42bf8379bcf2911ab
  1. packaging/
  2. plugins/
  3. releng/
  4. .gitattributes
  5. .gitignore
  6. build.sh
  7. CONTRIBUTING
  8. Jenkinsfile
  9. LICENSE
  10. NOTICE
  11. pom.xml
  12. README.md
README.md

Eclipse Sirius

Build Status

Sirius enables the specification of a modeling workbench in terms of graphical, table or tree editors with validation rules and actions using declarative descriptions.

For more details see the project page and the main wiki page.

Building

The build uses Tycho. To launch a complete build, issue

mvn clean package

from the top-level directory. The resulting update-site (p2 repository) can be found in packaging/org.eclipse.sirius.update/target/repository.

By default the build uses a Neon-based target platform. You can specify a different platform like this:

mvn clean package -Dplatform-version-name=name

where name can be any of the following values:

  • mars (Eclipse 4.5)
  • neon (Eclipse 4.6, the default and reference target platform)
  • canary (uses nightly builds of all our dependencies, only used for testing)

The corresponding target platform definitions can be found in releng/org.eclipse.sirius.targets.