Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 45 lines (34 sloc) 1.316 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//

#import "KiwiConfiguration.h"
#import <SenTestingKit/SenTestingKit.h>
#import "KWExpectationType.h"
#import "KWReporting.h"

@class KWCallSite;
@class KWMatcherFactory;

@protocol KWVerifying;

// Deprecated. This is here just in case blocks are not enabled.
@interface KWTestCase : SenTestCase<KWReporting> {
@private
    KWMatcherFactory *matcherFactory;
    NSMutableArray *verifiers;
    NSMutableArray *failures;
}

#pragma mark -
#pragma mark Configuring Example Environments

- (void)setUpExampleEnvironment;
- (void)tearDownExampleEnvironment;

#pragma mark -
#pragma mark Marking Pending Examples

- (void)markPendingWithCallSite:(KWCallSite *)aCallSite;
- (void)markPendingWithCallSite:(KWCallSite *)aCallSite :(NSString *)aDescription;

#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 timeout:(NSInteger)timeout;

@end
Something went wrong with that request. Please try again.