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

30 lines (25 sloc) 0.711 kb
//
// KWExampleSuite.h
// Kiwi
//
// Created by Luke Redpath on 17/10/2011.
// Copyright (c) 2011 Allen Ding. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "KWExampleNodeVisitor.h"
@class KWContextNode;
@class KWExample;
@class SenTestCase;
@interface KWExampleSuite : NSObject <KWExampleNodeVisitor> {
KWContextNode *rootNode;
NSMutableArray *examples;
}
- (id)initWithRootNode:(KWContextNode *)contextNode;
- (void)addExample:(KWExample *)example;
- (void)markLastExampleAsLastInContext:(KWContextNode *)context;
- (NSArray *)invocationsForTestCase;
@end
@interface NSInvocation (KWExampleGroup)
- (void)kw_setExample:(KWExample *)exampleGroup;
- (KWExample *)kw_example;
@end
Jump to Line
Something went wrong with that request. Please try again.