Sha256: f1a5429e67a0f04b8b1c4a6adcb4a05a9b8713b697c435123495794d3ff2b34a

Contents?: true

Size: 1.08 KB

Versions: 18

Compression:

Stored size: 1.08 KB

Contents

#import <XCTest/XCTest.h>

@interface SPTReporter : XCTestLog

/*
 * Returns a singleton reporter used to generate Specta's test output.
 * The type of reporter can be customized by subclassing and setting the
 * SPECTA_REPORTER_CLASS environment variable.
 *
 * Subclasses may override methods from XCTestObserver to change test output.
 * Initialization shuld be performed in the -startObserving / -stopObserving methods,
 * and MUST invoke the super class implementation.
 */
+ (instancetype)sharedReporter;

#pragma mark - Run Stack

@property (nonatomic, strong, readonly) NSArray *runStack;
@property (nonatomic, assign, readonly) NSUInteger runStackCount;

@property (nonatomic, assign, readonly) NSInteger numberOfTestCases;
@property (nonatomic, assign, readonly) NSInteger numberOfCompletedTestCases;

#pragma mark - Printing

- (void)printString:(NSString *)string;
- (void)printStringWithFormat:(NSString *)formatString, ... NS_FORMAT_FUNCTION(1,2);

- (void)printLine;
- (void)printLine:(NSString *)line;
- (void)printLineWithFormat:(NSString *)formatString, ... NS_FORMAT_FUNCTION(1,2);

@end

Version data entries

18 entries across 6 versions & 1 rubygems

Version Path
second_curtain-0.6.0 Demo/Pods/Specta/src/SPTReporter.h
second_curtain-0.6.0 Demo/Pods/Headers/Specta/SPTReporter.h
second_curtain-0.6.0 Demo/Pods/BuildHeaders/Specta/SPTReporter.h
second_curtain-0.5.0 Demo/Pods/BuildHeaders/Specta/SPTReporter.h
second_curtain-0.5.0 Demo/Pods/Specta/src/SPTReporter.h
second_curtain-0.5.0 Demo/Pods/Headers/Specta/SPTReporter.h
second_curtain-0.4.0 Demo/Pods/BuildHeaders/Specta/SPTReporter.h
second_curtain-0.4.0 Demo/Pods/Headers/Specta/SPTReporter.h
second_curtain-0.4.0 Demo/Pods/Specta/src/SPTReporter.h
second_curtain-0.3.0 Demo/Pods/BuildHeaders/Specta/SPTReporter.h
second_curtain-0.3.0 Demo/Pods/Specta/src/SPTReporter.h
second_curtain-0.3.0 Demo/Pods/Headers/Specta/SPTReporter.h
second_curtain-0.2.4 Demo/Pods/Specta/src/SPTReporter.h
second_curtain-0.2.4 Demo/Pods/Headers/Specta/SPTReporter.h
second_curtain-0.2.4 Demo/Pods/BuildHeaders/Specta/SPTReporter.h
second_curtain-0.2.3 Demo/Pods/Specta/src/SPTReporter.h
second_curtain-0.2.3 Demo/Pods/BuildHeaders/Specta/SPTReporter.h
second_curtain-0.2.3 Demo/Pods/Headers/Specta/SPTReporter.h