summaryrefslogtreecommitdiff
path: root/java/systests/src
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
commitc1605d32431c48350072ef2eda4938d93d1e3ae2 (patch)
tree7a9197cddb3c82bc4493083154e56fab66b3ed92 /java/systests/src
parentfc92ae3d73e18088afa0360854c27fbf07584646 (diff)
downloadqpid-python-c1605d32431c48350072ef2eda4938d93d1e3ae2.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/qpid@933283 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/systests/src')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/test/framework/listeners/XMLTestListener.java10
1 files changed, 10 insertions, 0 deletions
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
@@ -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.