forked from kif-framework/KIF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestRobot.m
46 lines (32 loc) · 803 Bytes
/
TestRobot.m
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
46
//
// TestRobot.m
// Calculator
//
// Created by Justin Martin on 9/18/17.
// Copyright © 2017 SSK Development. All rights reserved.
//
@import KIF;
#import "TestRobot.h"
@interface TestRobot ()
@property (nonatomic, readwrite, weak) KIFTestCase *testCase;
@end
@implementation TestRobot
- (instancetype)initWithTestCase:(KIFTestCase *)testCase;
{
self = [super init];
if (!self) {
return nil;
}
_testCase = testCase;
return self;
}
#pragma mark - KIFTestActorDelegate
- (void)failWithException:(NSException *)exception stopTest:(BOOL)stop;
{
[self.testCase failWithException:exception stopTest:stop];
}
- (void)failWithExceptions:(NSArray *)exceptions stopTest:(BOOL)stop;
{
[self.testCase failWithExceptions:exceptions stopTest:stop];
}
@end