aboutsummaryrefslogtreecommitdiff
path: root/test/lombok/resource/before
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-12-01 23:23:35 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-12-01 23:31:12 +0100
commit2aebaff46026dbfa447fd7454472e88c41dc8103 (patch)
tree609c69c3cd5277e861315a2b23deb86a8e5c2de9 /test/lombok/resource/before
parent2a56f341d0073099859db815caf9d455f74e6198 (diff)
downloadlombok-2aebaff46026dbfa447fd7454472e88c41dc8103.tar.gz
lombok-2aebaff46026dbfa447fd7454472e88c41dc8103.tar.bz2
lombok-2aebaff46026dbfa447fd7454472e88c41dc8103.zip
Moved test resource files to a better matching location
Diffstat (limited to 'test/lombok/resource/before')
-rw-r--r--test/lombok/resource/before/CleanupName.java6
-rw-r--r--test/lombok/resource/before/CleanupPlain.java11
-rw-r--r--test/lombok/resource/before/CommentsInterspersed.java17
-rw-r--r--test/lombok/resource/before/GetterAccessLevel.java12
-rw-r--r--test/lombok/resource/before/GetterAlreadyExists.java108
-rw-r--r--test/lombok/resource/before/GetterBoolean.java12
-rw-r--r--test/lombok/resource/before/GetterPlain.java5
-rw-r--r--test/lombok/resource/before/NonNullPlain.java11
-rw-r--r--test/lombok/resource/before/SetterAccessLevel.java12
-rw-r--r--test/lombok/resource/before/SetterAlreadyExists.java35
-rw-r--r--test/lombok/resource/before/SetterPlain.java5
-rw-r--r--test/lombok/resource/before/SynchronizedName.java18
-rw-r--r--test/lombok/resource/before/SynchronizedPlain.java17
13 files changed, 0 insertions, 269 deletions
diff --git a/test/lombok/resource/before/CleanupName.java b/test/lombok/resource/before/CleanupName.java
deleted file mode 100644
index 0d253f1e..00000000
--- a/test/lombok/resource/before/CleanupName.java
+++ /dev/null
@@ -1,6 +0,0 @@
-class Cleanup {
- void test() throws Exception {
- @lombok.Cleanup("toString") Object o = "Hello World!";
- System.out.println(o);
- }
-} \ No newline at end of file
diff --git a/test/lombok/resource/before/CleanupPlain.java b/test/lombok/resource/before/CleanupPlain.java
deleted file mode 100644
index a91ac3c1..00000000
--- a/test/lombok/resource/before/CleanupPlain.java
+++ /dev/null
@@ -1,11 +0,0 @@
-import lombok.Cleanup;
-import java.io.*;
-class CleanupPlain {
- void test() throws Exception {
- @lombok.Cleanup InputStream in = new FileInputStream("in");
- @Cleanup OutputStream out = new FileOutputStream("out");
- if (in.markSupported()) {
- out.flush();
- }
- }
-} \ No newline at end of file
diff --git a/test/lombok/resource/before/CommentsInterspersed.java b/test/lombok/resource/before/CommentsInterspersed.java
deleted file mode 100644
index e7898aaa..00000000
--- a/test/lombok/resource/before/CommentsInterspersed.java
+++ /dev/null
@@ -1,17 +0,0 @@
-import /* cmt */ lombok./* cmt2 */Getter /* cmt3 */ ;
-
-public /*bla */ class CommentsInterspersed {
- /** javadoc for field */
- private int x;
-
- private /* bla2 */ @Getter String test = "foo"; //$NON-NLS-1$
-
- /** Javadoc on method */
- public native void gwtTest(); /*-{
- javascript;
- }-*/
-} //haha!
-//hahaha!
-
-//hahahaha!
-
diff --git a/test/lombok/resource/before/GetterAccessLevel.java b/test/lombok/resource/before/GetterAccessLevel.java
deleted file mode 100644
index 8fd9bcc7..00000000
--- a/test/lombok/resource/before/GetterAccessLevel.java
+++ /dev/null
@@ -1,12 +0,0 @@
-class Getter {
- @lombok.Getter(lombok.AccessLevel.NONE)
- boolean isNone;
- @lombok.Getter(lombok.AccessLevel.PRIVATE)
- boolean isPrivate;
- @lombok.Getter(lombok.AccessLevel.PACKAGE)
- boolean isPackage;
- @lombok.Getter(lombok.AccessLevel.PROTECTED)
- boolean isProtected;
- @lombok.Getter(lombok.AccessLevel.PUBLIC)
- boolean isPublic;
-}
diff --git a/test/lombok/resource/before/GetterAlreadyExists.java b/test/lombok/resource/before/GetterAlreadyExists.java
deleted file mode 100644
index 93b77dc1..00000000
--- a/test/lombok/resource/before/GetterAlreadyExists.java
+++ /dev/null
@@ -1,108 +0,0 @@
-class Getter1 {
- @lombok.Getter boolean foo;
- boolean hasFoo() {
- return true;
- }
-}
-class Getter2 {
- @lombok.Getter boolean foo;
- boolean isFoo() {
- return true;
- }
-}
-class Getter3 {
- @lombok.Getter boolean foo;
- boolean getFoo() {
- return true;
- }
-}
-class Getter4 {
- @lombok.Getter String foo;
- String hasFoo() {
- return null;
- }
-}
-class Getter5 {
- @lombok.Getter String foo;
- String isFoo() {
- return null;
- }
-}
-class Getter6 {
- @lombok.Getter String foo;
- String getFoo() {
- return null;
- }
-}
-class Getter7 {
- @lombok.Getter String foo;
- boolean hasFoo() {
- return false;
- }
-}
-class Getter8 {
- @lombok.Getter String foo;
- boolean isFoo() {
- return false;
- }
-}
-class Getter9 {
- @lombok.Getter String foo;
- boolean getFoo() {
- return false;
- }
-}
-class Getter10 {
- @lombok.Getter boolean foo;
- static boolean hasFoo() {
- return false;
- }
-}
-class Getter11 {
- @lombok.Getter boolean foo;
- static boolean isFoo() {
- return false;
- }
-}
-class Getter12 {
- @lombok.Getter boolean foo;
- static boolean getFoo() {
- return false;
- }
-}
-class Getter13 {
- @lombok.Getter String foo;
- static boolean hasFoo() {
- return false;
- }
-}
-class Getter14 {
- @lombok.Getter String foo;
- static boolean isFoo() {
- return false;
- }
-}
-class Getter15 {
- @lombok.Getter String foo;
- static boolean getFoo() {
- return false;
- }
-}
-class Getter16 {
- @lombok.Getter String foo;
- static String hasFoo() {
- return false;
- }
-}
-class Getter17 {
- @lombok.Getter String foo;
- static String isFoo() {
- return false;
- }
-}
-class Getter18 {
- @lombok.Getter String foo;
- static String getFoo() {
- return false;
- }
-} \ No newline at end of file
diff --git a/test/lombok/resource/before/GetterBoolean.java b/test/lombok/resource/before/GetterBoolean.java
deleted file mode 100644
index 7d53ebbf..00000000
--- a/test/lombok/resource/before/GetterBoolean.java
+++ /dev/null
@@ -1,12 +0,0 @@
-class Getter {
- @lombok.Getter boolean foo;
- @lombok.Getter boolean isBar;
- @lombok.Getter boolean hasBaz;
-}
-class MoreGetter {
- @lombok.Getter boolean foo;
-
- boolean hasFoo() {
- return true;
- }
-} \ No newline at end of file
diff --git a/test/lombok/resource/before/GetterPlain.java b/test/lombok/resource/before/GetterPlain.java
deleted file mode 100644
index d104f428..00000000
--- a/test/lombok/resource/before/GetterPlain.java
+++ /dev/null
@@ -1,5 +0,0 @@
-import lombok.Getter;
-class GetterPlain {
- @lombok.Getter int i;
- @Getter int foo;
-} \ No newline at end of file
diff --git a/test/lombok/resource/before/NonNullPlain.java b/test/lombok/resource/before/NonNullPlain.java
deleted file mode 100644
index eef64b2f..00000000
--- a/test/lombok/resource/before/NonNullPlain.java
+++ /dev/null
@@ -1,11 +0,0 @@
-class NonNullPlain {
- @lombok.Getter
- @lombok.Setter
- @lombok.NonNull
- @lombok.Getter int i;
-
- @lombok.Getter
- @lombok.Setter
- @lombok.NonNull
- String s;
-} \ No newline at end of file
diff --git a/test/lombok/resource/before/SetterAccessLevel.java b/test/lombok/resource/before/SetterAccessLevel.java
deleted file mode 100644
index 767341ef..00000000
--- a/test/lombok/resource/before/SetterAccessLevel.java
+++ /dev/null
@@ -1,12 +0,0 @@
-class Setter {
- @lombok.Setter(lombok.AccessLevel.NONE)
- boolean isNone;
- @lombok.Setter(lombok.AccessLevel.PRIVATE)
- boolean isPrivate;
- @lombok.Setter(lombok.AccessLevel.PACKAGE)
- boolean isPackage;
- @lombok.Setter(lombok.AccessLevel.PROTECTED)
- boolean isProtected;
- @lombok.Setter(lombok.AccessLevel.PUBLIC)
- boolean isPublic;
-}
diff --git a/test/lombok/resource/before/SetterAlreadyExists.java b/test/lombok/resource/before/SetterAlreadyExists.java
deleted file mode 100644
index a7a94123..00000000
--- a/test/lombok/resource/before/SetterAlreadyExists.java
+++ /dev/null
@@ -1,35 +0,0 @@
-class Setter1 {
- @lombok.Setter boolean foo;
- void setFoo(boolean foo) {
- }
-}
-class Setter2 {
- @lombok.Setter boolean foo;
- void setFoo(String foo) {
- }
-}
-class Setter3 {
- @lombok.Setter String foo;
- void setFoo(boolean foo) {
- }
-}
-class Setter4 {
- @lombok.Setter String foo;
- void setFoo(String foo) {
- }
-}
-class Setter5 {
- @lombok.Setter String foo;
- void setFoo() {
- }
-}
-class Setter6 {
- @lombok.Setter String foo;
- void setFoo(String foo, int x) {
- }
-}
-class Setter7 {
- @lombok.Setter String foo;
- static void setFoo() {
- }
-}
diff --git a/test/lombok/resource/before/SetterPlain.java b/test/lombok/resource/before/SetterPlain.java
deleted file mode 100644
index e1ac99f8..00000000
--- a/test/lombok/resource/before/SetterPlain.java
+++ /dev/null
@@ -1,5 +0,0 @@
-import lombok.Setter;
-class SetterPlain {
- @lombok.Setter int i;
- @Setter int foo;
-} \ No newline at end of file
diff --git a/test/lombok/resource/before/SynchronizedName.java b/test/lombok/resource/before/SynchronizedName.java
deleted file mode 100644
index 3aaec705..00000000
--- a/test/lombok/resource/before/SynchronizedName.java
+++ /dev/null
@@ -1,18 +0,0 @@
-//ignore
-class SynchronizedName {
- private Object read = new Object();
- private static Object READ = new Object();
-
- @lombok.Synchronized("read") void test1() {
- System.out.println("one");
- }
- @lombok.Synchronized("write") void test2() {
- System.out.println("two");
- }
- @lombok.Synchronized("read") static void test3() {
- System.out.println("three");
- }
- @lombok.Synchronized("READ") void test4() {
- System.out.println("four");
- }
-}
diff --git a/test/lombok/resource/before/SynchronizedPlain.java b/test/lombok/resource/before/SynchronizedPlain.java
deleted file mode 100644
index 6f5f3b64..00000000
--- a/test/lombok/resource/before/SynchronizedPlain.java
+++ /dev/null
@@ -1,17 +0,0 @@
-import lombok.Synchronized;
-class SynchronizedPlain1 {
- @lombok.Synchronized void test() {
- System.out.println("one");
- }
- @Synchronized void test2() {
- System.out.println("two");
- }
-}
-class SynchronizedPlain2 {
- @lombok.Synchronized static void test() {
- System.out.println("three");
- }
- @Synchronized static void test2() {
- System.out.println("four");
- }
-} \ No newline at end of file