@@ -87,17 +87,17 @@ public void testTTLMustBePositive() throws Exception {
8787 }
8888 }
8989
90- public void testQueueReDeclareEquivalence () throws Exception {
90+ public void testQueueRedeclareEquivalence () throws Exception {
9191 declareQueue (10 );
9292 try {
9393 declareQueue (20 );
94- fail ("Should not be able to re-declare with different x-message-ttl" );
94+ fail ("Should not be able to redeclare with different x-message-ttl" );
9595 } catch (IOException ex ) {
9696 checkShutdownSignal (AMQP .PRECONDITION_FAILED , ex );
9797 }
9898 }
9999
100- public void testQueueReDeclareSemanticEquivalence () throws Exception {
100+ public void testQueueRedeclareSemanticEquivalence () throws Exception {
101101 declareQueue ((byte ) 10 );
102102 declareQueue (10 );
103103 declareQueue ((short ) 10 );
@@ -108,7 +108,7 @@ public void testQueueReDeclareSemanticNonEquivalence() throws Exception {
108108 declareQueue (10 );
109109 try {
110110 declareQueue (10.0 );
111- fail ("Should not be able to re-declare with x-message-ttl argument of different type" );
111+ fail ("Should not be able to redeclare with x-message-ttl argument of different type" );
112112 } catch (IOException ex ) {
113113 checkShutdownSignal (AMQP .PRECONDITION_FAILED , ex );
114114 }
@@ -156,7 +156,7 @@ public void testTransactionalPublishWithGet() throws Exception {
156156 /*
157157 * Test expiry of re-queued messages
158158 */
159- public void testExpiryWithReQueue () throws Exception {
159+ public void testExpiryWithRequeue () throws Exception {
160160 declareAndBindQueue (100 );
161161
162162 publish (MSG [0 ]);
@@ -178,7 +178,7 @@ public void testExpiryWithReQueue() throws Exception {
178178 /*
179179 * Test expiry of re-queued messages after being consumed instantly
180180 */
181- public void testExpiryWithReQueueAfterConsume () throws Exception {
181+ public void testExpiryWithRequeueAfterConsume () throws Exception {
182182 declareAndBindQueue (100 );
183183 QueueingConsumer c = new QueueingConsumer (channel );
184184 channel .basicConsume (TTL_QUEUE_NAME , c );
@@ -190,7 +190,7 @@ public void testExpiryWithReQueueAfterConsume() throws Exception {
190190 Thread .sleep (150 );
191191 openChannel ();
192192
193- assertNull ("ReQueued message not expired" , get ());
193+ assertNull ("Requeued message not expired" , get ());
194194 }
195195
196196 public void testZeroTTLDelivery () throws Exception {
0 commit comments