XcodePerforcePluginUT.m #1

  • //
  • guest/
  • jaime_rios/
  • XcodePerforcePlugin/
  • XcodePerforcePluginUT/
  • XcodePerforcePluginUT.m
  • View
  • Commits
  • Open Download .zip Download (1 KB)
//
//  XcodePerforcePluginUT.m
//  XcodePerforcePluginUT
//
//  Created by Jaime Rios on 2015-02-11.
//  Copyright (c) 2015 Nikon Inc. All rights reserved.
//

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

#import "P4Functionality.h"

@interface XcodePerforcePluginUT : XCTestCase

@end

@implementation XcodePerforcePluginUT

- (void)setUp
{
    [super setUp];
    // 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)testExample
{
    // This is an example of a functional test case.
    P4Functionality* functionality = [[P4Functionality alloc] init];
    NSString* response = [functionality p4Info];
    XCTAssert(YES, @"Pass");
}

- (void)testPerformanceExample
{
    // This is an example of a performance test case.
    [self measureBlock:^{
        // Put the code you want to measure the time of here.
    }];
}

@end
# Change User Description Committed
#2 16654 Jaime Rios Added unit test file to exercise Swift code; turned on code coverage for maybe obvious reasons; grouped docs into Docs group within Xcode project; rearranged files within project.
#1 11714 Jaime Rios Added unit tests; fixed bugs found during testing; added Jon Reid's XcodeCoverage files http://qualitycoding.org/xcode-code-coverage/ modified project to produce code coverage reports.