From c59c7541a9d35216ffd5fe7dcb5e5348c91598fd Mon Sep 17 00:00:00 2001 From: Christopher Frederick Date: Thu, 18 Apr 2013 06:46:13 +0900 Subject: [PATCH 1/5] Add .gitignore for Xcode projects --- xcode_projects/.gitignore | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 xcode_projects/.gitignore diff --git a/xcode_projects/.gitignore b/xcode_projects/.gitignore new file mode 100644 index 0000000..aa64f28 --- /dev/null +++ b/xcode_projects/.gitignore @@ -0,0 +1,10 @@ +####################################### +# Temporary OS X files + +.DS_Store + +####################################### +# Personal XCode 4 settings + +xcuserdata +*.xcuserstate From 9c58d1b9253fd5f91a18b3a1746f392dfe0f94ee Mon Sep 17 00:00:00 2001 From: Christopher Frederick Date: Thu, 18 Apr 2013 11:09:12 +0900 Subject: [PATCH 2/5] Add a new Xcode 4.6 project --- .../UnitTest++.xcodeproj/project.pbxproj | 202 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + 2 files changed, 209 insertions(+) create mode 100644 xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj create mode 100644 xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj b/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj new file mode 100644 index 0000000..1075828 --- /dev/null +++ b/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj @@ -0,0 +1,202 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXFileReference section */ + 8347D76F171F8D1C00FE3FC1 /* libUnitTest++.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libUnitTest++.a"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8347D76C171F8D1C00FE3FC1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 8347D766171F8D1C00FE3FC1 = { + isa = PBXGroup; + children = ( + 8347D770171F8D1C00FE3FC1 /* Products */, + ); + sourceTree = ""; + }; + 8347D770171F8D1C00FE3FC1 /* Products */ = { + isa = PBXGroup; + children = ( + 8347D76F171F8D1C00FE3FC1 /* libUnitTest++.a */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 8347D76D171F8D1C00FE3FC1 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 8347D76E171F8D1C00FE3FC1 /* UnitTest++ */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8347D773171F8D1C00FE3FC1 /* Build configuration list for PBXNativeTarget "UnitTest++" */; + buildPhases = ( + 8347D76B171F8D1C00FE3FC1 /* Sources */, + 8347D76C171F8D1C00FE3FC1 /* Frameworks */, + 8347D76D171F8D1C00FE3FC1 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "UnitTest++"; + productName = "UnitTest++"; + productReference = 8347D76F171F8D1C00FE3FC1 /* libUnitTest++.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 8347D767171F8D1C00FE3FC1 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "UnitTest++"; + }; + buildConfigurationList = 8347D76A171F8D1C00FE3FC1 /* Build configuration list for PBXProject "UnitTest++" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 8347D766171F8D1C00FE3FC1; + productRefGroup = 8347D770171F8D1C00FE3FC1 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8347D76E171F8D1C00FE3FC1 /* UnitTest++ */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 8347D76B171F8D1C00FE3FC1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 8347D771171F8D1C00FE3FC1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.7; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + 8347D772171F8D1C00FE3FC1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.7; + SDKROOT = macosx; + }; + name = Release; + }; + 8347D774171F8D1C00FE3FC1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 8347D775171F8D1C00FE3FC1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 8347D76A171F8D1C00FE3FC1 /* Build configuration list for PBXProject "UnitTest++" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8347D771171F8D1C00FE3FC1 /* Debug */, + 8347D772171F8D1C00FE3FC1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 8347D773171F8D1C00FE3FC1 /* Build configuration list for PBXNativeTarget "UnitTest++" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8347D774171F8D1C00FE3FC1 /* Debug */, + 8347D775171F8D1C00FE3FC1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 8347D767171F8D1C00FE3FC1 /* Project object */; +} diff --git a/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..241816d --- /dev/null +++ b/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + From f01953a7696788ca682ebc45f9a037581c1b71fb Mon Sep 17 00:00:00 2001 From: Christopher Frederick Date: Thu, 18 Apr 2013 11:26:42 +0900 Subject: [PATCH 3/5] Add UnitTest++ source to the project --- .../UnitTest++.xcodeproj/project.pbxproj | 217 ++++++++++++++++++ 1 file changed, 217 insertions(+) diff --git a/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj b/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj index 1075828..51db5ab 100644 --- a/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj +++ b/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj @@ -6,8 +6,109 @@ objectVersion = 46; objects = { +/* Begin PBXBuildFile section */ + 83D5FCED171F910E005B0069 /* AssertException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCB5171F910E005B0069 /* AssertException.cpp */; }; + 83D5FCEE171F910E005B0069 /* AssertException.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCB6171F910E005B0069 /* AssertException.h */; }; + 83D5FCEF171F910E005B0069 /* CheckMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCB7171F910E005B0069 /* CheckMacros.h */; }; + 83D5FCF0171F910E005B0069 /* Checks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCB8171F910E005B0069 /* Checks.cpp */; }; + 83D5FCF1171F910E005B0069 /* Checks.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCB9171F910E005B0069 /* Checks.h */; }; + 83D5FCF2171F910E005B0069 /* CompositeTestReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCBA171F910E005B0069 /* CompositeTestReporter.cpp */; }; + 83D5FCF3171F910E005B0069 /* CompositeTestReporter.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCBB171F910E005B0069 /* CompositeTestReporter.h */; }; + 83D5FCF4171F910E005B0069 /* Config.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCBC171F910E005B0069 /* Config.h */; }; + 83D5FCF5171F910E005B0069 /* CurrentTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCBD171F910E005B0069 /* CurrentTest.cpp */; }; + 83D5FCF6171F910E005B0069 /* CurrentTest.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCBE171F910E005B0069 /* CurrentTest.h */; }; + 83D5FCF7171F910E005B0069 /* DeferredTestReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCBF171F910E005B0069 /* DeferredTestReporter.cpp */; }; + 83D5FCF8171F910E005B0069 /* DeferredTestReporter.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCC0171F910E005B0069 /* DeferredTestReporter.h */; }; + 83D5FCF9171F910E005B0069 /* DeferredTestResult.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCC1171F910E005B0069 /* DeferredTestResult.cpp */; }; + 83D5FCFA171F910E005B0069 /* DeferredTestResult.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCC2171F910E005B0069 /* DeferredTestResult.h */; }; + 83D5FCFB171F910E005B0069 /* ExceptionMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCC3171F910E005B0069 /* ExceptionMacros.h */; }; + 83D5FCFC171F910E005B0069 /* ExecuteTest.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCC4171F910E005B0069 /* ExecuteTest.h */; }; + 83D5FCFD171F910E005B0069 /* HelperMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCC5171F910E005B0069 /* HelperMacros.h */; }; + 83D5FCFE171F910E005B0069 /* MemoryOutStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCC7171F910E005B0069 /* MemoryOutStream.cpp */; }; + 83D5FCFF171F910E005B0069 /* MemoryOutStream.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCC8171F910E005B0069 /* MemoryOutStream.h */; }; + 83D5FD00171F910E005B0069 /* SignalTranslator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCCA171F910E005B0069 /* SignalTranslator.cpp */; }; + 83D5FD01171F910E005B0069 /* SignalTranslator.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCCB171F910E005B0069 /* SignalTranslator.h */; }; + 83D5FD02171F910E005B0069 /* TimeHelpers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCCC171F910E005B0069 /* TimeHelpers.cpp */; }; + 83D5FD03171F910E005B0069 /* TimeHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCCD171F910E005B0069 /* TimeHelpers.h */; }; + 83D5FD04171F910E005B0069 /* ReportAssert.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCCE171F910E005B0069 /* ReportAssert.cpp */; }; + 83D5FD05171F910E005B0069 /* ReportAssert.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCCF171F910E005B0069 /* ReportAssert.h */; }; + 83D5FD06171F910E005B0069 /* ReportAssertImpl.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCD0171F910E005B0069 /* ReportAssertImpl.h */; }; + 83D5FD07171F910E005B0069 /* Test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCD1171F910E005B0069 /* Test.cpp */; }; + 83D5FD08171F910E005B0069 /* Test.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCD2171F910E005B0069 /* Test.h */; }; + 83D5FD09171F910E005B0069 /* TestDetails.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCD3171F910E005B0069 /* TestDetails.cpp */; }; + 83D5FD0A171F910E005B0069 /* TestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCD4171F910E005B0069 /* TestDetails.h */; }; + 83D5FD0B171F910E005B0069 /* TestList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCD5171F910E005B0069 /* TestList.cpp */; }; + 83D5FD0C171F910E005B0069 /* TestList.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCD6171F910E005B0069 /* TestList.h */; }; + 83D5FD0D171F910E005B0069 /* TestMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCD7171F910E005B0069 /* TestMacros.h */; }; + 83D5FD0E171F910E005B0069 /* TestReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCD8171F910E005B0069 /* TestReporter.cpp */; }; + 83D5FD0F171F910E005B0069 /* TestReporter.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCD9171F910E005B0069 /* TestReporter.h */; }; + 83D5FD10171F910E005B0069 /* TestReporterStdout.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCDA171F910E005B0069 /* TestReporterStdout.cpp */; }; + 83D5FD11171F910E005B0069 /* TestReporterStdout.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCDB171F910E005B0069 /* TestReporterStdout.h */; }; + 83D5FD12171F910E005B0069 /* TestResults.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCDC171F910E005B0069 /* TestResults.cpp */; }; + 83D5FD13171F910E005B0069 /* TestResults.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCDD171F910E005B0069 /* TestResults.h */; }; + 83D5FD14171F910E005B0069 /* TestRunner.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCDE171F910E005B0069 /* TestRunner.cpp */; }; + 83D5FD15171F910E005B0069 /* TestRunner.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCDF171F910E005B0069 /* TestRunner.h */; }; + 83D5FD16171F910E005B0069 /* TestSuite.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCE0171F910E005B0069 /* TestSuite.h */; }; + 83D5FD17171F910E005B0069 /* TimeConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCE1171F910E005B0069 /* TimeConstraint.cpp */; }; + 83D5FD18171F910E005B0069 /* TimeConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCE2171F910E005B0069 /* TimeConstraint.h */; }; + 83D5FD19171F910E005B0069 /* TimeHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCE3171F910E005B0069 /* TimeHelpers.h */; }; + 83D5FD1A171F910E005B0069 /* UnitTest++.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCE4171F910E005B0069 /* UnitTest++.h */; }; + 83D5FD1B171F910E005B0069 /* UnitTestPP.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCE5171F910E005B0069 /* UnitTestPP.h */; }; + 83D5FD1E171F910E005B0069 /* XmlTestReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCEB171F910E005B0069 /* XmlTestReporter.cpp */; }; + 83D5FD1F171F910E005B0069 /* XmlTestReporter.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCEC171F910E005B0069 /* XmlTestReporter.h */; }; +/* End PBXBuildFile section */ + /* Begin PBXFileReference section */ 8347D76F171F8D1C00FE3FC1 /* libUnitTest++.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libUnitTest++.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 83D5FCB5171F910E005B0069 /* AssertException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AssertException.cpp; sourceTree = ""; }; + 83D5FCB6171F910E005B0069 /* AssertException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AssertException.h; sourceTree = ""; }; + 83D5FCB7171F910E005B0069 /* CheckMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CheckMacros.h; sourceTree = ""; }; + 83D5FCB8171F910E005B0069 /* Checks.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Checks.cpp; sourceTree = ""; }; + 83D5FCB9171F910E005B0069 /* Checks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Checks.h; sourceTree = ""; }; + 83D5FCBA171F910E005B0069 /* CompositeTestReporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CompositeTestReporter.cpp; sourceTree = ""; }; + 83D5FCBB171F910E005B0069 /* CompositeTestReporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CompositeTestReporter.h; sourceTree = ""; }; + 83D5FCBC171F910E005B0069 /* Config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Config.h; sourceTree = ""; }; + 83D5FCBD171F910E005B0069 /* CurrentTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CurrentTest.cpp; sourceTree = ""; }; + 83D5FCBE171F910E005B0069 /* CurrentTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CurrentTest.h; sourceTree = ""; }; + 83D5FCBF171F910E005B0069 /* DeferredTestReporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DeferredTestReporter.cpp; sourceTree = ""; }; + 83D5FCC0171F910E005B0069 /* DeferredTestReporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeferredTestReporter.h; sourceTree = ""; }; + 83D5FCC1171F910E005B0069 /* DeferredTestResult.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DeferredTestResult.cpp; sourceTree = ""; }; + 83D5FCC2171F910E005B0069 /* DeferredTestResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeferredTestResult.h; sourceTree = ""; }; + 83D5FCC3171F910E005B0069 /* ExceptionMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExceptionMacros.h; sourceTree = ""; }; + 83D5FCC4171F910E005B0069 /* ExecuteTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExecuteTest.h; sourceTree = ""; }; + 83D5FCC5171F910E005B0069 /* HelperMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HelperMacros.h; sourceTree = ""; }; + 83D5FCC7171F910E005B0069 /* MemoryOutStream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MemoryOutStream.cpp; sourceTree = ""; }; + 83D5FCC8171F910E005B0069 /* MemoryOutStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MemoryOutStream.h; sourceTree = ""; }; + 83D5FCCA171F910E005B0069 /* SignalTranslator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SignalTranslator.cpp; sourceTree = ""; }; + 83D5FCCB171F910E005B0069 /* SignalTranslator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SignalTranslator.h; sourceTree = ""; }; + 83D5FCCC171F910E005B0069 /* TimeHelpers.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TimeHelpers.cpp; sourceTree = ""; }; + 83D5FCCD171F910E005B0069 /* TimeHelpers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TimeHelpers.h; sourceTree = ""; }; + 83D5FCCE171F910E005B0069 /* ReportAssert.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ReportAssert.cpp; sourceTree = ""; }; + 83D5FCCF171F910E005B0069 /* ReportAssert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReportAssert.h; sourceTree = ""; }; + 83D5FCD0171F910E005B0069 /* ReportAssertImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReportAssertImpl.h; sourceTree = ""; }; + 83D5FCD1171F910E005B0069 /* Test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Test.cpp; sourceTree = ""; }; + 83D5FCD2171F910E005B0069 /* Test.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Test.h; sourceTree = ""; }; + 83D5FCD3171F910E005B0069 /* TestDetails.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestDetails.cpp; sourceTree = ""; }; + 83D5FCD4171F910E005B0069 /* TestDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestDetails.h; sourceTree = ""; }; + 83D5FCD5171F910E005B0069 /* TestList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestList.cpp; sourceTree = ""; }; + 83D5FCD6171F910E005B0069 /* TestList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestList.h; sourceTree = ""; }; + 83D5FCD7171F910E005B0069 /* TestMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestMacros.h; sourceTree = ""; }; + 83D5FCD8171F910E005B0069 /* TestReporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestReporter.cpp; sourceTree = ""; }; + 83D5FCD9171F910E005B0069 /* TestReporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestReporter.h; sourceTree = ""; }; + 83D5FCDA171F910E005B0069 /* TestReporterStdout.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestReporterStdout.cpp; sourceTree = ""; }; + 83D5FCDB171F910E005B0069 /* TestReporterStdout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestReporterStdout.h; sourceTree = ""; }; + 83D5FCDC171F910E005B0069 /* TestResults.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestResults.cpp; sourceTree = ""; }; + 83D5FCDD171F910E005B0069 /* TestResults.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestResults.h; sourceTree = ""; }; + 83D5FCDE171F910E005B0069 /* TestRunner.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestRunner.cpp; sourceTree = ""; }; + 83D5FCDF171F910E005B0069 /* TestRunner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestRunner.h; sourceTree = ""; }; + 83D5FCE0171F910E005B0069 /* TestSuite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestSuite.h; sourceTree = ""; }; + 83D5FCE1171F910E005B0069 /* TimeConstraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TimeConstraint.cpp; sourceTree = ""; }; + 83D5FCE2171F910E005B0069 /* TimeConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TimeConstraint.h; sourceTree = ""; }; + 83D5FCE3171F910E005B0069 /* TimeHelpers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TimeHelpers.h; sourceTree = ""; }; + 83D5FCE4171F910E005B0069 /* UnitTest++.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UnitTest++.h"; sourceTree = ""; }; + 83D5FCE5171F910E005B0069 /* UnitTestPP.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UnitTestPP.h; sourceTree = ""; }; + 83D5FCEB171F910E005B0069 /* XmlTestReporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XmlTestReporter.cpp; sourceTree = ""; }; + 83D5FCEC171F910E005B0069 /* XmlTestReporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XmlTestReporter.h; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -24,6 +125,7 @@ 8347D766171F8D1C00FE3FC1 = { isa = PBXGroup; children = ( + 83D5FCB4171F910E005B0069 /* UnitTest++ */, 8347D770171F8D1C00FE3FC1 /* Products */, ); sourceTree = ""; @@ -36,6 +138,71 @@ name = Products; sourceTree = ""; }; + 83D5FCB4171F910E005B0069 /* UnitTest++ */ = { + isa = PBXGroup; + children = ( + 83D5FCB5171F910E005B0069 /* AssertException.cpp */, + 83D5FCB6171F910E005B0069 /* AssertException.h */, + 83D5FCB7171F910E005B0069 /* CheckMacros.h */, + 83D5FCB8171F910E005B0069 /* Checks.cpp */, + 83D5FCB9171F910E005B0069 /* Checks.h */, + 83D5FCBA171F910E005B0069 /* CompositeTestReporter.cpp */, + 83D5FCBB171F910E005B0069 /* CompositeTestReporter.h */, + 83D5FCBC171F910E005B0069 /* Config.h */, + 83D5FCBD171F910E005B0069 /* CurrentTest.cpp */, + 83D5FCBE171F910E005B0069 /* CurrentTest.h */, + 83D5FCBF171F910E005B0069 /* DeferredTestReporter.cpp */, + 83D5FCC0171F910E005B0069 /* DeferredTestReporter.h */, + 83D5FCC1171F910E005B0069 /* DeferredTestResult.cpp */, + 83D5FCC2171F910E005B0069 /* DeferredTestResult.h */, + 83D5FCC3171F910E005B0069 /* ExceptionMacros.h */, + 83D5FCC4171F910E005B0069 /* ExecuteTest.h */, + 83D5FCC5171F910E005B0069 /* HelperMacros.h */, + 83D5FCC7171F910E005B0069 /* MemoryOutStream.cpp */, + 83D5FCC8171F910E005B0069 /* MemoryOutStream.h */, + 83D5FCC9171F910E005B0069 /* Posix */, + 83D5FCCE171F910E005B0069 /* ReportAssert.cpp */, + 83D5FCCF171F910E005B0069 /* ReportAssert.h */, + 83D5FCD0171F910E005B0069 /* ReportAssertImpl.h */, + 83D5FCD1171F910E005B0069 /* Test.cpp */, + 83D5FCD2171F910E005B0069 /* Test.h */, + 83D5FCD3171F910E005B0069 /* TestDetails.cpp */, + 83D5FCD4171F910E005B0069 /* TestDetails.h */, + 83D5FCD5171F910E005B0069 /* TestList.cpp */, + 83D5FCD6171F910E005B0069 /* TestList.h */, + 83D5FCD7171F910E005B0069 /* TestMacros.h */, + 83D5FCD8171F910E005B0069 /* TestReporter.cpp */, + 83D5FCD9171F910E005B0069 /* TestReporter.h */, + 83D5FCDA171F910E005B0069 /* TestReporterStdout.cpp */, + 83D5FCDB171F910E005B0069 /* TestReporterStdout.h */, + 83D5FCDC171F910E005B0069 /* TestResults.cpp */, + 83D5FCDD171F910E005B0069 /* TestResults.h */, + 83D5FCDE171F910E005B0069 /* TestRunner.cpp */, + 83D5FCDF171F910E005B0069 /* TestRunner.h */, + 83D5FCE0171F910E005B0069 /* TestSuite.h */, + 83D5FCE1171F910E005B0069 /* TimeConstraint.cpp */, + 83D5FCE2171F910E005B0069 /* TimeConstraint.h */, + 83D5FCE3171F910E005B0069 /* TimeHelpers.h */, + 83D5FCE4171F910E005B0069 /* UnitTest++.h */, + 83D5FCE5171F910E005B0069 /* UnitTestPP.h */, + 83D5FCEB171F910E005B0069 /* XmlTestReporter.cpp */, + 83D5FCEC171F910E005B0069 /* XmlTestReporter.h */, + ); + name = "UnitTest++"; + path = "../../UnitTest++"; + sourceTree = ""; + }; + 83D5FCC9171F910E005B0069 /* Posix */ = { + isa = PBXGroup; + children = ( + 83D5FCCA171F910E005B0069 /* SignalTranslator.cpp */, + 83D5FCCB171F910E005B0069 /* SignalTranslator.h */, + 83D5FCCC171F910E005B0069 /* TimeHelpers.cpp */, + 83D5FCCD171F910E005B0069 /* TimeHelpers.h */, + ); + path = Posix; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -43,6 +210,36 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( + 83D5FCEE171F910E005B0069 /* AssertException.h in Headers */, + 83D5FCEF171F910E005B0069 /* CheckMacros.h in Headers */, + 83D5FCF1171F910E005B0069 /* Checks.h in Headers */, + 83D5FCF3171F910E005B0069 /* CompositeTestReporter.h in Headers */, + 83D5FCF4171F910E005B0069 /* Config.h in Headers */, + 83D5FCF6171F910E005B0069 /* CurrentTest.h in Headers */, + 83D5FCF8171F910E005B0069 /* DeferredTestReporter.h in Headers */, + 83D5FCFA171F910E005B0069 /* DeferredTestResult.h in Headers */, + 83D5FCFB171F910E005B0069 /* ExceptionMacros.h in Headers */, + 83D5FCFC171F910E005B0069 /* ExecuteTest.h in Headers */, + 83D5FCFD171F910E005B0069 /* HelperMacros.h in Headers */, + 83D5FCFF171F910E005B0069 /* MemoryOutStream.h in Headers */, + 83D5FD01171F910E005B0069 /* SignalTranslator.h in Headers */, + 83D5FD03171F910E005B0069 /* TimeHelpers.h in Headers */, + 83D5FD05171F910E005B0069 /* ReportAssert.h in Headers */, + 83D5FD06171F910E005B0069 /* ReportAssertImpl.h in Headers */, + 83D5FD08171F910E005B0069 /* Test.h in Headers */, + 83D5FD0A171F910E005B0069 /* TestDetails.h in Headers */, + 83D5FD0C171F910E005B0069 /* TestList.h in Headers */, + 83D5FD0D171F910E005B0069 /* TestMacros.h in Headers */, + 83D5FD0F171F910E005B0069 /* TestReporter.h in Headers */, + 83D5FD11171F910E005B0069 /* TestReporterStdout.h in Headers */, + 83D5FD13171F910E005B0069 /* TestResults.h in Headers */, + 83D5FD15171F910E005B0069 /* TestRunner.h in Headers */, + 83D5FD16171F910E005B0069 /* TestSuite.h in Headers */, + 83D5FD18171F910E005B0069 /* TimeConstraint.h in Headers */, + 83D5FD19171F910E005B0069 /* TimeHelpers.h in Headers */, + 83D5FD1A171F910E005B0069 /* UnitTest++.h in Headers */, + 83D5FD1B171F910E005B0069 /* UnitTestPP.h in Headers */, + 83D5FD1F171F910E005B0069 /* XmlTestReporter.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -97,6 +294,25 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 83D5FCED171F910E005B0069 /* AssertException.cpp in Sources */, + 83D5FCF0171F910E005B0069 /* Checks.cpp in Sources */, + 83D5FCF2171F910E005B0069 /* CompositeTestReporter.cpp in Sources */, + 83D5FCF5171F910E005B0069 /* CurrentTest.cpp in Sources */, + 83D5FCF7171F910E005B0069 /* DeferredTestReporter.cpp in Sources */, + 83D5FCF9171F910E005B0069 /* DeferredTestResult.cpp in Sources */, + 83D5FCFE171F910E005B0069 /* MemoryOutStream.cpp in Sources */, + 83D5FD00171F910E005B0069 /* SignalTranslator.cpp in Sources */, + 83D5FD02171F910E005B0069 /* TimeHelpers.cpp in Sources */, + 83D5FD04171F910E005B0069 /* ReportAssert.cpp in Sources */, + 83D5FD07171F910E005B0069 /* Test.cpp in Sources */, + 83D5FD09171F910E005B0069 /* TestDetails.cpp in Sources */, + 83D5FD0B171F910E005B0069 /* TestList.cpp in Sources */, + 83D5FD0E171F910E005B0069 /* TestReporter.cpp in Sources */, + 83D5FD10171F910E005B0069 /* TestReporterStdout.cpp in Sources */, + 83D5FD12171F910E005B0069 /* TestResults.cpp in Sources */, + 83D5FD14171F910E005B0069 /* TestRunner.cpp in Sources */, + 83D5FD17171F910E005B0069 /* TimeConstraint.cpp in Sources */, + 83D5FD1E171F910E005B0069 /* XmlTestReporter.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -195,6 +411,7 @@ 8347D775171F8D1C00FE3FC1 /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; From 093ef7eca9d1f1651aad2da866fe70bb8cca1786 Mon Sep 17 00:00:00 2001 From: Christopher Frederick Date: Thu, 18 Apr 2013 11:28:43 +0900 Subject: [PATCH 4/5] Add a target for TestUnitTest++ TestUnitTest++ is a command-line tool. --- .../xcode4-6/TestUnitTest++/TestUnitTest__.1 | 79 +++++++++++++++++ .../xcode4-6/TestUnitTest++/main.cpp | 18 ++++ .../UnitTest++.xcodeproj/project.pbxproj | 84 +++++++++++++++++++ 3 files changed, 181 insertions(+) create mode 100644 xcode_projects/xcode4-6/TestUnitTest++/TestUnitTest__.1 create mode 100644 xcode_projects/xcode4-6/TestUnitTest++/main.cpp diff --git a/xcode_projects/xcode4-6/TestUnitTest++/TestUnitTest__.1 b/xcode_projects/xcode4-6/TestUnitTest++/TestUnitTest__.1 new file mode 100644 index 0000000..1931763 --- /dev/null +++ b/xcode_projects/xcode4-6/TestUnitTest++/TestUnitTest__.1 @@ -0,0 +1,79 @@ +.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. +.\"See Also: +.\"man mdoc.samples for a complete listing of options +.\"man mdoc for the short list of editing options +.\"/usr/share/misc/mdoc.template +.Dd 2013/04/18 \" DATE +.Dt TestUnitTest++ 1 \" Program name and manual section number +.Os Darwin +.Sh NAME \" Section Header - required - don't modify +.Nm TestUnitTest++, +.\" The following lines are read in generating the apropos(man -k) database. Use only key +.\" words here as the database is built based on the words here and in the .ND line. +.Nm Other_name_for_same_program(), +.Nm Yet another name for the same program. +.\" Use .Nm macro to designate other names for the documented program. +.Nd This line parsed for whatis database. +.Sh SYNOPSIS \" Section Header - required - don't modify +.Nm +.Op Fl abcd \" [-abcd] +.Op Fl a Ar path \" [-a path] +.Op Ar file \" [file] +.Op Ar \" [file ...] +.Ar arg0 \" Underlined argument - use .Ar anywhere to underline +arg2 ... \" Arguments +.Sh DESCRIPTION \" Section Header - required - don't modify +Use the .Nm macro to refer to your program throughout the man page like such: +.Nm +Underlining is accomplished with the .Ar macro like this: +.Ar underlined text . +.Pp \" Inserts a space +A list of items with descriptions: +.Bl -tag -width -indent \" Begins a tagged list +.It item a \" Each item preceded by .It macro +Description of item a +.It item b +Description of item b +.El \" Ends the list +.Pp +A list of flags and their descriptions: +.Bl -tag -width -indent \" Differs from above in tag removed +.It Fl a \"-a flag as a list item +Description of -a flag +.It Fl b +Description of -b flag +.El \" Ends the list +.Pp +.\" .Sh ENVIRONMENT \" May not be needed +.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 +.\" .It Ev ENV_VAR_1 +.\" Description of ENV_VAR_1 +.\" .It Ev ENV_VAR_2 +.\" Description of ENV_VAR_2 +.\" .El +.Sh FILES \" File used or created by the topic of the man page +.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact +.It Pa /usr/share/file_name +FILE_1 description +.It Pa /Users/joeuser/Library/really_long_file_name +FILE_2 description +.El \" Ends the list +.\" .Sh DIAGNOSTICS \" May not be needed +.\" .Bl -diag +.\" .It Diagnostic Tag +.\" Diagnostic informtion here. +.\" .It Diagnostic Tag +.\" Diagnostic informtion here. +.\" .El +.Sh SEE ALSO +.\" List links in ascending order by section, alphabetically within a section. +.\" Please do not reference files that do not exist without filing a bug report +.Xr a 1 , +.Xr b 1 , +.Xr c 1 , +.Xr a 2 , +.Xr b 2 , +.Xr a 3 , +.Xr b 3 +.\" .Sh BUGS \" Document known, unremedied bugs +.\" .Sh HISTORY \" Document history if command behaves in a unique manner \ No newline at end of file diff --git a/xcode_projects/xcode4-6/TestUnitTest++/main.cpp b/xcode_projects/xcode4-6/TestUnitTest++/main.cpp new file mode 100644 index 0000000..81cc522 --- /dev/null +++ b/xcode_projects/xcode4-6/TestUnitTest++/main.cpp @@ -0,0 +1,18 @@ +// +// main.cpp +// TestUnitTest++ +// +// Created by Christopher Frederick on 2013/04/18. +// Copyright (c) 2013 UnitTest++. All rights reserved. +// + +#include + +int main(int argc, const char * argv[]) +{ + + // insert code here... + std::cout << "Hello, World!\n"; + return 0; +} + diff --git a/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj b/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj index 51db5ab..30461b1 100644 --- a/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj +++ b/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj @@ -56,8 +56,23 @@ 83D5FD1B171F910E005B0069 /* UnitTestPP.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCE5171F910E005B0069 /* UnitTestPP.h */; }; 83D5FD1E171F910E005B0069 /* XmlTestReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCEB171F910E005B0069 /* XmlTestReporter.cpp */; }; 83D5FD1F171F910E005B0069 /* XmlTestReporter.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCEC171F910E005B0069 /* XmlTestReporter.h */; }; + 83D5FD27171F91B7005B0069 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD26171F91B7005B0069 /* main.cpp */; }; + 83D5FD29171F91B7005B0069 /* TestUnitTest__.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 83D5FD28171F91B7005B0069 /* TestUnitTest__.1 */; }; /* End PBXBuildFile section */ +/* Begin PBXCopyFilesBuildPhase section */ + 83D5FD22171F91B6005B0069 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + 83D5FD29171F91B7005B0069 /* TestUnitTest__.1 in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ 8347D76F171F8D1C00FE3FC1 /* libUnitTest++.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libUnitTest++.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 83D5FCB5171F910E005B0069 /* AssertException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AssertException.cpp; sourceTree = ""; }; @@ -109,6 +124,9 @@ 83D5FCE5171F910E005B0069 /* UnitTestPP.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UnitTestPP.h; sourceTree = ""; }; 83D5FCEB171F910E005B0069 /* XmlTestReporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XmlTestReporter.cpp; sourceTree = ""; }; 83D5FCEC171F910E005B0069 /* XmlTestReporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XmlTestReporter.h; sourceTree = ""; }; + 83D5FD24171F91B7005B0069 /* TestUnitTest++ */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "TestUnitTest++"; sourceTree = BUILT_PRODUCTS_DIR; }; + 83D5FD26171F91B7005B0069 /* main.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; + 83D5FD28171F91B7005B0069 /* TestUnitTest__.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = TestUnitTest__.1; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -119,6 +137,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 83D5FD21171F91B6005B0069 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -126,6 +151,7 @@ isa = PBXGroup; children = ( 83D5FCB4171F910E005B0069 /* UnitTest++ */, + 83D5FD25171F91B7005B0069 /* TestUnitTest++ */, 8347D770171F8D1C00FE3FC1 /* Products */, ); sourceTree = ""; @@ -134,6 +160,7 @@ isa = PBXGroup; children = ( 8347D76F171F8D1C00FE3FC1 /* libUnitTest++.a */, + 83D5FD24171F91B7005B0069 /* TestUnitTest++ */, ); name = Products; sourceTree = ""; @@ -203,6 +230,15 @@ path = Posix; sourceTree = ""; }; + 83D5FD25171F91B7005B0069 /* TestUnitTest++ */ = { + isa = PBXGroup; + children = ( + 83D5FD26171F91B7005B0069 /* main.cpp */, + 83D5FD28171F91B7005B0069 /* TestUnitTest__.1 */, + ); + path = "TestUnitTest++"; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -263,6 +299,23 @@ productReference = 8347D76F171F8D1C00FE3FC1 /* libUnitTest++.a */; productType = "com.apple.product-type.library.static"; }; + 83D5FD23171F91B6005B0069 /* TestUnitTest++ */ = { + isa = PBXNativeTarget; + buildConfigurationList = 83D5FD2A171F91B7005B0069 /* Build configuration list for PBXNativeTarget "TestUnitTest++" */; + buildPhases = ( + 83D5FD20171F91B6005B0069 /* Sources */, + 83D5FD21171F91B6005B0069 /* Frameworks */, + 83D5FD22171F91B6005B0069 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "TestUnitTest++"; + productName = "TestUnitTest++"; + productReference = 83D5FD24171F91B7005B0069 /* TestUnitTest++ */; + productType = "com.apple.product-type.tool"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -285,6 +338,7 @@ projectRoot = ""; targets = ( 8347D76E171F8D1C00FE3FC1 /* UnitTest++ */, + 83D5FD23171F91B6005B0069 /* TestUnitTest++ */, ); }; /* End PBXProject section */ @@ -316,6 +370,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 83D5FD20171F91B6005B0069 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 83D5FD27171F91B7005B0069 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ @@ -392,6 +454,20 @@ }; name = Release; }; + 83D5FD2B171F91B7005B0069 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 83D5FD2C171F91B7005B0069 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -413,6 +489,14 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 83D5FD2A171F91B7005B0069 /* Build configuration list for PBXNativeTarget "TestUnitTest++" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 83D5FD2B171F91B7005B0069 /* Debug */, + 83D5FD2C171F91B7005B0069 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; /* End XCConfigurationList section */ }; rootObject = 8347D767171F8D1C00FE3FC1 /* Project object */; From 5bc3ff8b2bb9ff271839f9093730b6642f996986 Mon Sep 17 00:00:00 2001 From: Christopher Frederick Date: Thu, 18 Apr 2013 11:41:49 +0900 Subject: [PATCH 5/5] Update TestUnitTest++ to use existing code - Add files from the tests directory - Add $(SRCROOT)/../../ to the include paths - Link to libUnitTest++.a - Remove the TestUnitTest++ group (with main.cpp and TestUnitTest__.1) that was automatically generated by Xcode --- .../xcode4-6/TestUnitTest++/TestUnitTest__.1 | 79 --------------- .../xcode4-6/TestUnitTest++/main.cpp | 18 ---- .../UnitTest++.xcodeproj/project.pbxproj | 99 ++++++++++++++++--- 3 files changed, 88 insertions(+), 108 deletions(-) delete mode 100644 xcode_projects/xcode4-6/TestUnitTest++/TestUnitTest__.1 delete mode 100644 xcode_projects/xcode4-6/TestUnitTest++/main.cpp diff --git a/xcode_projects/xcode4-6/TestUnitTest++/TestUnitTest__.1 b/xcode_projects/xcode4-6/TestUnitTest++/TestUnitTest__.1 deleted file mode 100644 index 1931763..0000000 --- a/xcode_projects/xcode4-6/TestUnitTest++/TestUnitTest__.1 +++ /dev/null @@ -1,79 +0,0 @@ -.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. -.\"See Also: -.\"man mdoc.samples for a complete listing of options -.\"man mdoc for the short list of editing options -.\"/usr/share/misc/mdoc.template -.Dd 2013/04/18 \" DATE -.Dt TestUnitTest++ 1 \" Program name and manual section number -.Os Darwin -.Sh NAME \" Section Header - required - don't modify -.Nm TestUnitTest++, -.\" The following lines are read in generating the apropos(man -k) database. Use only key -.\" words here as the database is built based on the words here and in the .ND line. -.Nm Other_name_for_same_program(), -.Nm Yet another name for the same program. -.\" Use .Nm macro to designate other names for the documented program. -.Nd This line parsed for whatis database. -.Sh SYNOPSIS \" Section Header - required - don't modify -.Nm -.Op Fl abcd \" [-abcd] -.Op Fl a Ar path \" [-a path] -.Op Ar file \" [file] -.Op Ar \" [file ...] -.Ar arg0 \" Underlined argument - use .Ar anywhere to underline -arg2 ... \" Arguments -.Sh DESCRIPTION \" Section Header - required - don't modify -Use the .Nm macro to refer to your program throughout the man page like such: -.Nm -Underlining is accomplished with the .Ar macro like this: -.Ar underlined text . -.Pp \" Inserts a space -A list of items with descriptions: -.Bl -tag -width -indent \" Begins a tagged list -.It item a \" Each item preceded by .It macro -Description of item a -.It item b -Description of item b -.El \" Ends the list -.Pp -A list of flags and their descriptions: -.Bl -tag -width -indent \" Differs from above in tag removed -.It Fl a \"-a flag as a list item -Description of -a flag -.It Fl b -Description of -b flag -.El \" Ends the list -.Pp -.\" .Sh ENVIRONMENT \" May not be needed -.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 -.\" .It Ev ENV_VAR_1 -.\" Description of ENV_VAR_1 -.\" .It Ev ENV_VAR_2 -.\" Description of ENV_VAR_2 -.\" .El -.Sh FILES \" File used or created by the topic of the man page -.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact -.It Pa /usr/share/file_name -FILE_1 description -.It Pa /Users/joeuser/Library/really_long_file_name -FILE_2 description -.El \" Ends the list -.\" .Sh DIAGNOSTICS \" May not be needed -.\" .Bl -diag -.\" .It Diagnostic Tag -.\" Diagnostic informtion here. -.\" .It Diagnostic Tag -.\" Diagnostic informtion here. -.\" .El -.Sh SEE ALSO -.\" List links in ascending order by section, alphabetically within a section. -.\" Please do not reference files that do not exist without filing a bug report -.Xr a 1 , -.Xr b 1 , -.Xr c 1 , -.Xr a 2 , -.Xr b 2 , -.Xr a 3 , -.Xr b 3 -.\" .Sh BUGS \" Document known, unremedied bugs -.\" .Sh HISTORY \" Document history if command behaves in a unique manner \ No newline at end of file diff --git a/xcode_projects/xcode4-6/TestUnitTest++/main.cpp b/xcode_projects/xcode4-6/TestUnitTest++/main.cpp deleted file mode 100644 index 81cc522..0000000 --- a/xcode_projects/xcode4-6/TestUnitTest++/main.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// -// main.cpp -// TestUnitTest++ -// -// Created by Christopher Frederick on 2013/04/18. -// Copyright (c) 2013 UnitTest++. All rights reserved. -// - -#include - -int main(int argc, const char * argv[]) -{ - - // insert code here... - std::cout << "Hello, World!\n"; - return 0; -} - diff --git a/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj b/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj index 30461b1..2a06528 100644 --- a/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj +++ b/xcode_projects/xcode4-6/UnitTest++.xcodeproj/project.pbxproj @@ -56,8 +56,26 @@ 83D5FD1B171F910E005B0069 /* UnitTestPP.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCE5171F910E005B0069 /* UnitTestPP.h */; }; 83D5FD1E171F910E005B0069 /* XmlTestReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FCEB171F910E005B0069 /* XmlTestReporter.cpp */; }; 83D5FD1F171F910E005B0069 /* XmlTestReporter.h in Headers */ = {isa = PBXBuildFile; fileRef = 83D5FCEC171F910E005B0069 /* XmlTestReporter.h */; }; - 83D5FD27171F91B7005B0069 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD26171F91B7005B0069 /* main.cpp */; }; - 83D5FD29171F91B7005B0069 /* TestUnitTest__.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 83D5FD28171F91B7005B0069 /* TestUnitTest__.1 */; }; + 83D5FD45171F9218005B0069 /* Main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD2E171F9218005B0069 /* Main.cpp */; }; + 83D5FD46171F9218005B0069 /* TestAssertHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD33171F9218005B0069 /* TestAssertHandler.cpp */; }; + 83D5FD47171F9218005B0069 /* TestCheckMacros.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD34171F9218005B0069 /* TestCheckMacros.cpp */; }; + 83D5FD48171F9218005B0069 /* TestChecks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD35171F9218005B0069 /* TestChecks.cpp */; }; + 83D5FD49171F9218005B0069 /* TestCompositeTestReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD36171F9218005B0069 /* TestCompositeTestReporter.cpp */; }; + 83D5FD4A171F9218005B0069 /* TestCurrentTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD37171F9218005B0069 /* TestCurrentTest.cpp */; }; + 83D5FD4B171F9218005B0069 /* TestDeferredTestReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD38171F9218005B0069 /* TestDeferredTestReporter.cpp */; }; + 83D5FD4C171F9218005B0069 /* TestExceptions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD39171F9218005B0069 /* TestExceptions.cpp */; }; + 83D5FD4D171F9218005B0069 /* TestMemoryOutStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD3A171F9218005B0069 /* TestMemoryOutStream.cpp */; }; + 83D5FD4E171F9218005B0069 /* TestTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD3B171F9218005B0069 /* TestTest.cpp */; }; + 83D5FD4F171F9218005B0069 /* TestTestList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD3C171F9218005B0069 /* TestTestList.cpp */; }; + 83D5FD50171F9218005B0069 /* TestTestMacros.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD3D171F9218005B0069 /* TestTestMacros.cpp */; }; + 83D5FD51171F9218005B0069 /* TestTestResults.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD3E171F9218005B0069 /* TestTestResults.cpp */; }; + 83D5FD52171F9218005B0069 /* TestTestRunner.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD3F171F9218005B0069 /* TestTestRunner.cpp */; }; + 83D5FD53171F9218005B0069 /* TestTestSuite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD40171F9218005B0069 /* TestTestSuite.cpp */; }; + 83D5FD54171F9218005B0069 /* TestTimeConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD41171F9218005B0069 /* TestTimeConstraint.cpp */; }; + 83D5FD55171F9218005B0069 /* TestTimeConstraintMacro.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD42171F9218005B0069 /* TestTimeConstraintMacro.cpp */; }; + 83D5FD56171F9218005B0069 /* TestUnitTestPP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD43171F9218005B0069 /* TestUnitTestPP.cpp */; }; + 83D5FD57171F9218005B0069 /* TestXmlTestReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83D5FD44171F9218005B0069 /* TestXmlTestReporter.cpp */; }; + 83D5FD58171F9494005B0069 /* libUnitTest++.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8347D76F171F8D1C00FE3FC1 /* libUnitTest++.a */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -67,7 +85,6 @@ dstPath = /usr/share/man/man1/; dstSubfolderSpec = 0; files = ( - 83D5FD29171F91B7005B0069 /* TestUnitTest__.1 in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 1; }; @@ -125,8 +142,27 @@ 83D5FCEB171F910E005B0069 /* XmlTestReporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XmlTestReporter.cpp; sourceTree = ""; }; 83D5FCEC171F910E005B0069 /* XmlTestReporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XmlTestReporter.h; sourceTree = ""; }; 83D5FD24171F91B7005B0069 /* TestUnitTest++ */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "TestUnitTest++"; sourceTree = BUILT_PRODUCTS_DIR; }; - 83D5FD26171F91B7005B0069 /* main.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; - 83D5FD28171F91B7005B0069 /* TestUnitTest__.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = TestUnitTest__.1; sourceTree = ""; }; + 83D5FD2E171F9218005B0069 /* Main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Main.cpp; sourceTree = ""; }; + 83D5FD2F171F9218005B0069 /* RecordingReporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RecordingReporter.h; sourceTree = ""; }; + 83D5FD30171F9218005B0069 /* ScopedCurrentTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScopedCurrentTest.h; sourceTree = ""; }; + 83D5FD33171F9218005B0069 /* TestAssertHandler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestAssertHandler.cpp; sourceTree = ""; }; + 83D5FD34171F9218005B0069 /* TestCheckMacros.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestCheckMacros.cpp; sourceTree = ""; }; + 83D5FD35171F9218005B0069 /* TestChecks.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestChecks.cpp; sourceTree = ""; }; + 83D5FD36171F9218005B0069 /* TestCompositeTestReporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestCompositeTestReporter.cpp; sourceTree = ""; }; + 83D5FD37171F9218005B0069 /* TestCurrentTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestCurrentTest.cpp; sourceTree = ""; }; + 83D5FD38171F9218005B0069 /* TestDeferredTestReporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestDeferredTestReporter.cpp; sourceTree = ""; }; + 83D5FD39171F9218005B0069 /* TestExceptions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestExceptions.cpp; sourceTree = ""; }; + 83D5FD3A171F9218005B0069 /* TestMemoryOutStream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestMemoryOutStream.cpp; sourceTree = ""; }; + 83D5FD3B171F9218005B0069 /* TestTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestTest.cpp; sourceTree = ""; }; + 83D5FD3C171F9218005B0069 /* TestTestList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestTestList.cpp; sourceTree = ""; }; + 83D5FD3D171F9218005B0069 /* TestTestMacros.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestTestMacros.cpp; sourceTree = ""; }; + 83D5FD3E171F9218005B0069 /* TestTestResults.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestTestResults.cpp; sourceTree = ""; }; + 83D5FD3F171F9218005B0069 /* TestTestRunner.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestTestRunner.cpp; sourceTree = ""; }; + 83D5FD40171F9218005B0069 /* TestTestSuite.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestTestSuite.cpp; sourceTree = ""; }; + 83D5FD41171F9218005B0069 /* TestTimeConstraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestTimeConstraint.cpp; sourceTree = ""; }; + 83D5FD42171F9218005B0069 /* TestTimeConstraintMacro.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestTimeConstraintMacro.cpp; sourceTree = ""; }; + 83D5FD43171F9218005B0069 /* TestUnitTestPP.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestUnitTestPP.cpp; sourceTree = ""; }; + 83D5FD44171F9218005B0069 /* TestXmlTestReporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestXmlTestReporter.cpp; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -141,6 +177,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 83D5FD58171F9494005B0069 /* libUnitTest++.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -151,7 +188,7 @@ isa = PBXGroup; children = ( 83D5FCB4171F910E005B0069 /* UnitTest++ */, - 83D5FD25171F91B7005B0069 /* TestUnitTest++ */, + 83D5FD2D171F9218005B0069 /* tests */, 8347D770171F8D1C00FE3FC1 /* Products */, ); sourceTree = ""; @@ -230,13 +267,33 @@ path = Posix; sourceTree = ""; }; - 83D5FD25171F91B7005B0069 /* TestUnitTest++ */ = { + 83D5FD2D171F9218005B0069 /* tests */ = { isa = PBXGroup; children = ( - 83D5FD26171F91B7005B0069 /* main.cpp */, - 83D5FD28171F91B7005B0069 /* TestUnitTest__.1 */, + 83D5FD2E171F9218005B0069 /* Main.cpp */, + 83D5FD2F171F9218005B0069 /* RecordingReporter.h */, + 83D5FD30171F9218005B0069 /* ScopedCurrentTest.h */, + 83D5FD33171F9218005B0069 /* TestAssertHandler.cpp */, + 83D5FD34171F9218005B0069 /* TestCheckMacros.cpp */, + 83D5FD35171F9218005B0069 /* TestChecks.cpp */, + 83D5FD36171F9218005B0069 /* TestCompositeTestReporter.cpp */, + 83D5FD37171F9218005B0069 /* TestCurrentTest.cpp */, + 83D5FD38171F9218005B0069 /* TestDeferredTestReporter.cpp */, + 83D5FD39171F9218005B0069 /* TestExceptions.cpp */, + 83D5FD3A171F9218005B0069 /* TestMemoryOutStream.cpp */, + 83D5FD3B171F9218005B0069 /* TestTest.cpp */, + 83D5FD3C171F9218005B0069 /* TestTestList.cpp */, + 83D5FD3D171F9218005B0069 /* TestTestMacros.cpp */, + 83D5FD3E171F9218005B0069 /* TestTestResults.cpp */, + 83D5FD3F171F9218005B0069 /* TestTestRunner.cpp */, + 83D5FD40171F9218005B0069 /* TestTestSuite.cpp */, + 83D5FD41171F9218005B0069 /* TestTimeConstraint.cpp */, + 83D5FD42171F9218005B0069 /* TestTimeConstraintMacro.cpp */, + 83D5FD43171F9218005B0069 /* TestUnitTestPP.cpp */, + 83D5FD44171F9218005B0069 /* TestXmlTestReporter.cpp */, ); - path = "TestUnitTest++"; + name = tests; + path = ../../tests; sourceTree = ""; }; /* End PBXGroup section */ @@ -374,7 +431,25 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 83D5FD27171F91B7005B0069 /* main.cpp in Sources */, + 83D5FD45171F9218005B0069 /* Main.cpp in Sources */, + 83D5FD46171F9218005B0069 /* TestAssertHandler.cpp in Sources */, + 83D5FD47171F9218005B0069 /* TestCheckMacros.cpp in Sources */, + 83D5FD48171F9218005B0069 /* TestChecks.cpp in Sources */, + 83D5FD49171F9218005B0069 /* TestCompositeTestReporter.cpp in Sources */, + 83D5FD4A171F9218005B0069 /* TestCurrentTest.cpp in Sources */, + 83D5FD4B171F9218005B0069 /* TestDeferredTestReporter.cpp in Sources */, + 83D5FD4C171F9218005B0069 /* TestExceptions.cpp in Sources */, + 83D5FD4D171F9218005B0069 /* TestMemoryOutStream.cpp in Sources */, + 83D5FD4E171F9218005B0069 /* TestTest.cpp in Sources */, + 83D5FD4F171F9218005B0069 /* TestTestList.cpp in Sources */, + 83D5FD50171F9218005B0069 /* TestTestMacros.cpp in Sources */, + 83D5FD51171F9218005B0069 /* TestTestResults.cpp in Sources */, + 83D5FD52171F9218005B0069 /* TestTestRunner.cpp in Sources */, + 83D5FD53171F9218005B0069 /* TestTestSuite.cpp in Sources */, + 83D5FD54171F9218005B0069 /* TestTimeConstraint.cpp in Sources */, + 83D5FD55171F9218005B0069 /* TestTimeConstraintMacro.cpp in Sources */, + 83D5FD56171F9218005B0069 /* TestUnitTestPP.cpp in Sources */, + 83D5FD57171F9218005B0069 /* TestXmlTestReporter.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -457,6 +532,7 @@ 83D5FD2B171F91B7005B0069 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + HEADER_SEARCH_PATHS = "$(SRCROOT)/../../"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -464,6 +540,7 @@ 83D5FD2C171F91B7005B0069 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + HEADER_SEARCH_PATHS = "$(SRCROOT)/../../"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release;