You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2007/01/25 20:19:47 UTC
svn commit: r499925 -
/incubator/qpid/branches/qpid.0-9/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java
Author: rhs
Date: Thu Jan 25 11:19:46 2007
New Revision: 499925
URL: http://svn.apache.org/viewvc?view=rev&rev=499925
Log:
updated test to match renamed exception
Modified:
incubator/qpid/branches/qpid.0-9/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java
Modified: incubator/qpid/branches/qpid.0-9/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java?view=diff&rev=499925&r1=499924&r2=499925
==============================================================================
--- incubator/qpid/branches/qpid.0-9/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java (original)
+++ incubator/qpid/branches/qpid.0-9/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java Thu Jan 25 11:19:46 2007
@@ -24,7 +24,7 @@
import org.apache.qpid.client.AMQAuthenticationException;
import org.apache.qpid.client.transport.TransportConnection;
import org.apache.qpid.AMQException;
-import org.apache.qpid.AMQConnectionException;
+import org.apache.qpid.AMQConnectionFailureException;
import org.apache.qpid.AMQUnresolvedAddressException;
import javax.jms.Connection;
@@ -88,7 +88,7 @@
}
catch (AMQException amqe)
{
- if (!(amqe instanceof AMQConnectionException))
+ if (!(amqe instanceof AMQConnectionFailureException))
{
fail("Correct exception not thrown. Excpected 'AMQConnectionException' got: " + amqe);
}