[Mono-list] Nunit hangs when testing a class using the GTK

"Andrés G. Aragoneses" knocte at gmail.com
Wed Dec 24 10:10:18 EST 2008


Gtk.Init* calls firstly GType.Init () ;)

Glad you got it working.

	Andrés

Wolfgang Schulze-Zachau wrote:
> Thanks for the pointer, got me going in the right direction, much
> appreciated.
> However, the actual code that does the trick is this:
> 
> 		[TestFixtureSetUp()]
> 		public void SetUp() {
> 			string[] args = {};
> 			Gtk.Init.Check(ref args);
> 		}
> 
> (just in case anybody else is looking for this)
> cheers
> Wolfgang
> 
> 
> knocte-2 wrote:
>>
>> Call GType.Init () in a [TestFixtureSetup] method.
>>
>>
> 
> 



More information about the Mono-list mailing list