diff --git a/test/fixtures/java/corpus/wildcard.java b/test/fixtures/java/corpus/Wildcard.A.java similarity index 100% rename from test/fixtures/java/corpus/wildcard.java rename to test/fixtures/java/corpus/Wildcard.A.java diff --git a/test/fixtures/java/corpus/Wildcard.B.java b/test/fixtures/java/corpus/Wildcard.B.java new file mode 100644 index 000000000..581d79c5f --- /dev/null +++ b/test/fixtures/java/corpus/Wildcard.B.java @@ -0,0 +1,3 @@ +class Connectable { + void connect(C connection); +} diff --git a/test/fixtures/java/corpus/Wildcard.diffA-B.txt b/test/fixtures/java/corpus/Wildcard.diffA-B.txt new file mode 100644 index 000000000..84fccc5d8 --- /dev/null +++ b/test/fixtures/java/corpus/Wildcard.diffA-B.txt @@ -0,0 +1,19 @@ +(Statements + (Class + (Identifier) + (Statements + (Method + (Void) + (Empty) + (Identifier) + (Annotation + (Identifier) + (GenericType + { (Identifier) + ->(Identifier) } + (Wildcard + { (WildcardBoundSuper + {-(Identifier)-}) + ->(WildcardBoundExtends + {+(Identifier)+}) }))) + (Empty))))) diff --git a/test/fixtures/java/corpus/Wildcard.diffB-A.txt b/test/fixtures/java/corpus/Wildcard.diffB-A.txt new file mode 100644 index 000000000..04ea9993f --- /dev/null +++ b/test/fixtures/java/corpus/Wildcard.diffB-A.txt @@ -0,0 +1,19 @@ +(Statements + (Class + (Identifier) + (Statements + (Method + (Void) + (Empty) + (Identifier) + (Annotation + (Identifier) + (GenericType + { (Identifier) + ->(Identifier) } + (Wildcard + { (WildcardBoundExtends + {-(Identifier)-}) + ->(WildcardBoundSuper + {+(Identifier)+}) }))) + (Empty))))) diff --git a/test/fixtures/java/corpus/Wildcard.parseA.txt b/test/fixtures/java/corpus/Wildcard.parseA.txt new file mode 100644 index 000000000..e55a144cb --- /dev/null +++ b/test/fixtures/java/corpus/Wildcard.parseA.txt @@ -0,0 +1,16 @@ +(Statements + (Class + (Identifier) + (Statements + (Method + (Void) + (Empty) + (Identifier) + (Annotation + (Identifier) + (GenericType + (Identifier) + (Wildcard + (WildcardBoundSuper + (Identifier))))) + (Empty))))) diff --git a/test/fixtures/java/corpus/Wildcard.parseB.txt b/test/fixtures/java/corpus/Wildcard.parseB.txt new file mode 100644 index 000000000..b1c84ce3d --- /dev/null +++ b/test/fixtures/java/corpus/Wildcard.parseB.txt @@ -0,0 +1,16 @@ +(Statements + (Class + (Identifier) + (Statements + (Method + (Void) + (Empty) + (Identifier) + (Annotation + (Identifier) + (GenericType + (Identifier) + (Wildcard + (WildcardBoundExtends + (Identifier))))) + (Empty)))))