• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OCUnit test failure - assert formatted text not presented
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: OCUnit test failure - assert formatted text not presented
      • From: Kai <email@hidden>
    • Re: OCUnit test failure - assert formatted text not presented
      • From: Jeremy Pereira <email@hidden>
  • Prev by Date: Re: [ot] Codewarrior anyone?
  • Next by Date: Re: OCUnit test failure - assert formatted text not presented
  • Previous by thread: Re: Is anyone familiar with NSStringrangeOfCharacterFromSet:options
  • Next by thread: Re: OCUnit test failure - assert formatted text not presented
  • Index(es):
    • Date
    • Thread