summaryrefslogtreecommitdiffstats
path: root/macosx/HandBrake Tests/HBJobTests.m
blob: e12f3ef109f461eea9e0e8db9eed9c8be9fa086e (plain)
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
/*  HBJobTests.m $

 This file is part of the HandBrake source code.
 Homepage: <http://handbrake.fr/>.
 It may be used under the terms of the GNU General Public License. */

#import <Cocoa/Cocoa.h>
#import <XCTest/XCTest.h>

#import "HBJob.h"
#import "HBPresetsManager.h"
#import "HBPreset.h"

@interface HBJobTests : XCTestCase

@property (nonatomic, readonly) HBPresetsManager *manager;

@end

@implementation HBJobTests

- (void)setUp {
    [super setUp];

    _manager = [[HBPresetsManager alloc] init];
    [_manager generateBuiltInPresets];

    // Put setup code here. This method is called before the invocation of each test method in the class.
}

- (void)tearDown {
    // Put teardown code here. This method is called after the invocation of each test method in the class.
    [super tearDown];
}

- (void)testJobCreation {
    HBJob *job = [[HBJob alloc] init];

    XCTAssert(job, @"Pass");
}

@end