From 4140eee6062de3377195957ea81523f4a05f654b Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Sun, 16 Mar 2014 13:15:04 +0100 Subject: [PATCH] More work on the queue. --- MP42Tests/MP42Tests.m | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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