1 |
//
|
|
2 |
// BranchesTests.m
|
|
3 |
// fixtures
|
|
4 |
//
|
|
5 |
// Created by Julian Krumow on 11.10.14.
|
|
6 |
// Copyright (c) 2014 marklarr. All rights reserved.
|
|
7 |
//
|
|
8 |
|
|
9 |
#import <XCTest/XCTest.h>
|
|
10 |
#import "Branches.h"
|
|
11 |
|
|
12 |
@interface BranchesTests : XCTestCase
|
|
13 |
|
|
14 |
@end
|
|
15 |
|
|
16 |
@implementation BranchesTests
|
|
17 |
|
|
18 |
- (void)setUp {
|
|
19 |
[super setUp];
|
2x |
20 |
// Put setup code here. This method is called before the invocation of each test method in the class.
|
|
21 |
}
|
2x |
22 |
|
|
23 |
- (void)tearDown {
|
|
24 |
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
|
25 |
[super tearDown];
|
2x |
26 |
}
|
2x |
27 |
|
|
28 |
- (void)testBranchesNoBranches {
|
|
29 |
Branches *branches = [[Branches alloc] init];
|
1x |
30 |
[branches branches:NO skipBranches:NO];
|
1x |
31 |
}
|
1x |
32 |
|
|
33 |
- (void)testBranchesFirstBranchAndSkip {
|
|
34 |
Branches *branches = [[Branches alloc] init];
|
1x |
35 |
[branches branches:YES skipBranches:YES];
|
1x |
36 |
}
|
1x |
37 |
|
|
38 |
@end
|
|