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

51 lines (37 sloc) 1.254 kb
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//
#import "KiwiConfiguration.h"
#import <SenTestingKit/SenTestingKit.h>
#import "KWBlock.h"
#import "KWExampleNodeVisitor.h"
#import "KWExpectationType.h"
#import "KWReporting.h"
#if KW_BLOCKS_ENABLED
@class KWCallSite;
@class KWContextNode;
@class KWMatcherFactory;
@protocol KWVerifying;
@interface KWSpec : SenTestCase<KWExampleNodeVisitor, KWReporting> {
@private
KWMatcherFactory *matcherFactory;
NSMutableArray *verifiers;
NSMutableArray *exampleNodeStack;
}
#pragma mark -
#pragma mark Configuring Spec Environments
- (void)configureEnvironment;
- (void)cleanupEnvironment;
#pragma mark -
#pragma mark Adding Verifiers
- (id)addVerifier:(id<KWVerifying>)aVerifier;
- (id)addExistVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite;
- (id)addMatchVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite;
- (id)addAsyncVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite;
#pragma mark -
#pragma mark Building Example Groups
- (void)buildExampleGroups;
@end
#endif // #if KW_BLOCKS_ENABLED
Jump to Line
Something went wrong with that request. Please try again.