[Openbus-cvs-commits] Openbus/OpenbusJBI/src/test/org/openbus/jbi/messaging DeliveryChannelImplTest.
Status: Alpha
Brought to you by:
esancho
From: Diego E. <er...@us...> - 2005-07-19 03:07:34
|
Update of /cvsroot/openbus/Openbus/OpenbusJBI/src/test/org/openbus/jbi/messaging In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21221/src/test/org/openbus/jbi/messaging Modified Files: DeliveryChannelImplTest.java NormalizedMessageImplTest.java Log Message: fixed problems with the reference implementation interfaces Index: NormalizedMessageImplTest.java =================================================================== RCS file: /cvsroot/openbus/Openbus/OpenbusJBI/src/test/org/openbus/jbi/messaging/NormalizedMessageImplTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NormalizedMessageImplTest.java 21 Jun 2005 00:17:48 -0000 1.1 --- NormalizedMessageImplTest.java 19 Jul 2005 03:06:55 -0000 1.2 *************** *** 78,86 **** assertEquals("content", TEST_STRING, baos.toString()); - Iterator attIt = nm.listAttachments(); - assertTrue(attIt.hasNext()); - assertEquals(dh, attIt.next()); - assertFalse(attIt.hasNext()); - nm.removeAttachment(ATTACHMENT_NAME + "2"); assertEquals(1, nm.getAttachmentNames().size()); --- 78,81 ---- *************** *** 101,105 **** protected void analyzeProperties(NormalizedMessage nm) throws Exception { Set names = new HashSet(); ! for (Iterator it = msg.getPropertyNames(); it.hasNext();) { names.add(it.next()); } --- 96,100 ---- protected void analyzeProperties(NormalizedMessage nm) throws Exception { Set names = new HashSet(); ! for (Iterator it = msg.getPropertyNames().iterator(); it.hasNext();) { names.add(it.next()); } Index: DeliveryChannelImplTest.java =================================================================== RCS file: /cvsroot/openbus/Openbus/OpenbusJBI/src/test/org/openbus/jbi/messaging/DeliveryChannelImplTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DeliveryChannelImplTest.java 28 Jun 2005 22:54:43 -0000 1.2 --- DeliveryChannelImplTest.java 19 Jul 2005 03:06:55 -0000 1.3 *************** *** 148,157 **** } try { ! deliveryChannel.sendSynch(me); fail("Channel is closed"); } catch (MessagingException e) { } try { ! deliveryChannel.sendSynch(me, 1000); fail("Channel is closed"); } catch (MessagingException e) { --- 148,157 ---- } try { ! deliveryChannel.sendSync(me); fail("Channel is closed"); } catch (MessagingException e) { } try { ! deliveryChannel.sendSync(me, 1000); fail("Channel is closed"); } catch (MessagingException e) { |