OCUnit test failure - assert formatted text not presented
OCUnit test failure - assert formatted text not presented
- Subject: OCUnit test failure - assert formatted text not presented
- From: "email@hidden" <email@hidden>
- Date: Thu, 22 Jan 2009 13:27:25 +0000
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