From cf63da3cbf334395888a8ab5243e510284fefff5 Mon Sep 17 00:00:00 2001 From: Ayman Nadeem Date: Wed, 6 Jun 2018 11:06:16 -0700 Subject: [PATCH 1/5] add field access test --- test/fixtures/java/corpus/field-access.java | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/fixtures/java/corpus/field-access.java diff --git a/test/fixtures/java/corpus/field-access.java b/test/fixtures/java/corpus/field-access.java new file mode 100644 index 000000000..0763dbfd3 --- /dev/null +++ b/test/fixtures/java/corpus/field-access.java @@ -0,0 +1,5 @@ +class Grouped { + Flowable(K key) { + this.key = key; + } +} From e2f6b1eff1ce228aecb50f47fff356e88c38b4b9 Mon Sep 17 00:00:00 2001 From: Ayman Nadeem Date: Wed, 6 Jun 2018 11:09:15 -0700 Subject: [PATCH 2/5] add test for enum declaration with modifier --- test/fixtures/java/corpus/enum-declaration-with-modifier.java | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/fixtures/java/corpus/enum-declaration-with-modifier.java diff --git a/test/fixtures/java/corpus/enum-declaration-with-modifier.java b/test/fixtures/java/corpus/enum-declaration-with-modifier.java new file mode 100644 index 000000000..5e5d6bae8 --- /dev/null +++ b/test/fixtures/java/corpus/enum-declaration-with-modifier.java @@ -0,0 +1,3 @@ +public enum DisposableHelper { + +} From 4680c86cd4823e88f9259329e9ebdbe1928e959c Mon Sep 17 00:00:00 2001 From: Ayman Nadeem Date: Wed, 6 Jun 2018 11:14:35 -0700 Subject: [PATCH 3/5] wildcard + bounds test --- test/fixtures/java/corpus/wildcard.java | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/fixtures/java/corpus/wildcard.java diff --git a/test/fixtures/java/corpus/wildcard.java b/test/fixtures/java/corpus/wildcard.java new file mode 100644 index 000000000..17a665564 --- /dev/null +++ b/test/fixtures/java/corpus/wildcard.java @@ -0,0 +1,3 @@ +class Connectable { + void connect(Consumer connection); +} From 0913be8189abac1b63443557de168ff53cd407aa Mon Sep 17 00:00:00 2001 From: Ayman Nadeem Date: Wed, 6 Jun 2018 11:30:37 -0700 Subject: [PATCH 4/5] spread parameter test --- test/fixtures/java/corpus/spread-parameter.java | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/fixtures/java/corpus/spread-parameter.java diff --git a/test/fixtures/java/corpus/spread-parameter.java b/test/fixtures/java/corpus/spread-parameter.java new file mode 100644 index 000000000..dceb5368d --- /dev/null +++ b/test/fixtures/java/corpus/spread-parameter.java @@ -0,0 +1,4 @@ +class Dinosaur { + Disposable(Disposable... resources) { + } +} From 89a6be151d02864040b843321aeab0be9b62402a Mon Sep 17 00:00:00 2001 From: Ayman Nadeem Date: Wed, 6 Jun 2018 11:31:22 -0700 Subject: [PATCH 5/5] array access test --- test/fixtures/java/corpus/array-access.java | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/fixtures/java/corpus/array-access.java diff --git a/test/fixtures/java/corpus/array-access.java b/test/fixtures/java/corpus/array-access.java new file mode 100644 index 000000000..10b339657 --- /dev/null +++ b/test/fixtures/java/corpus/array-access.java @@ -0,0 +1,5 @@ +class Dinosaur { + void apply() { + (T1)a[0]; + } +}