Sha256: 2a2b667dee40256ee5c16f7c547cf7a3eff6dd35a6f83ee5aecc72f335117eec

Contents?: true

Size: 1.51 KB

Versions: 18

Compression:

Stored size: 1.51 KB

Contents

#import <Foundation/Foundation.h>
#import <XCTest/XCTest.h>
#import "SpectaTypes.h"

@class
  SPTExample
;

@interface SPTExampleGroup : NSObject

@property (nonatomic, copy) NSString *name;
@property (nonatomic, strong) SPTExampleGroup *root;
@property (nonatomic, strong) SPTExampleGroup *parent;
@property (nonatomic, strong) NSMutableArray *children;
@property (nonatomic, strong) NSMutableArray *beforeAllArray;
@property (nonatomic, strong) NSMutableArray *afterAllArray;
@property (nonatomic, strong) NSMutableArray *beforeEachArray;
@property (nonatomic, strong) NSMutableArray *afterEachArray;
@property (nonatomic, strong) NSMutableDictionary *sharedExamples;
@property (nonatomic) unsigned int exampleCount;
@property (nonatomic) unsigned int ranExampleCount;
@property (nonatomic, getter=isFocused) BOOL focused;

+ (void)setAsyncSpecTimeout:(NSTimeInterval)timeout;
- (id)initWithName:(NSString *)name parent:(SPTExampleGroup *)parent root:(SPTExampleGroup *)root;

- (SPTExampleGroup *)addExampleGroupWithName:(NSString *)name;
- (SPTExampleGroup *)addExampleGroupWithName:(NSString *)name  focused:(BOOL)focused;

- (SPTExample *)addExampleWithName:(NSString *)name block:(id)block;
- (SPTExample *)addExampleWithName:(NSString *)name block:(id)block focused:(BOOL)focused;

- (void)addBeforeAllBlock:(SPTVoidBlock)block;
- (void)addAfterAllBlock:(SPTVoidBlock)block;
- (void)addBeforeEachBlock:(SPTVoidBlock)block;
- (void)addAfterEachBlock:(SPTVoidBlock)block;

- (NSArray *)compileExamplesWithNameStack:(NSArray *)nameStack;

@end

Version data entries

18 entries across 6 versions & 1 rubygems

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