diff options
author | 2009-09-18 22:00:46 +0000 | |
---|---|---|
committer | 2009-09-18 22:00:46 +0000 | |
commit | c5d1cb4c430f0ed96355c5edf1265c57e7d5e562 (patch) | |
tree | 37902a1e248eed1d37634cb85a27852f31740030 /UnitTesting/GTMUnitTestingTest.m | |
parent | 43c0e6a428fedc988ddd7d71c7abbe983fa626fa (diff) |
[Author: dmaclach]
Makes GTMSenTestCase work better with abstract test classes in cases where
we want to tag a class as being an abstract test case even if it doesn't
have any subclasses.
R=thomasvl
DELTA=36 (0 added, 19 deleted, 17 changed)
Diffstat (limited to 'UnitTesting/GTMUnitTestingTest.m')
-rw-r--r-- | UnitTesting/GTMUnitTestingTest.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/UnitTesting/GTMUnitTestingTest.m b/UnitTesting/GTMUnitTestingTest.m index cd00b3e..23f3187 100644 --- a/UnitTesting/GTMUnitTestingTest.m +++ b/UnitTesting/GTMUnitTestingTest.m @@ -23,10 +23,10 @@ NSString *const kGTMWindowNibName = @"GTMUnitTestingTest"; NSString *const kGTMWindowSaveFileName = @"GTMUnitTestingWindow"; -@interface GTMAbstractUnitTestingTest : GTMTestCase +@interface GTMUnitTestingAbstractTest : GTMTestCase @end -@interface GTMUnitTestingTest : GTMAbstractUnitTestingTest { +@interface GTMUnitTestingTest : GTMUnitTestingAbstractTest { int expectedFailureCount_; } @end @@ -47,7 +47,7 @@ NSString *const kGTMWindowSaveFileName = @"GTMUnitTestingWindow"; @interface GTMUnitTestingProxyTest : NSProxy @end -@implementation GTMAbstractUnitTestingTest +@implementation GTMUnitTestingAbstractTest - (void)testAbstractUnitTest { static int testCount = 0; testCount += 1; |