From c1605d32431c48350072ef2eda4938d93d1e3ae2 Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Mon, 12 Apr 2010 15:42:47 +0000 Subject: QPID-2425 : Augmented JUnit-Toolkit to emit latency information already gathed by the PingAsyncTestPerf for each batch. Merged from 0.5.x-dev r 917464 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933283 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/qpid/test/framework/listeners/XMLTestListener.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'java/systests/src') diff --git a/java/systests/src/main/java/org/apache/qpid/test/framework/listeners/XMLTestListener.java b/java/systests/src/main/java/org/apache/qpid/test/framework/listeners/XMLTestListener.java index 8a82b12832..c79029c99a 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/framework/listeners/XMLTestListener.java +++ b/java/systests/src/main/java/org/apache/qpid/test/framework/listeners/XMLTestListener.java @@ -158,6 +158,16 @@ public class XMLTestListener implements TKTestListener, ShutdownHookable public void timing(Test test, long nanos, Long threadId) { } + /** + * Optionally called every time a test completes with the second timing test. + * + * @param test The name of the test. + * @param nanos The second timing information of the test in nanoseconds. + * @param threadId Optional thread id if not calling from thread that started the test method. May be null. + */ + public void timing2(Test test, Long nanos, Long threadId) + { } + /** * Should be called every time a test completed with the amount of memory used before and after the test was run. * -- cgit v1.2.1