• 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
SenTestingKit: Doing an STAssert...() from outside a SenTestCase subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SenTestingKit: Doing an STAssert...() from outside a SenTestCase subclass


  • Subject: SenTestingKit: Doing an STAssert...() from outside a SenTestCase subclass
  • From: Ruotger Skupin <email@hidden>
  • Date: Wed, 15 Feb 2006 12:03:01 +0100

Hi,

the macros STFail() and STAssert...() all map to [self failWithException:] which is obviously a method from SenTestCase which means they can't be used in a class which is not a subclass of SenTestCase.

Has someone found an *easy* way to use them outside a subclass of SenTestCase?

regards
	Ruotger Skupin

---
"Less code is better code" - Wil Shipley

Ruotger Skupin, Mac OS X Software Engineering

ilink Kommunikationssysteme GmbH
Münzstr. 13; 10178 Berlin - Germany



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: SenTestingKit: Doing an STAssert...() from outside a SenTestCase subclass [solved]
      • From: Ruotger Skupin <email@hidden>
  • Prev by Date: [MODERATOR] list civility -- was (Re: Other Cocoa resources (was Re: why does this leak?))
  • Next by Date: Authorization Plug-in with GUI
  • Previous by thread: Help in diplaying line width
  • Next by thread: Re: SenTestingKit: Doing an STAssert...() from outside a SenTestCase subclass [solved]
  • Index(es):
    • Date
    • Thread