Hi!

 I wrote custom actions with dtf (c#) that do some rather complicated xml 
manipulations/merges during installation (linq is great for that :) ).
 Next step would be to write unit tests for the ca's, but I'm kind of stuck 
there ...

 The ca's are split in immedeate and deferred parts and include database 
querries, properties, logging, passing CustomActionData etc.
 To run these from Nunit my plan was to write little mockups for the Session 
and CustomActionData classes.

 But how to make the ca's accept my mockups?
 There are (as far as I saw) no simple ISession and ICustomActionData 
interfaces to use. Inheriting from Session and CAD and overwriting their 
methods doesn't work either, because these are marked as sealed.

 I don't have much experience in unit tests with mockups, so perhaps I'm just 
going in the wrong direction, any hints appreciated!

 Thanks,
 dbenzhuser
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to