summaryrefslogtreecommitdiff
path: root/qpid/java/systests
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2010-04-12 15:42:47 +0000
committerMartin Ritchie <ritchiem@apache.org>2010-04-12 15:42:47 +0000
commitb1bffee58eeadcd846dd300fcb26ccf3e7250a10 (patch)
tree4707202232214641d4eeabb4a9610644a457c89d /qpid/java/systests
parent9da586a72784508e3b7c04e19639cb3907fa1ab5 (diff)
downloadqpid-python-b1bffee58eeadcd846dd300fcb26ccf3e7250a10.tar.gz
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@933283 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/systests')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/test/framework/listeners/XMLTestListener.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/framework/listeners/XMLTestListener.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/framework/listeners/XMLTestListener.java
index 8a82b12832..c79029c99a 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/test/framework/listeners/XMLTestListener.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/test/framework/listeners/XMLTestListener.java
@@ -159,6 +159,16 @@ public class XMLTestListener implements TKTestListener, ShutdownHookable
{ }
/**
+ * 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.
*
* @param test The test which memory was measured for.