diff --git a/MP42Tests/MP42Tests.m b/MP42Tests/MP42Tests.m index c8708bb..41f450f 100644 --- a/MP42Tests/MP42Tests.m +++ b/MP42Tests/MP42Tests.m @@ -7,9 +7,12 @@ // #import +#import "MP42File.h" @interface MP42Tests : XCTestCase +@property (retain) MP42File *mp4; + @end @implementation MP42Tests @@ -17,18 +20,18 @@ - (void)setUp { [super setUp]; - // Put setup code here. This method is called before the invocation of each test method in the class. + self.mp4 = [[[MP42File alloc] init] autorelease]; } - (void)tearDown { - // Put teardown code here. This method is called after the invocation of each test method in the class. + self.mp4 = nil; [super tearDown]; } -- (void)testExample +- (void)testCreation { - XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); + XCTAssertNotNil(self.mp4, @"MP4File is nil"); } @end