Re: OCUnit test failure - assert formatted text not presented
Re: OCUnit test failure - assert formatted text not presented
- Subject: Re: OCUnit test failure - assert formatted text not presented
- From: Kai <email@hidden>
- Date: Fri, 23 Jan 2009 13:30:33 +0100
Last time I had this kind of problem, a Framework was missing. Took me
a little while to find that.
In general, likely something is going wrong before you even hit your
first test.
Good hunting
Kai
On 22.1.2009, at 14:27, email@hidden wrote:
I do not seem to be seeing the formatted about of my OCUnit STxxx
macros.
My OCUnit test failures produce only the following output:
Error:Failed test for achitecture 'i386' (GC ON)
Clicking on this take me to the location within
RunPlaformUnitTest.inlcude where this note is called.
And that seems to be it. So I cannot see which actual test has failed.
A typical test method looks like this
- (void)testCreateEmptyDocument
{
NSDocumentController *controller = [NSDocumentController
sharedDocumentController];
NSError *error = nil;
// create document
MGSDocument *quitterDocument = [controller
openUntitledDocumentAndDisplay:NO error:&error];
(void *)Document;
if (!error) {
STFail(@"failed to create document: &", [error
localizedDescription]);
}
}
Anyone encountered this before? Or am I being dumb?
Jonathan Mitchell
Central Conscious Unit
http://www.mugginsoft.com
Jonathan Mitchell
Central Conscious Unit
http://www.mugginsoft.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden