Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (18 sloc) 0.579 kb
#import "TestHelper.h"
@interface NSObject (MiscTest)
+ (NSArray *)senAllSubclasses;
@end
SpecBegin(_MiscTest)
describe(@"group", ^{
});
SpecEnd
@interface MiscTest : SenTestCase; @end
@implementation MiscTest
- (void)test_MiscTestSpecInSenTestCaseSubClassList {
expect([SenTestCase senAllSubclasses]).toContain([_MiscTestSpec class]);
}
- (void)testSPTSenTestCaseNotInSenTestCaseSubClassList {
// trick SenTestCase into thinking SPTSenTestCase is not a subclass of SenTestCase
expect([SenTestCase senAllSubclasses]).Not.toContain([SPTSenTestCase class]);
}
@end
Jump to Line
Something went wrong with that request. Please try again.