diff options
Diffstat (limited to 'src/test/java/org')
| -rw-r--r-- | src/test/java/org/zwobble/hobgoblin/compiler/output/lang/java/JavaWriterTests.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/java/org/zwobble/hobgoblin/compiler/output/lang/java/JavaWriterTests.java b/src/test/java/org/zwobble/hobgoblin/compiler/output/lang/java/JavaWriterTests.java index 51e5f87..1de864d 100644 --- a/src/test/java/org/zwobble/hobgoblin/compiler/output/lang/java/JavaWriterTests.java +++ b/src/test/java/org/zwobble/hobgoblin/compiler/output/lang/java/JavaWriterTests.java @@ -177,7 +177,7 @@ public class JavaWriterTests { public void openInterfaceDeclaration() throws IOException { var java = new JavaInterfaceDeclaration( "Shape", - JavaInterfaceDeclaration.Openness.OPEN, + JavaInterfaceOpenness.OPEN, List.of(), List.of(), new JavaCustomArea(JavaTypeRef.topLevel(List.of(), "Shape"), "body"), @@ -198,7 +198,7 @@ public class JavaWriterTests { public void sealedInterfaceDeclaration() throws IOException { var java = new JavaInterfaceDeclaration( "Shape", - JavaInterfaceDeclaration.Openness.SEALED, + JavaInterfaceOpenness.SEALED, List.of(), List.of(), new JavaCustomArea(JavaTypeRef.topLevel(List.of(), "Shape"), "body"), @@ -219,7 +219,7 @@ public class JavaWriterTests { public void sealedInterfaceDeclarationWithPermitsTypes() throws IOException { var java = new JavaInterfaceDeclaration( "Shape", - JavaInterfaceDeclaration.Openness.SEALED, + JavaInterfaceOpenness.SEALED, List.of( JavaTypeRef.topLevel(List.of("abc", "def"), "One"), JavaTypeRef.topLevel(List.of("abc", "def"), "Two") @@ -243,7 +243,7 @@ public class JavaWriterTests { public void interfaceDeclarationWithDocComment() throws IOException { var java = new JavaInterfaceDeclaration( "Shape", - JavaInterfaceDeclaration.Openness.OPEN, + JavaInterfaceOpenness.OPEN, List.of(), List.of(), new JavaCustomArea(JavaTypeRef.topLevel(List.of(), "Shape"), "body"), @@ -265,7 +265,7 @@ public class JavaWriterTests { public void interfaceDeclarationWithBody() throws IOException { var java = new JavaInterfaceDeclaration( "Shape", - JavaInterfaceDeclaration.Openness.OPEN, + JavaInterfaceOpenness.OPEN, List.of(), List.of( new JavaMethodDeclaration( |
