aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/after/ToStringPlain.java
diff options
context:
space:
mode:
authorunknown <roels@.tis.local>2009-12-02 17:37:53 +0100
committerunknown <roels@.tis.local>2009-12-02 17:37:53 +0100
commitd4ed666abfdafc9007734bccf9acf2a80a32770e (patch)
tree779ed2768b70cb500a1312db2552b1acb31a48f9 /test/delombok/resource/after/ToStringPlain.java
parentdb212a2fa08bf43b782cb422526cb3b4f809e295 (diff)
downloadlombok-d4ed666abfdafc9007734bccf9acf2a80a32770e.tar.gz
lombok-d4ed666abfdafc9007734bccf9acf2a80a32770e.tar.bz2
lombok-d4ed666abfdafc9007734bccf9acf2a80a32770e.zip
Added some tests for @ToString
Diffstat (limited to 'test/delombok/resource/after/ToStringPlain.java')
-rw-r--r--test/delombok/resource/after/ToStringPlain.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/delombok/resource/after/ToStringPlain.java b/test/delombok/resource/after/ToStringPlain.java
new file mode 100644
index 00000000..4f71e392
--- /dev/null
+++ b/test/delombok/resource/after/ToStringPlain.java
@@ -0,0 +1,16 @@
+class ToString1 {
+ final int x;
+ String name;
+ @java.lang.Override
+ public java.lang.String toString() {
+ return "ToString1(x=" + x + ", name=" + name + ")";
+ }
+}
+class ToString2 {
+ final int x;
+ String name;
+ @java.lang.Override
+ public java.lang.String toString() {
+ return "ToString2(x=" + x + ", name=" + name + ")";
+ }
+} \ No newline at end of file