aboutsummaryrefslogtreecommitdiff
path: root/test/pretty
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-01-07 23:48:21 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-01-07 23:48:21 +0100
commit3fc7ac620743b7705a4c8d3e6d59b38257062e08 (patch)
tree85c40168b602633110c5836cf1a508c300f5ecbb /test/pretty
parente94bf546f3bdb37dbc442804d3819c83bd4f69c5 (diff)
downloadlombok-3fc7ac620743b7705a4c8d3e6d59b38257062e08.tar.gz
lombok-3fc7ac620743b7705a4c8d3e6d59b38257062e08.tar.bz2
lombok-3fc7ac620743b7705a4c8d3e6d59b38257062e08.zip
Added test to ensure interfaces print correctly (test case because 'public' and 'abstract' are implied).
Diffstat (limited to 'test/pretty')
-rw-r--r--test/pretty/resource/after/Interfaces.java7
-rw-r--r--test/pretty/resource/before/Interfaces.java7
2 files changed, 14 insertions, 0 deletions
diff --git a/test/pretty/resource/after/Interfaces.java b/test/pretty/resource/after/Interfaces.java
new file mode 100644
index 00000000..c8a5cca4
--- /dev/null
+++ b/test/pretty/resource/after/Interfaces.java
@@ -0,0 +1,7 @@
+@SuppressWarnings("all")
+interface Interfaces {
+ int x = 10;
+ void y();
+ public static final int a = 20;
+ public abstract void b();
+}
diff --git a/test/pretty/resource/before/Interfaces.java b/test/pretty/resource/before/Interfaces.java
new file mode 100644
index 00000000..c8a5cca4
--- /dev/null
+++ b/test/pretty/resource/before/Interfaces.java
@@ -0,0 +1,7 @@
+@SuppressWarnings("all")
+interface Interfaces {
+ int x = 10;
+ void y();
+ public static final int a = 20;
+ public abstract void b();
+}