diff options
-rw-r--r-- | src/test/test/javassist/bytecode/analysis/ErrorFinder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test/javassist/bytecode/analysis/ErrorFinder.java b/src/test/test/javassist/bytecode/analysis/ErrorFinder.java index a2128325..e131ffb9 100644 --- a/src/test/test/javassist/bytecode/analysis/ErrorFinder.java +++ b/src/test/test/javassist/bytecode/analysis/ErrorFinder.java @@ -52,9 +52,10 @@ public class ErrorFinder { System.out.println("START: " + methodName); Analyzer analyzer = new Analyzer(); + long time = System.currentTimeMillis(); try { analyzer.analyze(clazz, method.getMethodInfo2()); - System.out.println("SUCCESS: " + methodName); + System.out.println("SUCCESS: " + methodName + " - " + (System.currentTimeMillis() - time)); } catch (Exception e) { System.out.println("FAIL: " + methodName + " - " + (e.getMessage() == null ? e.getClass().getName() : e.getMessage())); } |