Re: Running an NSApplication from a test case

2014-03-05 Thread jonat...@mugginsoft.com
On 4 Mar 2014, at 21:27, Daniel Luis dos Santos wrote: > Hello all, > > I have a test case where I would like to launch a UI. I have a NIB with a > window that I load through code in the test case. Here goes the code : > > - (void)testExample > { > NSArray* topLevelWidgets = nil; > > NSB

Running an NSApplication from a test case

2014-03-04 Thread Daniel Luis dos Santos
Hello all, I have a test case where I would like to launch a UI. I have a NIB with a window that I load through code in the test case. Here goes the code : - (void)testExample { NSArray* topLevelWidgets = nil; NSBundle* theBundle = [NSBundle bundleForClass:[self class]]; [NSAppl