diff --git a/test/fixtures/java/corpus/EnumDeclaration.A.java b/test/fixtures/java/corpus/EnumDeclaration.A.java new file mode 100644 index 000000000..73891422d --- /dev/null +++ b/test/fixtures/java/corpus/EnumDeclaration.A.java @@ -0,0 +1,3 @@ +public enum Colour { + +} diff --git a/test/fixtures/java/corpus/EnumDeclaration.B.java b/test/fixtures/java/corpus/EnumDeclaration.B.java new file mode 100644 index 000000000..5a14813e7 --- /dev/null +++ b/test/fixtures/java/corpus/EnumDeclaration.B.java @@ -0,0 +1,4 @@ +enum Colour +{ + RED, GREEN, BLUE; +} diff --git a/test/fixtures/java/corpus/EnumDeclaration.diffA-B.txt b/test/fixtures/java/corpus/EnumDeclaration.diffA-B.txt new file mode 100644 index 000000000..0526ed812 --- /dev/null +++ b/test/fixtures/java/corpus/EnumDeclaration.diffA-B.txt @@ -0,0 +1,7 @@ +(Statements + (EnumDeclaration + {-(AccessibilityModifier)-} + (Identifier) + {+(Identifier)+} + {+(Identifier)+} + {+(Identifier)+})) diff --git a/test/fixtures/java/corpus/EnumDeclaration.diffB-A.txt b/test/fixtures/java/corpus/EnumDeclaration.diffB-A.txt new file mode 100644 index 000000000..30eab392d --- /dev/null +++ b/test/fixtures/java/corpus/EnumDeclaration.diffB-A.txt @@ -0,0 +1,7 @@ +(Statements + (EnumDeclaration + {+(AccessibilityModifier)+} + (Identifier) + {-(Identifier)-} + {-(Identifier)-} + {-(Identifier)-})) diff --git a/test/fixtures/java/corpus/EnumDeclaration.parseA.txt b/test/fixtures/java/corpus/EnumDeclaration.parseA.txt new file mode 100644 index 000000000..7e840a448 --- /dev/null +++ b/test/fixtures/java/corpus/EnumDeclaration.parseA.txt @@ -0,0 +1,4 @@ +(Statements + (EnumDeclaration + (AccessibilityModifier) + (Identifier))) diff --git a/test/fixtures/java/corpus/EnumDeclaration.parseB.txt b/test/fixtures/java/corpus/EnumDeclaration.parseB.txt new file mode 100644 index 000000000..cc6df1941 --- /dev/null +++ b/test/fixtures/java/corpus/EnumDeclaration.parseB.txt @@ -0,0 +1,6 @@ +(Statements + (EnumDeclaration + (Identifier) + (Identifier) + (Identifier) + (Identifier))) diff --git a/test/fixtures/java/corpus/do-while.java b/test/fixtures/java/corpus/do-while.java deleted file mode 100644 index d344f8b93..000000000 --- a/test/fixtures/java/corpus/do-while.java +++ /dev/null @@ -1,9 +0,0 @@ -class WhileDemo { - public static void main(String[] args){ - do { - System.out.print("Guess my name: "); - guess = scanner.nextLine(); - } - while (!"Daffy Duck".equals(guess)); - } -} diff --git a/test/fixtures/java/corpus/enum-declaration-with-modifier.java b/test/fixtures/java/corpus/enum-declaration-with-modifier.java deleted file mode 100644 index 5e5d6bae8..000000000 --- a/test/fixtures/java/corpus/enum-declaration-with-modifier.java +++ /dev/null @@ -1,3 +0,0 @@ -public enum DisposableHelper { - -}