diff options
author | chibash <chiba@javassist.org> | 2018-09-02 23:50:56 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2018-09-02 23:50:56 +0900 |
commit | 9ca1a7539c2967d00d1b81328b4d0bd13c51d2ac (patch) | |
tree | 841cec2382944355223b1604f30b31127cce4bde /src/test/test5 | |
parent | c52b9c7100412288eecf2ed098c63a0ba1643000 (diff) | |
download | javassist-9ca1a7539c2967d00d1b81328b4d0bd13c51d2ac.tar.gz javassist-9ca1a7539c2967d00d1b81328b4d0bd13c51d2ac.zip |
adds test cases for NestHostAttribute and NestMembersAttribute.
Diffstat (limited to 'src/test/test5')
-rw-r--r-- | src/test/test5/NestHost.java | 11 | ||||
-rw-r--r-- | src/test/test5/NestHost2.java | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/test/test5/NestHost.java b/src/test/test5/NestHost.java new file mode 100644 index 00000000..045d9d30 --- /dev/null +++ b/src/test/test5/NestHost.java @@ -0,0 +1,11 @@ +package test5; + +public class NestHost { + private int value; + public class Foo { + int foo() { return value++; } + } + public class Bar { + int bar() { return value++; } + } +} diff --git a/src/test/test5/NestHost2.java b/src/test/test5/NestHost2.java new file mode 100644 index 00000000..571059be --- /dev/null +++ b/src/test/test5/NestHost2.java @@ -0,0 +1,11 @@ +package test5; + +public class NestHost2 { + private int value; + public class Foo { + int foo() { return value++; } + } + public class Bar { + int bar() { return value++; } + } +} |