diff options
author | chibash <chiba@javassist.org> | 2015-09-25 15:32:41 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2015-09-25 15:32:41 +0900 |
commit | 5b0544a385616b6884267ce3ef74a19490109894 (patch) | |
tree | 5948390e46c5d9855c5c14987a6df7e9b43f17a7 /src/test/javassist/JvstTest5.java | |
parent | e44bf416bf4f7d705deef9f9243197d4fff9f2d0 (diff) | |
download | javassist-5b0544a385616b6884267ce3ef74a19490109894.tar.gz javassist-5b0544a385616b6884267ce3ef74a19490109894.zip |
modifies a test case for JIRA JASSIST-248.
Diffstat (limited to 'src/test/javassist/JvstTest5.java')
-rw-r--r-- | src/test/javassist/JvstTest5.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/javassist/JvstTest5.java b/src/test/javassist/JvstTest5.java index 1767436e..6deffcab 100644 --- a/src/test/javassist/JvstTest5.java +++ b/src/test/javassist/JvstTest5.java @@ -128,11 +128,11 @@ public class JvstTest5 extends JvstTestRoot { public void testJIRA248() throws Exception { CtClass cc = sloader.get("test5.JIRA248"); - String methodBody = "public int run() { return foo() + super.foo() + super.bar(); }"; + String methodBody = "public int run() { return foo() + super.foo() + super.bar() + test5.JIRA248Intf2.super.baz(); }"; CtMethod ctMethod = CtMethod.make(methodBody, cc); cc.addMethod(ctMethod); cc.writeFile(); Object obj = make(cc.getName()); - assertEquals(271, invoke(obj, "run")); + assertEquals(40271, invoke(obj, "run")); } } |