Try using this attribute on your test fixture:

    [TestFixture(ApartmentState = ApartmentState.STA)]

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of leifw
Sent: Tuesday, May 29, 2007 9:49 AM
To: MbUnit.User
Subject: MbUnit Problem testing .NET component which wraps MSHTML
ActiveX control


We bought a third party .NET component (http://
www.netrixcomponent.net/) which wraps the MSHTML COM object.  When we
attempt to create an instance of this component in an MbUnit test, the
test hangs waiting for the component to initialize MSHTML.

Do you have any idea how we could work around this problem?  The test
works correctly in the NUnit test runner.

Thanks,

Leif Wickland




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to