pgstath / Sharp.Xmpp

Sharp.Xmpp is looking for a maintainer! Unfortunatelly I do not have currently the time needed to maintain the library. Luckily a small but vibrant community has evolved around Sharp.Xmpp. If you would like to be the project's maintainer please sent an email to pgstath@gmail.com. This should include issues, tickets and commits that you have done for Sharp.Xmpp or other similar project. Sharp.Xmpp is a multiplatform, Windows and Android, .NET XMPP client assembly.Sharp.Xmpp supports IM functionality & a variety of XMPP extensions, is simple and is extensively tested against Android Xamarin. It is a fork of the currently frozen excellent S22.Xmpp project. Sharp.Xmpp will be at the FOSSDEM 2016 Real time DevRoom!
Other
84 stars 51 forks source link

Add interfaces #27

Closed jpenny1993 closed 8 years ago

jpenny1993 commented 8 years ago

I added some interfaces to allow for the mocking of objects, I've only done classes that have caused mocking issues for testing so far. I will send more updates as I find them :smile:

New Files: IMessage.cs IRoster.cs IRosterItem.cs IFileTransferSettings.cs IXmppClient.cs IXmppIm.cs IFileTransfer.cs

Modified Files: FileTransfer.cs FileTransferAbortedEventArgs.cs FileTransferProgressEventArgs.cs FileTransferRequest.cs FileTransferSettings.cs Message.cs Roster.cs RosterItem.cs RosterUpdatedEventArgs.cs SIFileTransfer.cs XmppClient.cs XmppIm.cs

jpenny1993 commented 8 years ago

Other than IXmppClient.cs, None of these were actually necessary.