• 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
Re: CPlusTest in Xcode 2.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CPlusTest in Xcode 2.3


  • Subject: Re: CPlusTest in Xcode 2.3
  • From: Aaron Montgomery <email@hidden>
  • Date: Tue, 23 May 2006 21:18:32 -0700


On May 23, 2006, at 9:06 PM, Chris Hanson wrote:

In your TestCase subclasses, are you overriding setUp() and tearDown () to handle creating and destroying the state of your tests? Or are you doing it in the constructor and destructor of your test case subclasses?

No, there is no state created, the constructor and destructor are completely empty. The test method is a single line:


void UT_superadd::Test(void)
{
	CPTAssert(superadd(1,1) == 1 + 1);
}

This is just supposed to be a little tiny example to be used in a tutorial, so there isn't anything fancy going on with memory or resources.

If the above doesn't clear up your issue, please file a bug at <http://bugreport.apple.com/>.

I'll try to do that tonight.

Thanks,
Aaron
_______________________________________________
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


References: 
 >Re: CPlusTest in Xcode 2.3 (From: Aaron Montgomery <email@hidden>)
 >Re: CPlusTest in Xcode 2.3 (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: XCode 2.3 - Java Indexing taking way more than 1 hour
  • Next by Date: When to use Stabs or DWARF?
  • Previous by thread: Re: CPlusTest in Xcode 2.3
  • Next by thread: copying command line executables into a framework
  • Index(es):
    • Date
    • Thread