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

The lack of interfaces makes things hard to mock for testing purposes #26

Closed jpenny1993 closed 8 years ago

jpenny1993 commented 8 years ago

Please can you add Interfaces to the the solution, and/or also change the constructors of objects from internal to public.

One particular example is where I'm trying to simulate an incoming FileTransferRequest but I can't invoke the callback because FileTransfer only has an internal constructor and I therefore can't build one.

The same goes for the SubscriptionRequest callback as well.

Thank you

jpenny1993 commented 8 years ago

Accidentally closed, working on a pull request.