mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
test EnumDeclaration
This commit is contained in:
parent
c0c2e2033b
commit
876ab5d11d
3
test/fixtures/java/corpus/EnumDeclaration.A.java
vendored
Normal file
3
test/fixtures/java/corpus/EnumDeclaration.A.java
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
public enum Colour {
|
||||
|
||||
}
|
4
test/fixtures/java/corpus/EnumDeclaration.B.java
vendored
Normal file
4
test/fixtures/java/corpus/EnumDeclaration.B.java
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
enum Colour
|
||||
{
|
||||
RED, GREEN, BLUE;
|
||||
}
|
7
test/fixtures/java/corpus/EnumDeclaration.diffA-B.txt
vendored
Normal file
7
test/fixtures/java/corpus/EnumDeclaration.diffA-B.txt
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
(Statements
|
||||
(EnumDeclaration
|
||||
{-(AccessibilityModifier)-}
|
||||
(Identifier)
|
||||
{+(Identifier)+}
|
||||
{+(Identifier)+}
|
||||
{+(Identifier)+}))
|
7
test/fixtures/java/corpus/EnumDeclaration.diffB-A.txt
vendored
Normal file
7
test/fixtures/java/corpus/EnumDeclaration.diffB-A.txt
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
(Statements
|
||||
(EnumDeclaration
|
||||
{+(AccessibilityModifier)+}
|
||||
(Identifier)
|
||||
{-(Identifier)-}
|
||||
{-(Identifier)-}
|
||||
{-(Identifier)-}))
|
4
test/fixtures/java/corpus/EnumDeclaration.parseA.txt
vendored
Normal file
4
test/fixtures/java/corpus/EnumDeclaration.parseA.txt
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
(Statements
|
||||
(EnumDeclaration
|
||||
(AccessibilityModifier)
|
||||
(Identifier)))
|
6
test/fixtures/java/corpus/EnumDeclaration.parseB.txt
vendored
Normal file
6
test/fixtures/java/corpus/EnumDeclaration.parseB.txt
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
(Statements
|
||||
(EnumDeclaration
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Identifier)))
|
9
test/fixtures/java/corpus/do-while.java
vendored
9
test/fixtures/java/corpus/do-while.java
vendored
@ -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));
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
public enum DisposableHelper {
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user