From b59728499c8158275e3f0c018b2b0863d9311f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Garc=C3=ADa-Dom=C3=ADnguez?= Date: Wed, 22 May 2024 22:33:37 +0100 Subject: [PATCH] fix compile error --- .../java/org/eclipse/emfatic/cli/Ecore2EmfaticCommand.java | 4 ++-- .../org/eclipse/emfatic/cli/Ecore2EmfaticCommandTest.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/eclipse/emfatic/cli/Ecore2EmfaticCommand.java b/src/main/java/org/eclipse/emfatic/cli/Ecore2EmfaticCommand.java index 231b734..b409faa 100644 --- a/src/main/java/org/eclipse/emfatic/cli/Ecore2EmfaticCommand.java +++ b/src/main/java/org/eclipse/emfatic/cli/Ecore2EmfaticCommand.java @@ -40,7 +40,7 @@ ETypeParameter[].class }) @Command(name = "ecore2Emfatic", description = "Generates Emfatic sources from an .ecore file", mixinStandardHelpOptions = true) -public class ecore2EmfaticCommand implements Runnable { +public class Ecore2EmfaticCommand implements Runnable { static class URIMapping { @Option(names = { "-f", "--from" }) @@ -57,7 +57,7 @@ static class URIMapping { private String pathToFile; public static void main(String[] args) throws Exception { - PicocliRunner.run(ecore2EmfaticCommand.class, args); + PicocliRunner.run(Ecore2EmfaticCommand.class, args); } public void run() { diff --git a/src/test/java/org/eclipse/emfatic/cli/Ecore2EmfaticCommandTest.java b/src/test/java/org/eclipse/emfatic/cli/Ecore2EmfaticCommandTest.java index 5573c0d..1562bac 100644 --- a/src/test/java/org/eclipse/emfatic/cli/Ecore2EmfaticCommandTest.java +++ b/src/test/java/org/eclipse/emfatic/cli/Ecore2EmfaticCommandTest.java @@ -18,7 +18,7 @@ import java.io.PrintStream; import org.junit.jupiter.api.Test; -public class ecore2EmfaticCommandTest { +public class Ecore2EmfaticCommandTest { @Test public void testStandaloneMetamodel() throws Exception { @@ -27,7 +27,7 @@ public void testStandaloneMetamodel() throws Exception { try (ApplicationContext ctx = ApplicationContext.run(Environment.CLI, Environment.TEST)) { String[] args = new String[] { "src/test/resources/OO.ecore" }; - PicocliRunner.run(ecore2EmfaticCommand.class, ctx, args); + PicocliRunner.run(Ecore2EmfaticCommand.class, ctx, args); assertContains("Should see a PackageableElement in the output", baos.toString(), "PackageableElement"); } } @@ -49,7 +49,7 @@ public void testMetamodelWithPlatformImport() throws Exception { "--to=src/test/resources/platformImport", "src/test/resources/platformImport/example2/ColoredTree.ecore" }; - PicocliRunner.run(ecore2EmfaticCommand.class, ctx, args); + PicocliRunner.run(Ecore2EmfaticCommand.class, ctx, args); assertContains("Should see 'extends Trees.Tree' in the output", baos.toString(), "extends Trees.Tree"); }