summaryrefslogtreecommitdiff
path: root/qpid/java
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2008-05-22 17:22:40 +0000
committerArnaud Simon <arnaudsimon@apache.org>2008-05-22 17:22:40 +0000
commit0806aca81168bbf1c64f57d15d9fd46d7b4fd56c (patch)
tree3c7faef81e025d1b71837c5fec5616784899a5a4 /qpid/java
parent6acca39fe427c3a92eb35adbd990e343ce32708f (diff)
downloadqpid-python-0806aca81168bbf1c64f57d15d9fd46d7b4fd56c.tar.gz
QPID-1079: Updated TTLTest to use QpidTestCase
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@659165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java
index 9004cb72df..384e3176f5 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java
@@ -78,7 +78,7 @@ public class TTLTest extends FrameworkBaseCase
*
* @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 @@ public class TTLTest extends FrameworkBaseCase
// 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;