[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-06-28 22:54:57
|
Update of /cvsroot/openbus/Openbus/OpenbusJBI/src/test/org/openbus/jbi/messaging In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23489/src/test/org/openbus/jbi/messaging Modified Files: DeliveryChannelImplTest.java SpecificationExamplesTest.java Log Message: hivemind refactoring Index: SpecificationExamplesTest.java =================================================================== RCS file: /cvsroot/openbus/Openbus/OpenbusJBI/src/test/org/openbus/jbi/messaging/SpecificationExamplesTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SpecificationExamplesTest.java 27 Jun 2005 03:11:56 -0000 1.2 --- SpecificationExamplesTest.java 28 Jun 2005 22:54:43 -0000 1.3 *************** *** 5,8 **** --- 5,9 ---- import junit.framework.TestCase; + import org.openbus.commons.ServiceLocator; import org.openbus.jbi.messaging.admin.JoramJMSAdmin; import org.openbus.jbi.messaging.examples.ComponentLauncher; *************** *** 29,33 **** assertTrue(serverDir.mkdir()); ! nmr = new NMRServiceImpl(); nmr.getJMSAdmin().setProperty(JoramJMSAdmin.ROOT_DIR_PROP, serverDir.getAbsolutePath()); --- 30,34 ---- assertTrue(serverDir.mkdir()); ! nmr = (NMRService) ServiceLocator.getService(NMRService.class); nmr.getJMSAdmin().setProperty(JoramJMSAdmin.ROOT_DIR_PROP, serverDir.getAbsolutePath()); Index: DeliveryChannelImplTest.java =================================================================== RCS file: /cvsroot/openbus/Openbus/OpenbusJBI/src/test/org/openbus/jbi/messaging/DeliveryChannelImplTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DeliveryChannelImplTest.java 27 Jun 2005 03:11:56 -0000 1.1 --- DeliveryChannelImplTest.java 28 Jun 2005 22:54:43 -0000 1.2 *************** *** 24,28 **** deliveryChannel = new DeliveryChannelImpl("testComponent"); mockNMR = new Mock(NMRService.class); ! deliveryChannel.setNmr((NMRService) mockNMR.proxy()); } --- 24,28 ---- deliveryChannel = new DeliveryChannelImpl("testComponent"); mockNMR = new Mock(NMRService.class); ! deliveryChannel.setNMRService((NMRService) mockNMR.proxy()); } |