Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
agarciadom committed May 22, 2024
1 parent 3e314a5 commit b597284
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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" })
Expand All @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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");
}
}
Expand All @@ -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");
}
Expand Down

0 comments on commit b597284

Please sign in to comment.