activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r370330 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsSendReceiveTestSupport.java
Date Thu, 19 Jan 2006 00:34:53 GMT
Author: rajdavies
Date: Wed Jan 18 16:34:52 2006
New Revision: 370330

URL: http://svn.apache.org/viewcvs?rev=370330&view=rev
Log:
added messageSent() method - so can hook in failure tests in derived unit tests

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsSendReceiveTestSupport.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsSendReceiveTestSupport.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsSendReceiveTestSupport.java?rev=370330&r1=370329&r2=370330&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsSendReceiveTestSupport.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsSendReceiveTestSupport.java
Wed Jan 18 16:34:52 2006
@@ -93,6 +93,7 @@
             }
             
             producer.send(producerDestination, message);
+            messageSent();
         }
         
         assertMessagesAreReceived();
@@ -200,5 +201,14 @@
      */
     protected List createConcurrentList() {
         return Collections.synchronizedList(new ArrayList());
+    }
+    
+    /**
+     * Just a hook so can insert failure tests
+     * @throws Exception 
+     *
+     */
+    protected void messageSent() throws Exception{
+        
     }
 }



Mime
View raw message