From 2ef7ef3e9f925f92a23ad279755db165495623ab Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Wed, 2 Dec 2009 02:48:07 +0100 Subject: Improved tests to also test on value= parameters --- test/delombok/resource/before/CleanupName.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'test/delombok/resource/before/CleanupName.java') diff --git a/test/delombok/resource/before/CleanupName.java b/test/delombok/resource/before/CleanupName.java index 0d253f1e..cbc5b447 100644 --- a/test/delombok/resource/before/CleanupName.java +++ b/test/delombok/resource/before/CleanupName.java @@ -1,6 +1,10 @@ -class Cleanup { - void test() throws Exception { +class CleanupName { + void test() { @lombok.Cleanup("toString") Object o = "Hello World!"; System.out.println(o); } + void test2() { + @lombok.Cleanup(value="toString") Object o = "Hello World too!"; + System.out.println(o); + } } \ No newline at end of file -- cgit