aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/JvstTest4.java
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2014-11-23 01:08:22 +0900
committerchibash <chiba@javassist.org>2014-11-23 01:08:22 +0900
commitf2093c28be24336593e1ebd9c2c633ee0f8c5b5c (patch)
treea143744ccbf9c43fa70e88940f36f96136870e79 /src/test/javassist/JvstTest4.java
parente000e8f682a284b7b5d0c03ca32866e745045fa0 (diff)
downloadjavassist-f2093c28be24336593e1ebd9c2c633ee0f8c5b5c.tar.gz
javassist-f2093c28be24336593e1ebd9c2c633ee0f8c5b5c.zip
fiexed JASSIST-238
Diffstat (limited to 'src/test/javassist/JvstTest4.java')
-rw-r--r--src/test/javassist/JvstTest4.java6
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 {