Author: ritchiem
Date: Tue Oct 31 23:48:50 2006
New Revision: 469807

URL: http://svn.apache.org/viewvc?view=rev&rev=469807
Log:
JNDIReferenceableTest.java - removed unused import
referenceabletest/UnitTests.java - was not running referenceabletest Unit Tests 
but destinationurl tests.
VmRequestReply.java,DurableSubscriptionTest.java,TransactedTest.java - Added 
InVM Exception to failure assertions.

Modified:
    
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/jndi/referenceabletest/JNDIReferenceableTest.java
    
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/jndi/referenceabletest/UnitTests.java
    
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/requestreply1/VmRequestReply.java
    
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/topic/DurableSubscriptionTest.java
    
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java

Modified: 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/jndi/referenceabletest/JNDIReferenceableTest.java
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/jndi/referenceabletest/JNDIReferenceableTest.java?view=diff&rev=469807&r1=469806&r2=469807
==============================================================================
--- 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/jndi/referenceabletest/JNDIReferenceableTest.java
 (original)
+++ 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/jndi/referenceabletest/JNDIReferenceableTest.java
 Tue Oct 31 23:48:50 2006
@@ -21,7 +21,6 @@
 import org.junit.Assert;
 import junit.framework.JUnit4TestAdapter;
 
-import javax.naming.NamingException;
 import javax.naming.NameAlreadyBoundException;
 import javax.naming.NoInitialContextException;
 

Modified: 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/jndi/referenceabletest/UnitTests.java
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/jndi/referenceabletest/UnitTests.java?view=diff&rev=469807&r1=469806&r2=469807
==============================================================================
--- 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/jndi/referenceabletest/UnitTests.java
 (original)
+++ 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/jndi/referenceabletest/UnitTests.java
 Tue Oct 31 23:48:50 2006
@@ -28,6 +28,6 @@
 {
     public static junit.framework.Test suite()
     {
-        return new 
JUnit4TestAdapter(org.apache.qpid.destinationurl.UnitTests.class);
+        return new 
JUnit4TestAdapter(org.apache.qpid.jndi.referenceabletest.UnitTests.class);
     }
 }

Modified: 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/requestreply1/VmRequestReply.java
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/requestreply1/VmRequestReply.java?view=diff&rev=469807&r1=469806&r2=469807
==============================================================================
--- 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/requestreply1/VmRequestReply.java
 (original)
+++ 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/requestreply1/VmRequestReply.java
 Tue Oct 31 23:48:50 2006
@@ -39,7 +39,7 @@
         }
         catch (AMQVMBrokerCreationException e)
         {
-            Assert.fail("Unable to create VM Broker");
+            Assert.fail("Unable to create VM Broker: " + e.getMessage());
         }
     }
 

Modified: 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/topic/DurableSubscriptionTest.java
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/topic/DurableSubscriptionTest.java?view=diff&rev=469807&r1=469806&r2=469807
==============================================================================
--- 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/topic/DurableSubscriptionTest.java
 (original)
+++ 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/topic/DurableSubscriptionTest.java
 Tue Oct 31 23:48:50 2006
@@ -50,7 +50,7 @@
         }
         catch (AMQVMBrokerCreationException e)
         {
-            Assert.fail("Unable to create VM Broker");
+            Assert.fail("Unable to create VM Broker: " + e.getMessage());
         }
     }
 

Modified: 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java?view=diff&rev=469807&r1=469806&r2=469807
==============================================================================
--- 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
 (original)
+++ 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
 Tue Oct 31 23:48:50 2006
@@ -60,8 +60,7 @@
         }
         catch (AMQVMBrokerCreationException e)
         {
-            e.printStackTrace();
-            Assert.fail("Unable to create VM Broker");
+            Assert.fail("Unable to create VM Broker: " + e.getMessage());
         }
 
         queue1 = new AMQQueue("Q1", false);


Reply via email to