From cd5745dfdf422ceb2a4154b575a8c512b41a8f66 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 2 May 2026 10:04:44 +0100 Subject: Create generators from config --- src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/test/java/org') diff --git a/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java b/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java index fb5cc55..fd38a84 100644 --- a/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java +++ b/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java @@ -2,7 +2,6 @@ package org.zwobble.hobgoblin.compiler; import org.junit.jupiter.api.DynamicTest; import org.junit.jupiter.api.TestFactory; -import org.zwobble.hobgoblin.compiler.output.generators.javatypes.JavaTypesGenerator; import org.zwobble.hobgoblin.compiler.testing.TestProcessRunner; import java.io.IOException; @@ -22,12 +21,7 @@ public class ExampleTests { private void runTest(ExampleSet exampleSet) throws IOException, InterruptedException { var javaProjectPath = exampleSet.path().resolve("output/java"); - var javaTypesGenerator = new JavaTypesGenerator( - javaProjectPath.resolve("src/gen/java"), - "org.zwobble.example.types" - ); - var generators = List.of(javaTypesGenerator); - HobgoblinCompiler.compile(exampleSet.path(), generators); + HobgoblinCompiler.compile(exampleSet.path()); TestProcessRunner.command(List.of("mvn", "compile")) .cwd(javaProjectPath) -- cgit v1.2.3