diff options
author | chibash <chiba@javassist.org> | 2014-11-23 01:08:22 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2014-11-23 01:08:22 +0900 |
commit | f2093c28be24336593e1ebd9c2c633ee0f8c5b5c (patch) | |
tree | a143744ccbf9c43fa70e88940f36f96136870e79 /src/test/javassist/JvstTest4.java | |
parent | e000e8f682a284b7b5d0c03ca32866e745045fa0 (diff) | |
download | javassist-f2093c28be24336593e1ebd9c2c633ee0f8c5b5c.tar.gz javassist-f2093c28be24336593e1ebd9c2c633ee0f8c5b5c.zip |
fiexed JASSIST-238
Diffstat (limited to 'src/test/javassist/JvstTest4.java')
-rw-r--r-- | src/test/javassist/JvstTest4.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/javassist/JvstTest4.java b/src/test/javassist/JvstTest4.java index 3cc7d061..d5616056 100644 --- a/src/test/javassist/JvstTest4.java +++ b/src/test/javassist/JvstTest4.java @@ -5,7 +5,6 @@ import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.HashSet; -import java.util.List; import javassist.bytecode.*; import javassist.bytecode.annotation.Annotation; @@ -662,8 +661,9 @@ public class JvstTest4 extends JvstTestRoot { long t2 = endTime2 - endTime; long t3 = endTime3 - endTime2; System.out.println("JIRA150: " + t1 + ", " + t2 + ", " + t3); - assertTrue(t2 < t1 * 5); - assertTrue(t3 < t1 * 3); + assertTrue("performance test (the next try may succeed): " + t1 + "/ 5 < " + t2, + t2 < t1 * 5); + assertTrue("", t3 < t1 * 3); } public void testJIRA150b() throws Exception { |