Re: CPlusTest in Xcode 2.3
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