Skip to content

Instantly share code, notes, and snippets.

@codecov-io
Created September 1, 2015 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecov-io/d2ecb47f0608b3411805 to your computer and use it in GitHub Desktop.
Save codecov-io/d2ecb47f0608b3411805 to your computer and use it in GitHub Desktop.
Example output issue for file names not linning up
.travis.yml
Example/AppDelegate.h
Example/AppDelegate.m
Example/Base.lproj/LaunchScreen.xib
Example/Base.lproj/Main.storyboard
Example/Images.xcassets/AppIcon.appiconset/Contents.json
Example/Info.plist
Example/MyAwesomeClass.h
Example/MyAwesomeClass.m
Example/main.m
README.md
example.xcodeproj/project.pbxproj
example.xcodeproj/project.xcworkspace/contents.xcworkspacedata
example.xcodeproj/project.xcworkspace/xcshareddata/example.xccheckout
example.xcodeproj/project.xcworkspace/xcuserdata/ryancopley.xcuserdatad/UserInterfaceState.xcuserstate
example.xcodeproj/xcshareddata/xcschemes/exampleTests.xcscheme
example.xcodeproj/xcuserdata/ryancopley.xcuserdatad/xcschemes/example.xcscheme
example.xcodeproj/xcuserdata/ryancopley.xcuserdatad/xcschemes/xcschememanagement.plist
exampleTests/Info.plist
exampleTests/exampleTests.m
<<<<<< network
# path=./AppDelegate.h.gcov
-: 0:Source:/Users/travis/build/codecov/example-xcode/example/AppDelegate.h
-: 0:Graph:/Users/travis/Library/Developer/Xcode/DerivedData/example-bipsuomljolpaxeoozjqtvecdgyn/Build/Intermediates/example.build/Debug-iphonesimulator/example.build/Objects-normal/i386/AppDelegate.gcno
-: 0:Data:/Users/travis/Library/Developer/Xcode/DerivedData/example-bipsuomljolpaxeoozjqtvecdgyn/Build/Intermediates/example.build/Debug-iphonesimulator/example.build/Objects-normal/i386/AppDelegate.gcda
-: 0:Runs:1
-: 0:Programs:1
-: 1://
-: 2:// AppDelegate.h
-: 3:// example
-: 4://
-: 5:// Created by Ryan Copley on 5/15/15.
-: 6:// Copyright (c) 2015 Codecov. All rights reserved.
-: 7://
-: 8:
-: 9:#import <UIKit/UIKit.h>
-: 10:
-: 11:@interface AppDelegate : UIResponder <UIApplicationDelegate>
-: 12:
4: 13:@property (strong, nonatomic) UIWindow *window;
-: 14:
-: 15:
-: 16:@end
-: 17:
<<<<<< EOF
# path=./AppDelegate.m.gcov
-: 0:Source:/Users/travis/build/codecov/example-xcode/example/AppDelegate.m
-: 0:Graph:/Users/travis/Library/Developer/Xcode/DerivedData/example-bipsuomljolpaxeoozjqtvecdgyn/Build/Intermediates/example.build/Debug-iphonesimulator/example.build/Objects-normal/i386/AppDelegate.gcno
-: 0:Data:/Users/travis/Library/Developer/Xcode/DerivedData/example-bipsuomljolpaxeoozjqtvecdgyn/Build/Intermediates/example.build/Debug-iphonesimulator/example.build/Objects-normal/i386/AppDelegate.gcda
-: 0:Runs:1
-: 0:Programs:1
-: 1://
-: 2:// AppDelegate.m
-: 3:// example
-: 4://
-: 5:// Created by Ryan Copley on 5/15/15.
-: 6:// Copyright (c) 2015 Codecov. All rights reserved.
-: 7://
-: 8:
-: 9:#import "AppDelegate.h"
-: 10:
-: 11:@interface AppDelegate ()
-: 12:
-: 13:@end
-: 14:
#####: 15:@implementation AppDelegate
-: 16:
-: 17:
1: 18:- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
-: 19: // Override point for customization after application launch.
1: 20: return YES;
1: 21:}
-: 22:
#####: 23:- (void)applicationWillResignActive:(UIApplication *)application {
-: 24: // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
-: 25: // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
#####: 26:}
-: 27:
#####: 28:- (void)applicationDidEnterBackground:(UIApplication *)application {
-: 29: // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
-: 30: // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
#####: 31:}
-: 32:
#####: 33:- (void)applicationWillEnterForeground:(UIApplication *)application {
-: 34: // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
#####: 35:}
-: 36:
#####: 37:- (void)applicationDidBecomeActive:(UIApplication *)application {
-: 38: // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
#####: 39:}
-: 40:
#####: 41:- (void)applicationWillTerminate:(UIApplication *)application {
-: 42: // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
#####: 43:}
-: 44:
-: 45:@end
<<<<<< EOF
# path=./exampleTests.m.gcov
-: 0:Source:/Users/travis/build/codecov/example-xcode/exampleTests/exampleTests.m
-: 0:Graph:/Users/travis/Library/Developer/Xcode/DerivedData/example-bipsuomljolpaxeoozjqtvecdgyn/Build/Intermediates/example.build/Debug-iphonesimulator/exampleTests.build/Objects-normal/i386/exampleTests.gcno
-: 0:Data:/Users/travis/Library/Developer/Xcode/DerivedData/example-bipsuomljolpaxeoozjqtvecdgyn/Build/Intermediates/example.build/Debug-iphonesimulator/exampleTests.build/Objects-normal/i386/exampleTests.gcda
-: 0:Runs:2
-: 0:Programs:1
-: 1://
-: 2:// exampleTests.m
-: 3:// exampleTests
-: 4://
-: 5:// Created by Ryan Copley on 5/15/15.
-: 6:// Copyright (c) 2015 Codecov. All rights reserved.
-: 7://
-: 8:
-: 9:#import <UIKit/UIKit.h>
-: 10:#import <XCTest/XCTest.h>
-: 11:#import "MyAwesomeClass.h"
-: 12:
-: 13:@interface exampleTests : XCTestCase
-: 14:
-: 15:@end
-: 16:
-: 17:@implementation exampleTests
-: 18:
-: 19:- (void)testExample {
3: 20: XCTAssert([MyAwesomeClass myAwesomeMethod:YES] == 1, @"Pass");
1: 21:}
-: 22:
-: 23:
-: 24:@end
<<<<<< EOF
# path=./main.m.gcov
-: 0:Source:/Users/travis/build/codecov/example-xcode/example/main.m
-: 0:Graph:/Users/travis/Library/Developer/Xcode/DerivedData/example-bipsuomljolpaxeoozjqtvecdgyn/Build/Intermediates/example.build/Debug-iphonesimulator/example.build/Objects-normal/i386/main.gcno
-: 0:Data:/Users/travis/Library/Developer/Xcode/DerivedData/example-bipsuomljolpaxeoozjqtvecdgyn/Build/Intermediates/example.build/Debug-iphonesimulator/example.build/Objects-normal/i386/main.gcda
-: 0:Runs:1
-: 0:Programs:1
-: 1://
-: 2:// main.m
-: 3:// example
-: 4://
-: 5:// Created by Ryan Copley on 5/15/15.
-: 6:// Copyright (c) 2015 Codecov. All rights reserved.
-: 7://
-: 8:
-: 9:#import <UIKit/UIKit.h>
-: 10:#import "AppDelegate.h"
-: 11:
1: 12:int main(int argc, char * argv[]) {
1: 13: @autoreleasepool {
1: 14: return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
1: 15: }
1: 16:}
<<<<<< EOF
# path=./MyAwesomeClass.m.gcov
-: 0:Source:/Users/travis/build/codecov/example-xcode/example/MyAwesomeClass.m
-: 0:Graph:/Users/travis/Library/Developer/Xcode/DerivedData/example-bipsuomljolpaxeoozjqtvecdgyn/Build/Intermediates/example.build/Debug-iphonesimulator/example.build/Objects-normal/i386/MyAwesomeClass.gcno
-: 0:Data:/Users/travis/Library/Developer/Xcode/DerivedData/example-bipsuomljolpaxeoozjqtvecdgyn/Build/Intermediates/example.build/Debug-iphonesimulator/example.build/Objects-normal/i386/MyAwesomeClass.gcda
-: 0:Runs:1
-: 0:Programs:1
-: 1://
-: 2:// MyAwesomeClass.m
-: 3:// example
-: 4://
-: 5:// Created by Ryan Copley on 5/15/15.
-: 6:// Copyright (c) 2015 Codecov. All rights reserved.
-: 7://
-: 8:
-: 9:#import "MyAwesomeClass.h"
-: 10:
-: 11:@implementation MyAwesomeClass
-: 12:
1: 13:+(int)myAwesomeMethod:(BOOL)coverAll {
1: 14: int i = 0;
1: 15: i++;
1: 16: if (!coverAll){
#####: 17: i++;
#####: 18: }
1: 19: return i;
-: 20:}
-: 21:
-: 22:
-: 23:@end
<<<<<< EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment