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

42 lines (29 sloc) 0.749 kb
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "KWReporting.h"
@class KWFailure;
@interface TestReporter : NSObject<KWReporting> {
@private
BOOL hasUnmetExpectations;
NSMutableArray *failures;
}
#pragma mark -
#pragma mark Initializing
+ (id)testReporter;
#pragma mark -
#pragma mark Properties
@property (nonatomic, readonly) BOOL hasUnmetExpectations;
@property (nonatomic, readonly) NSArray* failures;
#pragma mark -
#pragma mark Reporting Failures
- (void)reportFailure:(KWFailure *)aFailure;
#pragma mark -
#pragma mark Getting Failure Information
- (BOOL)hasNoFailure;
- (BOOL)hasOneFailure;
- (KWFailure *)onlyFailure;
@end
Jump to Line
Something went wrong with that request. Please try again.