From: Jeff M. <je...@cu...> - 2003-05-07 11:28:30
|
Try this http://www.mockobjects.com/javadoc/1.3/alt/java/net/SocketFactory.html On Wed, 2003-05-07 at 12:08, Jim Birchfield wrote: > Can some one provide a breif description of how to use the MockSocket > class? I have a server application that spawns off client threads as > clients connect. I want to do some functional testing to make sure I am > reading/writing over the socket appropriately. However, the MockSocket > implements alt.java.net.Socket, so simply creating one and attempting to > pass it to the coinstructor of my object does not work. > > Any ideas on how to do this? > > Thanks! > > Birch > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Mockobjects-java-users mailing list > Moc...@li... > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-users -- Jeff Martin <je...@cu...> |