From f0860b4f9d859c03bfd873dfd9b5cb7a7f9997eb Mon Sep 17 00:00:00 2001 From: Pieter de Bie Date: Thu, 1 Oct 2009 21:06:09 +0200 Subject: [PATCH] Add testing framework --- GitX.xcodeproj/project.pbxproj | 157 +++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) diff --git a/GitX.xcodeproj/project.pbxproj b/GitX.xcodeproj/project.pbxproj index d091d92..8c9a057 100644 --- a/GitX.xcodeproj/project.pbxproj +++ b/GitX.xcodeproj/project.pbxproj @@ -65,6 +65,15 @@ F56524F00E02D45200F03B52 /* PBGitCommit.m in Sources */ = {isa = PBXBuildFile; fileRef = F56524EF0E02D45200F03B52 /* PBGitCommit.m */; }; F56526240E03D85900F03B52 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F56526230E03D85900F03B52 /* WebKit.framework */; }; F565262B0E03D89B00F03B52 /* PBWebHistoryController.m in Sources */ = {isa = PBXBuildFile; fileRef = F565262A0E03D89B00F03B52 /* PBWebHistoryController.m */; }; + F567CC64106E6BC80059BB9D /* PBGitRepository.m in Sources */ = {isa = PBXBuildFile; fileRef = F5945E160E02B0C200706420 /* PBGitRepository.m */; }; + F567CC65106E6BC90059BB9D /* PBGitBinary.m in Sources */ = {isa = PBXBuildFile; fileRef = F53C4DF60E97FC630022AD59 /* PBGitBinary.m */; }; + F567CC66106E6BC90059BB9D /* PBGitConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 93FCCBA80EA8AF450061B02B /* PBGitConfig.m */; }; + F567CC67106E6BD00059BB9D /* PBGitRepository.h in Headers */ = {isa = PBXBuildFile; fileRef = F5945E150E02B0C200706420 /* PBGitRepository.h */; }; + F567CC68106E6BD00059BB9D /* PBGitBinary.h in Headers */ = {isa = PBXBuildFile; fileRef = F53C4DF50E97FC630022AD59 /* PBGitBinary.h */; }; + F567CC69106E6BD00059BB9D /* PBGitConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = F5D2DC850EA401A80034AD24 /* PBGitConfig.h */; }; + F567CC7B106E6BF70059BB9D /* PBGitRef.h in Headers */ = {isa = PBXBuildFile; fileRef = F5C007730E731B48007B84B2 /* PBGitRef.h */; }; + F567CC7F106E6C470059BB9D /* libgit2.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F5C580E40EDA250900995434 /* libgit2.a */; }; + F567CC8E106E6FC40059BB9D /* PBEasyPipe.m in Sources */ = {isa = PBXBuildFile; fileRef = F57CC3900E05DDF2000472E2 /* PBEasyPipe.m */; }; F569AE930F2CBD7C00C2FFA7 /* Credits.html in Resources */ = {isa = PBXBuildFile; fileRef = F569AE920F2CBD7C00C2FFA7 /* Credits.html */; }; F56ADDD90ED19F9E002AC78F /* AddBranchTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = F56ADDD70ED19F9E002AC78F /* AddBranchTemplate.png */; }; F56ADDDA0ED19F9E002AC78F /* AddLabelTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = F56ADDD80ED19F9E002AC78F /* AddLabelTemplate.png */; }; @@ -104,6 +113,11 @@ F5C580E50EDA250900995434 /* libgit2.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F5C580E40EDA250900995434 /* libgit2.a */; }; F5C580F50EDA251100995434 /* libgit2.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F5C580E40EDA250900995434 /* libgit2.a */; }; F5C6F68D0E65FF9300478D97 /* PBGitLane.mm in Sources */ = {isa = PBXBuildFile; fileRef = F5C6F68C0E65FF9300478D97 /* PBGitLane.mm */; }; + F5D376B9107511C500AAAC80 /* PBGitIndex.m in Sources */ = {isa = PBXBuildFile; fileRef = F59F1DD4105C4FF300115F88 /* PBGitIndex.m */; }; + F5D376C91075134D00AAAC80 /* PBGitRevList.mm in Sources */ = {isa = PBXBuildFile; fileRef = F5FF4E170E0829C20006317A /* PBGitRevList.mm */; }; + F5D376CF1075139B00AAAC80 /* PBGitRef.m in Sources */ = {isa = PBXBuildFile; fileRef = F5C007740E731B48007B84B2 /* PBGitRef.m */; }; + F5D376D01075139B00AAAC80 /* PBGitRevSpecifier.m in Sources */ = {isa = PBXBuildFile; fileRef = F53FF2040E7ABB5300389171 /* PBGitRevSpecifier.m */; }; + F5D376E0107516A700AAAC80 /* PBChangedFile.m in Sources */ = {isa = PBXBuildFile; fileRef = F5E927F70E883E7200056E75 /* PBChangedFile.m */; }; F5DFFA6C0E075D8800617813 /* PBEasyFS.m in Sources */ = {isa = PBXBuildFile; fileRef = F5DFFA6B0E075D8800617813 /* PBEasyFS.m */; }; F5E424110EA3E4D60046E362 /* PBDiffWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = F5E424100EA3E4D60046E362 /* PBDiffWindow.xib */; }; F5E424150EA3E4E10046E362 /* PBDiffWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = F5E424130EA3E4E10046E362 /* PBDiffWindowController.m */; }; @@ -227,6 +241,8 @@ F56526230E03D85900F03B52 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = ""; }; F56526290E03D89B00F03B52 /* PBWebHistoryController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBWebHistoryController.h; sourceTree = ""; }; F565262A0E03D89B00F03B52 /* PBWebHistoryController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PBWebHistoryController.m; sourceTree = ""; }; + F567CC39106E6B910059BB9D /* GitXTesting.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GitXTesting.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F567CC3A106E6B910059BB9D /* GitXTesting-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "GitXTesting-Info.plist"; sourceTree = ""; }; F569AE920F2CBD7C00C2FFA7 /* Credits.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = Credits.html; sourceTree = ""; }; F56ADDD70ED19F9E002AC78F /* AddBranchTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = AddBranchTemplate.png; path = Images/AddBranchTemplate.png; sourceTree = ""; }; F56ADDD80ED19F9E002AC78F /* AddLabelTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = AddLabelTemplate.png; path = Images/AddLabelTemplate.png; sourceTree = ""; }; @@ -315,6 +331,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + F567CC37106E6B910059BB9D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + F567CC7F106E6C470059BB9D /* libgit2.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; F5886A0E0ED5D33D0066E74C /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -362,6 +386,7 @@ 8D1107320486CEB800E47090 /* GitX.app */, 913D5E490E55644600CECEA2 /* gitx */, F5886A100ED5D33D0066E74C /* SpeedTest.app */, + F567CC39106E6B910059BB9D /* GitXTesting.framework */, ); name = Products; sourceTree = ""; @@ -382,6 +407,7 @@ 29B97323FDCFA39411CA2CEA /* Frameworks */, 19C28FACFE9D520D11CA2CBB /* Products */, F5886A120ED5D33D0066E74C /* SpeedTest-Info.plist */, + F567CC3A106E6B910059BB9D /* GitXTesting-Info.plist */, ); name = GitTest; sourceTree = ""; @@ -653,6 +679,20 @@ }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + F567CC34106E6B910059BB9D /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + F567CC7B106E6BF70059BB9D /* PBGitRef.h in Headers */, + F567CC67106E6BD00059BB9D /* PBGitRepository.h in Headers */, + F567CC68106E6BD00059BB9D /* PBGitBinary.h in Headers */, + F567CC69106E6BD00059BB9D /* PBGitConfig.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ 8D1107260486CEB800E47090 /* GitX */ = { isa = PBXNativeTarget; @@ -693,6 +733,24 @@ productReference = 913D5E490E55644600CECEA2 /* gitx */; productType = "com.apple.product-type.tool"; }; + F567CC38106E6B910059BB9D /* GitXTesting */ = { + isa = PBXNativeTarget; + buildConfigurationList = F567CC3D106E6B920059BB9D /* Build configuration list for PBXNativeTarget "GitXTesting" */; + buildPhases = ( + F567CC34106E6B910059BB9D /* Headers */, + F567CC35106E6B910059BB9D /* Resources */, + F567CC36106E6B910059BB9D /* Sources */, + F567CC37106E6B910059BB9D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = GitXTesting; + productName = GitXTesting; + productReference = F567CC39106E6B910059BB9D /* GitXTesting.framework */; + productType = "com.apple.product-type.framework"; + }; F5886A0F0ED5D33D0066E74C /* SpeedTest */ = { isa = PBXNativeTarget; buildConfigurationList = F5886A150ED5D33E0066E74C /* Build configuration list for PBXNativeTarget "SpeedTest" */; @@ -726,6 +784,7 @@ 913D5E480E55644600CECEA2 /* cli tool */, F5886A0F0ED5D33D0066E74C /* SpeedTest */, F56439F70F792B2100A579C2 /* Generate PList Prefix */, + F567CC38106E6B910059BB9D /* GitXTesting */, ); }; /* End PBXProject section */ @@ -759,6 +818,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + F567CC35106E6B910059BB9D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; F5886A0C0ED5D33D0066E74C /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -881,6 +947,22 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + F567CC36106E6B910059BB9D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F567CC64106E6BC80059BB9D /* PBGitRepository.m in Sources */, + F567CC65106E6BC90059BB9D /* PBGitBinary.m in Sources */, + F5D376B9107511C500AAAC80 /* PBGitIndex.m in Sources */, + F567CC66106E6BC90059BB9D /* PBGitConfig.m in Sources */, + F5D376E0107516A700AAAC80 /* PBChangedFile.m in Sources */, + F5D376CF1075139B00AAAC80 /* PBGitRef.m in Sources */, + F5D376D01075139B00AAAC80 /* PBGitRevSpecifier.m in Sources */, + F5D376C91075134D00AAAC80 /* PBGitRevList.mm in Sources */, + F567CC8E106E6FC40059BB9D /* PBEasyPipe.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; F5886A0D0ED5D33D0066E74C /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -1107,6 +1189,72 @@ }; name = Release; }; + F567CC3B106E6B920059BB9D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; + HEADER_SEARCH_PATHS = libgit2/src; + INFOPLIST_FILE = "GitXTesting-Info.plist"; + INSTALL_PATH = "$(HOME)/Library/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/libgit2\"", + ); + OTHER_CFLAGS = "-DCLI"; + OTHER_LDFLAGS = ( + "-undefined", + dynamic_lookup, + "-framework", + Foundation, + "-framework", + AppKit, + ); + PREBINDING = NO; + PRODUCT_NAME = GitXTesting; + }; + name = Debug; + }; + F567CC3C106E6B920059BB9D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; + INFOPLIST_FILE = "GitXTesting-Info.plist"; + INSTALL_PATH = "$(HOME)/Library/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/libgit2\"", + ); + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PREBINDING = NO; + PRODUCT_NAME = GitXTesting; + ZERO_LINK = NO; + }; + name = Release; + }; F5886A130ED5D33E0066E74C /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1201,6 +1349,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + F567CC3D106E6B920059BB9D /* Build configuration list for PBXNativeTarget "GitXTesting" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F567CC3B106E6B920059BB9D /* Debug */, + F567CC3C106E6B920059BB9D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; F5886A150ED5D33E0066E74C /* Build configuration list for PBXNativeTarget "SpeedTest" */ = { isa = XCConfigurationList; buildConfigurations = (