From 8e1cbe1b1079c1a6f5123add0241d32c8452cdae Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 20 Jul 2010 23:52:13 +0200 Subject: Added checks for warnings in test cases --- .../delombok/resource/before/GetterAlreadyExists.java.messages | 10 ++++++++++ test/delombok/resource/before/GetterBoolean.java.messages | 1 + .../delombok/resource/before/SetterAlreadyExists.java.messages | 7 +++++++ 3 files changed, 18 insertions(+) create mode 100644 test/delombok/resource/before/GetterAlreadyExists.java.messages create mode 100644 test/delombok/resource/before/GetterBoolean.java.messages create mode 100644 test/delombok/resource/before/SetterAlreadyExists.java.messages diff --git a/test/delombok/resource/before/GetterAlreadyExists.java.messages b/test/delombok/resource/before/GetterAlreadyExists.java.messages new file mode 100644 index 00000000..99de957b --- /dev/null +++ b/test/delombok/resource/before/GetterAlreadyExists.java.messages @@ -0,0 +1,10 @@ +2:9 WARNING Not generating isFoo(): A method with that name already exists (hasFoo) +8:9 WARNING Not generating isFoo(): A method with that name already exists +14:9 WARNING Not generating isFoo(): A method with that name already exists (getFoo) +32:9 WARNING Not generating getFoo(): A method with that name already exists +50:9 WARNING Not generating getFoo(): A method with that name already exists +56:9 WARNING Not generating isFoo(): A method with that name already exists (hasFoo) +62:9 WARNING Not generating isFoo(): A method with that name already exists +68:9 WARNING Not generating isFoo(): A method with that name already exists (getFoo) +86:9 WARNING Not generating getFoo(): A method with that name already exists +104:9 WARNING Not generating getFoo(): A method with that name already exists \ No newline at end of file diff --git a/test/delombok/resource/before/GetterBoolean.java.messages b/test/delombok/resource/before/GetterBoolean.java.messages new file mode 100644 index 00000000..91ba7340 --- /dev/null +++ b/test/delombok/resource/before/GetterBoolean.java.messages @@ -0,0 +1 @@ +7:9 WARNING Not generating isFoo(): A method with that name already exists (hasFoo) \ No newline at end of file diff --git a/test/delombok/resource/before/SetterAlreadyExists.java.messages b/test/delombok/resource/before/SetterAlreadyExists.java.messages new file mode 100644 index 00000000..7d0397ad --- /dev/null +++ b/test/delombok/resource/before/SetterAlreadyExists.java.messages @@ -0,0 +1,7 @@ +2:9 WARNING Not generating setFoo(boolean foo): A method with that name already exists +7:9 WARNING Not generating setFoo(boolean foo): A method with that name already exists +12:9 WARNING Not generating setFoo(String foo): A method with that name already exists +17:9 WARNING Not generating setFoo(String foo): A method with that name already exists +22:9 WARNING Not generating setFoo(String foo): A method with that name already exists +27:9 WARNING Not generating setFoo(String foo): A method with that name already exists +32:9 WARNING Not generating setFoo(String foo): A method with that name already exists -- cgit