Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2020-11-09 12:00:34 +0000
committerptessier2021-03-24 09:45:34 +0000
commit08b4821b69e9e6d094ac454876b4dad8816933f8 (patch)
tree9395cf12bc1873e6eb8835aa1a9205a0136791b6 /tests/junit
parent9d7165c17d9fa38c463df0acebbf302658ba358b (diff)
downloadorg.eclipse.papyrus-08b4821b69e9e6d094ac454876b4dad8816933f8.tar.gz
org.eclipse.papyrus-08b4821b69e9e6d094ac454876b4dad8816933f8.tar.xz
org.eclipse.papyrus-08b4821b69e9e6d094ac454876b4dad8816933f8.zip
Bug 568766: [Toolsmiths] ElementTypes generation & validation
https://bugs.eclipse.org/bugs/show_bug.cgi?id=568766 - Add ElementTypes Model Validation to the plug-in builder - add non-nls Change-Id: I2f120e305787db40cad0847a20a66708b0596934 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
Diffstat (limited to 'tests/junit')
-rw-r--r--tests/junit/plugins/toolsmiths/org.eclipse.papyrus.toolsmiths.validation.elementtypes.tests/src/org/eclipse/papyrus/toolsmiths/validation/elementtypes/tests/ElementTypesPluginValidationTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/junit/plugins/toolsmiths/org.eclipse.papyrus.toolsmiths.validation.elementtypes.tests/src/org/eclipse/papyrus/toolsmiths/validation/elementtypes/tests/ElementTypesPluginValidationTest.java b/tests/junit/plugins/toolsmiths/org.eclipse.papyrus.toolsmiths.validation.elementtypes.tests/src/org/eclipse/papyrus/toolsmiths/validation/elementtypes/tests/ElementTypesPluginValidationTest.java
index 438b8524589..63e4dca7f24 100644
--- a/tests/junit/plugins/toolsmiths/org.eclipse.papyrus.toolsmiths.validation.elementtypes.tests/src/org/eclipse/papyrus/toolsmiths/validation/elementtypes/tests/ElementTypesPluginValidationTest.java
+++ b/tests/junit/plugins/toolsmiths/org.eclipse.papyrus.toolsmiths.validation.elementtypes.tests/src/org/eclipse/papyrus/toolsmiths/validation/elementtypes/tests/ElementTypesPluginValidationTest.java
@@ -22,6 +22,7 @@ import java.util.stream.Collectors;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest;
import org.eclipse.papyrus.junit.utils.rules.ProjectFixture;
import org.eclipse.papyrus.toolsmiths.validation.elementtypes.checkers.ElementTypesPluginCheckerService;
@@ -71,7 +72,7 @@ public class ElementTypesPluginValidationTest extends AbstractPapyrusTest {
@Test
public void testProfilePluginValidation() {
// First, run the validation
- ElementTypesPluginCheckerService.checkElementTypesPlugin(fixture.getProject());
+ ElementTypesPluginCheckerService.checkElementTypesPlugin(fixture.getProject(), new NullProgressMonitor());
// Get the markers
List<IMarker> markers = null;

Back to the top