You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ar...@apache.org on 2008/05/22 19:22:41 UTC
svn commit: r659165 -
/incubator/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java
Author: arnaudsimon
Date: Thu May 22 10:22:40 2008
New Revision: 659165
URL: http://svn.apache.org/viewvc?rev=659165&view=rev
Log:
QPID-1079: Updated TTLTest to use QpidTestCase
Modified:
incubator/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java
Modified: incubator/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java?rev=659165&r1=659164&r2=659165&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java (original)
+++ incubator/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java Thu May 22 10:22:40 2008
@@ -78,7 +78,7 @@
*
* @throws javax.jms.JMSException Allowed to fall through and fail test.
*/
- public void testTTLP2P() throws JMSException
+ public void testTTLP2P() throws Exception
{
String errorMessages = "";
Random r = new Random();
@@ -92,7 +92,7 @@
// Create the test circuit from the test configuration parameters.
CircuitFactory circuitFactory = getCircuitFactory();
- Circuit testCircuit = circuitFactory.createCircuit(testProps);
+ Circuit testCircuit = circuitFactory.createCircuit(getConnection(), testProps);
// This test case assumes it is using a local circuit.
LocalCircuitImpl localCircuit = (LocalCircuitImpl) testCircuit;