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

Wolfgang Schulze-Zachau wolfgangs at manticoreit.com
Tue Dec 23 20:19:26 EST 2008


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.
> 
> 


-- 
View this message in context: http://www.nabble.com/Nunit-hangs-when-testing-a-class-using-the-GTK-tp21151720p21153943.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list