commit | 6f22100b924281c0210b99c3cc7046927ef16def | [log] [tgz] |
---|---|---|
author | Laurent Redor <laurent.redor@obeo.fr> | Wed Mar 31 11:26:29 2021 +0200 |
committer | Laurent Redor <laurent.redor@obeo.fr> | Fri Apr 02 13:08:18 2021 +0200 |
tree | 4ef6658f93ecc9507b29d5b4e637cab399a40c38 | |
parent | 0083bdaf3d79b0deeedb0ec06178f03e9fb3b032 [diff] |
[test] Fix some JUnit 4 tests This commit fixes some JUnit 4 tests: Some tests have not a public "tearDown()" method with "@After" annotation. As consequence, the tearDown is not called. The environment is not cleaned for the following tests. For example, with all tests inheriting from AbstractMappingBasedSiriusFormatDataManagerTest, the following tests are executed with "refreshAtOpening" equals to false instead of true. This is problematic for example for TablesAndEntitiesDirtyTest on a CI server. This commit also adds some "wait" in TablesAndEntitiesDirtyTest as this test is the initial focus. Change-Id: Ie2c4398f79a4f986fd2e9cb503a4d8839c4bccf0 Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
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.
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
.