mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 05:09:53 +01:00
Added back OCTest project
This commit is contained in:
parent
2d37649377
commit
4e5a67bc44
483
projects/XCode/OCTest/OCTest.xcodeproj/project.pbxproj
Normal file
483
projects/XCode/OCTest/OCTest.xcodeproj/project.pbxproj
Normal file
@ -0,0 +1,483 @@
|
|||||||
|
// !$*UTF8*$!
|
||||||
|
{
|
||||||
|
archiveVersion = 1;
|
||||||
|
classes = {
|
||||||
|
};
|
||||||
|
objectVersion = 46;
|
||||||
|
objects = {
|
||||||
|
|
||||||
|
/* Begin PBXBuildFile section */
|
||||||
|
2621EE1A1F602F2C00D9AA4C /* catch_approx.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE191F602F2C00D9AA4C /* catch_approx.cpp */; };
|
||||||
|
2621EE4A1F602F8300D9AA4C /* catch_assertionhandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE1B1F602F8200D9AA4C /* catch_assertionhandler.cpp */; };
|
||||||
|
2621EE4B1F602F8300D9AA4C /* catch_assertionresult.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE1C1F602F8200D9AA4C /* catch_assertionresult.cpp */; };
|
||||||
|
2621EE4C1F602F8300D9AA4C /* catch_benchmark.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE1D1F602F8200D9AA4C /* catch_benchmark.cpp */; };
|
||||||
|
2621EE4D1F602F8300D9AA4C /* catch_capture_matchers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE1E1F602F8200D9AA4C /* catch_capture_matchers.cpp */; };
|
||||||
|
2621EE4E1F602F8300D9AA4C /* catch_commandline.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE1F1F602F8200D9AA4C /* catch_commandline.cpp */; };
|
||||||
|
2621EE4F1F602F8300D9AA4C /* catch_common.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE201F602F8200D9AA4C /* catch_common.cpp */; };
|
||||||
|
2621EE501F602F8300D9AA4C /* catch_config.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE211F602F8200D9AA4C /* catch_config.cpp */; };
|
||||||
|
2621EE511F602F8300D9AA4C /* catch_console_colour.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE221F602F8200D9AA4C /* catch_console_colour.cpp */; };
|
||||||
|
2621EE521F602F8300D9AA4C /* catch_context.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE231F602F8200D9AA4C /* catch_context.cpp */; };
|
||||||
|
2621EE531F602F8300D9AA4C /* catch_debug_console.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE241F602F8200D9AA4C /* catch_debug_console.cpp */; };
|
||||||
|
2621EE541F602F8300D9AA4C /* catch_debugger.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE251F602F8200D9AA4C /* catch_debugger.cpp */; };
|
||||||
|
2621EE551F602F8300D9AA4C /* catch_decomposer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE261F602F8200D9AA4C /* catch_decomposer.cpp */; };
|
||||||
|
2621EE561F602F8300D9AA4C /* catch_errno_guard.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE271F602F8200D9AA4C /* catch_errno_guard.cpp */; };
|
||||||
|
2621EE571F602F8300D9AA4C /* catch_exception_translator_registry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE281F602F8200D9AA4C /* catch_exception_translator_registry.cpp */; };
|
||||||
|
2621EE581F602F8300D9AA4C /* catch_fatal_condition.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE291F602F8200D9AA4C /* catch_fatal_condition.cpp */; };
|
||||||
|
2621EE591F602F8300D9AA4C /* catch_interfaces_reporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE2A1F602F8200D9AA4C /* catch_interfaces_reporter.cpp */; };
|
||||||
|
2621EE5A1F602F8300D9AA4C /* catch_leak_detector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE2B1F602F8300D9AA4C /* catch_leak_detector.cpp */; };
|
||||||
|
2621EE5B1F602F8300D9AA4C /* catch_list.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE2C1F602F8300D9AA4C /* catch_list.cpp */; };
|
||||||
|
2621EE5C1F602F8300D9AA4C /* catch_matchers_string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE2D1F602F8300D9AA4C /* catch_matchers_string.cpp */; };
|
||||||
|
2621EE5D1F602F8300D9AA4C /* catch_matchers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE2E1F602F8300D9AA4C /* catch_matchers.cpp */; };
|
||||||
|
2621EE5E1F602F8300D9AA4C /* catch_message.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE2F1F602F8300D9AA4C /* catch_message.cpp */; };
|
||||||
|
2621EE5F1F602F8300D9AA4C /* catch_random_number_generator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE301F602F8300D9AA4C /* catch_random_number_generator.cpp */; };
|
||||||
|
2621EE601F602F8300D9AA4C /* catch_registry_hub.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE311F602F8300D9AA4C /* catch_registry_hub.cpp */; };
|
||||||
|
2621EE611F602F8300D9AA4C /* catch_result_type.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE321F602F8300D9AA4C /* catch_result_type.cpp */; };
|
||||||
|
2621EE621F602F8300D9AA4C /* catch_run_context.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE331F602F8300D9AA4C /* catch_run_context.cpp */; };
|
||||||
|
2621EE631F602F8300D9AA4C /* catch_section_info.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE341F602F8300D9AA4C /* catch_section_info.cpp */; };
|
||||||
|
2621EE641F602F8300D9AA4C /* catch_section.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE351F602F8300D9AA4C /* catch_section.cpp */; };
|
||||||
|
2621EE651F602F8300D9AA4C /* catch_session.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE361F602F8300D9AA4C /* catch_session.cpp */; };
|
||||||
|
2621EE661F602F8300D9AA4C /* catch_startup_exception_registry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE371F602F8300D9AA4C /* catch_startup_exception_registry.cpp */; };
|
||||||
|
2621EE671F602F8300D9AA4C /* catch_stream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE381F602F8300D9AA4C /* catch_stream.cpp */; };
|
||||||
|
2621EE681F602F8300D9AA4C /* catch_string_manip.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE391F602F8300D9AA4C /* catch_string_manip.cpp */; };
|
||||||
|
2621EE691F602F8300D9AA4C /* catch_stringref.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE3A1F602F8300D9AA4C /* catch_stringref.cpp */; };
|
||||||
|
2621EE6A1F602F8300D9AA4C /* catch_tag_alias_autoregistrar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE3B1F602F8300D9AA4C /* catch_tag_alias_autoregistrar.cpp */; };
|
||||||
|
2621EE6B1F602F8300D9AA4C /* catch_tag_alias_registry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE3C1F602F8300D9AA4C /* catch_tag_alias_registry.cpp */; };
|
||||||
|
2621EE6C1F602F8300D9AA4C /* catch_tag_alias.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE3D1F602F8300D9AA4C /* catch_tag_alias.cpp */; };
|
||||||
|
2621EE6D1F602F8300D9AA4C /* catch_test_case_info.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE3E1F602F8300D9AA4C /* catch_test_case_info.cpp */; };
|
||||||
|
2621EE6E1F602F8300D9AA4C /* catch_test_case_registry_impl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE3F1F602F8300D9AA4C /* catch_test_case_registry_impl.cpp */; };
|
||||||
|
2621EE6F1F602F8300D9AA4C /* catch_test_case_tracker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE401F602F8300D9AA4C /* catch_test_case_tracker.cpp */; };
|
||||||
|
2621EE701F602F8300D9AA4C /* catch_test_registry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE411F602F8300D9AA4C /* catch_test_registry.cpp */; };
|
||||||
|
2621EE711F602F8300D9AA4C /* catch_test_spec_parser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE421F602F8300D9AA4C /* catch_test_spec_parser.cpp */; };
|
||||||
|
2621EE721F602F8300D9AA4C /* catch_test_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE431F602F8300D9AA4C /* catch_test_spec.cpp */; };
|
||||||
|
2621EE731F602F8300D9AA4C /* catch_timer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE441F602F8300D9AA4C /* catch_timer.cpp */; };
|
||||||
|
2621EE741F602F8300D9AA4C /* catch_tostring.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE451F602F8300D9AA4C /* catch_tostring.cpp */; };
|
||||||
|
2621EE751F602F8300D9AA4C /* catch_totals.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE461F602F8300D9AA4C /* catch_totals.cpp */; };
|
||||||
|
2621EE761F602F8300D9AA4C /* catch_version.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE471F602F8300D9AA4C /* catch_version.cpp */; };
|
||||||
|
2621EE771F602F8300D9AA4C /* catch_wildcard_pattern.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE481F602F8300D9AA4C /* catch_wildcard_pattern.cpp */; };
|
||||||
|
2621EE781F602F8300D9AA4C /* catch_xmlwriter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE491F602F8300D9AA4C /* catch_xmlwriter.cpp */; };
|
||||||
|
2621EE7F1F60360800D9AA4C /* catch_reporter_bases.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE791F60360800D9AA4C /* catch_reporter_bases.cpp */; };
|
||||||
|
2621EE801F60360800D9AA4C /* catch_reporter_compact.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE7A1F60360800D9AA4C /* catch_reporter_compact.cpp */; };
|
||||||
|
2621EE811F60360800D9AA4C /* catch_reporter_console.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE7B1F60360800D9AA4C /* catch_reporter_console.cpp */; };
|
||||||
|
2621EE821F60360800D9AA4C /* catch_reporter_junit.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE7C1F60360800D9AA4C /* catch_reporter_junit.cpp */; };
|
||||||
|
2621EE831F60360800D9AA4C /* catch_reporter_multi.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE7D1F60360800D9AA4C /* catch_reporter_multi.cpp */; };
|
||||||
|
2621EE841F60360800D9AA4C /* catch_reporter_xml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2621EE7E1F60360800D9AA4C /* catch_reporter_xml.cpp */; };
|
||||||
|
4A63D2AC14E3C1A900F615CB /* OCTest.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4A63D2AB14E3C1A900F615CB /* OCTest.1 */; };
|
||||||
|
4A63D2B314E3C1E600F615CB /* Main.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4A63D2B214E3C1E600F615CB /* Main.mm */; };
|
||||||
|
4A63D2C014E4544700F615CB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4A63D2BF14E4544700F615CB /* Foundation.framework */; };
|
||||||
|
4A63D2C614E454CC00F615CB /* CatchOCTestCase.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4A63D2C214E454CC00F615CB /* CatchOCTestCase.mm */; };
|
||||||
|
4A63D2C714E454CC00F615CB /* OCTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4A63D2C314E454CC00F615CB /* OCTest.mm */; };
|
||||||
|
4A63D2C814E454CC00F615CB /* TestObj.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A63D2C514E454CC00F615CB /* TestObj.m */; };
|
||||||
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
|
/* Begin PBXCopyFilesBuildPhase section */
|
||||||
|
4A63D2A314E3C1A900F615CB /* CopyFiles */ = {
|
||||||
|
isa = PBXCopyFilesBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
dstPath = /usr/share/man/man1/;
|
||||||
|
dstSubfolderSpec = 0;
|
||||||
|
files = (
|
||||||
|
4A63D2AC14E3C1A900F615CB /* OCTest.1 in CopyFiles */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 1;
|
||||||
|
};
|
||||||
|
/* End PBXCopyFilesBuildPhase section */
|
||||||
|
|
||||||
|
/* Begin PBXFileReference section */
|
||||||
|
2621EE191F602F2C00D9AA4C /* catch_approx.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_approx.cpp; path = ../../../include/internal/catch_approx.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE1B1F602F8200D9AA4C /* catch_assertionhandler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_assertionhandler.cpp; path = ../../../include/internal/catch_assertionhandler.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE1C1F602F8200D9AA4C /* catch_assertionresult.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_assertionresult.cpp; path = ../../../include/internal/catch_assertionresult.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE1D1F602F8200D9AA4C /* catch_benchmark.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_benchmark.cpp; path = ../../../include/internal/catch_benchmark.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE1E1F602F8200D9AA4C /* catch_capture_matchers.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_capture_matchers.cpp; path = ../../../include/internal/catch_capture_matchers.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE1F1F602F8200D9AA4C /* catch_commandline.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_commandline.cpp; path = ../../../include/internal/catch_commandline.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE201F602F8200D9AA4C /* catch_common.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_common.cpp; path = ../../../include/internal/catch_common.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE211F602F8200D9AA4C /* catch_config.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_config.cpp; path = ../../../include/internal/catch_config.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE221F602F8200D9AA4C /* catch_console_colour.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_console_colour.cpp; path = ../../../include/internal/catch_console_colour.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE231F602F8200D9AA4C /* catch_context.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_context.cpp; path = ../../../include/internal/catch_context.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE241F602F8200D9AA4C /* catch_debug_console.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_debug_console.cpp; path = ../../../include/internal/catch_debug_console.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE251F602F8200D9AA4C /* catch_debugger.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_debugger.cpp; path = ../../../include/internal/catch_debugger.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE261F602F8200D9AA4C /* catch_decomposer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_decomposer.cpp; path = ../../../include/internal/catch_decomposer.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE271F602F8200D9AA4C /* catch_errno_guard.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_errno_guard.cpp; path = ../../../include/internal/catch_errno_guard.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE281F602F8200D9AA4C /* catch_exception_translator_registry.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_exception_translator_registry.cpp; path = ../../../include/internal/catch_exception_translator_registry.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE291F602F8200D9AA4C /* catch_fatal_condition.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_fatal_condition.cpp; path = ../../../include/internal/catch_fatal_condition.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE2A1F602F8200D9AA4C /* catch_interfaces_reporter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_interfaces_reporter.cpp; path = ../../../include/internal/catch_interfaces_reporter.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE2B1F602F8300D9AA4C /* catch_leak_detector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_leak_detector.cpp; path = ../../../include/internal/catch_leak_detector.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE2C1F602F8300D9AA4C /* catch_list.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_list.cpp; path = ../../../include/internal/catch_list.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE2D1F602F8300D9AA4C /* catch_matchers_string.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_matchers_string.cpp; path = ../../../include/internal/catch_matchers_string.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE2E1F602F8300D9AA4C /* catch_matchers.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_matchers.cpp; path = ../../../include/internal/catch_matchers.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE2F1F602F8300D9AA4C /* catch_message.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_message.cpp; path = ../../../include/internal/catch_message.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE301F602F8300D9AA4C /* catch_random_number_generator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_random_number_generator.cpp; path = ../../../include/internal/catch_random_number_generator.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE311F602F8300D9AA4C /* catch_registry_hub.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_registry_hub.cpp; path = ../../../include/internal/catch_registry_hub.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE321F602F8300D9AA4C /* catch_result_type.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_result_type.cpp; path = ../../../include/internal/catch_result_type.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE331F602F8300D9AA4C /* catch_run_context.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_run_context.cpp; path = ../../../include/internal/catch_run_context.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE341F602F8300D9AA4C /* catch_section_info.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_section_info.cpp; path = ../../../include/internal/catch_section_info.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE351F602F8300D9AA4C /* catch_section.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_section.cpp; path = ../../../include/internal/catch_section.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE361F602F8300D9AA4C /* catch_session.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_session.cpp; path = ../../../include/internal/catch_session.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE371F602F8300D9AA4C /* catch_startup_exception_registry.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_startup_exception_registry.cpp; path = ../../../include/internal/catch_startup_exception_registry.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE381F602F8300D9AA4C /* catch_stream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_stream.cpp; path = ../../../include/internal/catch_stream.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE391F602F8300D9AA4C /* catch_string_manip.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_string_manip.cpp; path = ../../../include/internal/catch_string_manip.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE3A1F602F8300D9AA4C /* catch_stringref.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_stringref.cpp; path = ../../../include/internal/catch_stringref.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE3B1F602F8300D9AA4C /* catch_tag_alias_autoregistrar.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_tag_alias_autoregistrar.cpp; path = ../../../include/internal/catch_tag_alias_autoregistrar.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE3C1F602F8300D9AA4C /* catch_tag_alias_registry.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_tag_alias_registry.cpp; path = ../../../include/internal/catch_tag_alias_registry.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE3D1F602F8300D9AA4C /* catch_tag_alias.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_tag_alias.cpp; path = ../../../include/internal/catch_tag_alias.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE3E1F602F8300D9AA4C /* catch_test_case_info.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_test_case_info.cpp; path = ../../../include/internal/catch_test_case_info.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE3F1F602F8300D9AA4C /* catch_test_case_registry_impl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_test_case_registry_impl.cpp; path = ../../../include/internal/catch_test_case_registry_impl.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE401F602F8300D9AA4C /* catch_test_case_tracker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_test_case_tracker.cpp; path = ../../../include/internal/catch_test_case_tracker.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE411F602F8300D9AA4C /* catch_test_registry.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_test_registry.cpp; path = ../../../include/internal/catch_test_registry.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE421F602F8300D9AA4C /* catch_test_spec_parser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_test_spec_parser.cpp; path = ../../../include/internal/catch_test_spec_parser.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE431F602F8300D9AA4C /* catch_test_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_test_spec.cpp; path = ../../../include/internal/catch_test_spec.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE441F602F8300D9AA4C /* catch_timer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_timer.cpp; path = ../../../include/internal/catch_timer.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE451F602F8300D9AA4C /* catch_tostring.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_tostring.cpp; path = ../../../include/internal/catch_tostring.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE461F602F8300D9AA4C /* catch_totals.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_totals.cpp; path = ../../../include/internal/catch_totals.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE471F602F8300D9AA4C /* catch_version.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_version.cpp; path = ../../../include/internal/catch_version.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE481F602F8300D9AA4C /* catch_wildcard_pattern.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_wildcard_pattern.cpp; path = ../../../include/internal/catch_wildcard_pattern.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE491F602F8300D9AA4C /* catch_xmlwriter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_xmlwriter.cpp; path = ../../../include/internal/catch_xmlwriter.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE791F60360800D9AA4C /* catch_reporter_bases.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_reporter_bases.cpp; path = ../../../include/reporters/catch_reporter_bases.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE7A1F60360800D9AA4C /* catch_reporter_compact.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_reporter_compact.cpp; path = ../../../include/reporters/catch_reporter_compact.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE7B1F60360800D9AA4C /* catch_reporter_console.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_reporter_console.cpp; path = ../../../include/reporters/catch_reporter_console.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE7C1F60360800D9AA4C /* catch_reporter_junit.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_reporter_junit.cpp; path = ../../../include/reporters/catch_reporter_junit.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE7D1F60360800D9AA4C /* catch_reporter_multi.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_reporter_multi.cpp; path = ../../../include/reporters/catch_reporter_multi.cpp; sourceTree = "<group>"; };
|
||||||
|
2621EE7E1F60360800D9AA4C /* catch_reporter_xml.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = catch_reporter_xml.cpp; path = ../../../include/reporters/catch_reporter_xml.cpp; sourceTree = "<group>"; };
|
||||||
|
4A63D2A514E3C1A900F615CB /* OCTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = OCTest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
4A63D2AB14E3C1A900F615CB /* OCTest.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = OCTest.1; sourceTree = "<group>"; };
|
||||||
|
4A63D2B214E3C1E600F615CB /* Main.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = Main.mm; sourceTree = "<group>"; };
|
||||||
|
4A63D2BF14E4544700F615CB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||||
|
4A63D2C114E454CC00F615CB /* CatchOCTestCase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CatchOCTestCase.h; sourceTree = "<group>"; };
|
||||||
|
4A63D2C214E454CC00F615CB /* CatchOCTestCase.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CatchOCTestCase.mm; sourceTree = "<group>"; };
|
||||||
|
4A63D2C314E454CC00F615CB /* OCTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = OCTest.mm; sourceTree = "<group>"; };
|
||||||
|
4A63D2C414E454CC00F615CB /* TestObj.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestObj.h; sourceTree = "<group>"; };
|
||||||
|
4A63D2C514E454CC00F615CB /* TestObj.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestObj.m; sourceTree = "<group>"; };
|
||||||
|
4AA0D951154C0A7A004B4193 /* catch_objc.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = catch_objc.hpp; path = ../../../include/internal/catch_objc.hpp; sourceTree = "<group>"; };
|
||||||
|
4ABEA80615C90E10009F0424 /* catch_objc_arc.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = catch_objc_arc.hpp; path = ../../../include/internal/catch_objc_arc.hpp; sourceTree = "<group>"; };
|
||||||
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
|
4A63D2A214E3C1A900F615CB /* Frameworks */ = {
|
||||||
|
isa = PBXFrameworksBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
4A63D2C014E4544700F615CB /* Foundation.framework in Frameworks */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
/* End PBXFrameworksBuildPhase section */
|
||||||
|
|
||||||
|
/* Begin PBXGroup section */
|
||||||
|
4A63D29A14E3C1A900F615CB = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
4AA0D94F154C0A63004B4193 /* Catch */,
|
||||||
|
4A63D2BF14E4544700F615CB /* Foundation.framework */,
|
||||||
|
4A63D2A814E3C1A900F615CB /* OCTest */,
|
||||||
|
4A63D2A614E3C1A900F615CB /* Products */,
|
||||||
|
);
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
4A63D2A614E3C1A900F615CB /* Products */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
4A63D2A514E3C1A900F615CB /* OCTest */,
|
||||||
|
);
|
||||||
|
name = Products;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
4A63D2A814E3C1A900F615CB /* OCTest */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
4A63D2C114E454CC00F615CB /* CatchOCTestCase.h */,
|
||||||
|
4A63D2C214E454CC00F615CB /* CatchOCTestCase.mm */,
|
||||||
|
4A63D2C314E454CC00F615CB /* OCTest.mm */,
|
||||||
|
4A63D2C414E454CC00F615CB /* TestObj.h */,
|
||||||
|
4A63D2C514E454CC00F615CB /* TestObj.m */,
|
||||||
|
4A63D2B214E3C1E600F615CB /* Main.mm */,
|
||||||
|
4A63D2AB14E3C1A900F615CB /* OCTest.1 */,
|
||||||
|
);
|
||||||
|
path = OCTest;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
4AA0D94F154C0A63004B4193 /* Catch */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
2621EE791F60360800D9AA4C /* catch_reporter_bases.cpp */,
|
||||||
|
2621EE7A1F60360800D9AA4C /* catch_reporter_compact.cpp */,
|
||||||
|
2621EE7B1F60360800D9AA4C /* catch_reporter_console.cpp */,
|
||||||
|
2621EE7C1F60360800D9AA4C /* catch_reporter_junit.cpp */,
|
||||||
|
2621EE7D1F60360800D9AA4C /* catch_reporter_multi.cpp */,
|
||||||
|
2621EE7E1F60360800D9AA4C /* catch_reporter_xml.cpp */,
|
||||||
|
2621EE1B1F602F8200D9AA4C /* catch_assertionhandler.cpp */,
|
||||||
|
2621EE1C1F602F8200D9AA4C /* catch_assertionresult.cpp */,
|
||||||
|
2621EE1D1F602F8200D9AA4C /* catch_benchmark.cpp */,
|
||||||
|
2621EE1E1F602F8200D9AA4C /* catch_capture_matchers.cpp */,
|
||||||
|
2621EE1F1F602F8200D9AA4C /* catch_commandline.cpp */,
|
||||||
|
2621EE201F602F8200D9AA4C /* catch_common.cpp */,
|
||||||
|
2621EE211F602F8200D9AA4C /* catch_config.cpp */,
|
||||||
|
2621EE221F602F8200D9AA4C /* catch_console_colour.cpp */,
|
||||||
|
2621EE231F602F8200D9AA4C /* catch_context.cpp */,
|
||||||
|
2621EE241F602F8200D9AA4C /* catch_debug_console.cpp */,
|
||||||
|
2621EE251F602F8200D9AA4C /* catch_debugger.cpp */,
|
||||||
|
2621EE261F602F8200D9AA4C /* catch_decomposer.cpp */,
|
||||||
|
2621EE271F602F8200D9AA4C /* catch_errno_guard.cpp */,
|
||||||
|
2621EE281F602F8200D9AA4C /* catch_exception_translator_registry.cpp */,
|
||||||
|
2621EE291F602F8200D9AA4C /* catch_fatal_condition.cpp */,
|
||||||
|
2621EE2A1F602F8200D9AA4C /* catch_interfaces_reporter.cpp */,
|
||||||
|
2621EE2B1F602F8300D9AA4C /* catch_leak_detector.cpp */,
|
||||||
|
2621EE2C1F602F8300D9AA4C /* catch_list.cpp */,
|
||||||
|
2621EE2D1F602F8300D9AA4C /* catch_matchers_string.cpp */,
|
||||||
|
2621EE2E1F602F8300D9AA4C /* catch_matchers.cpp */,
|
||||||
|
2621EE2F1F602F8300D9AA4C /* catch_message.cpp */,
|
||||||
|
2621EE301F602F8300D9AA4C /* catch_random_number_generator.cpp */,
|
||||||
|
2621EE311F602F8300D9AA4C /* catch_registry_hub.cpp */,
|
||||||
|
2621EE321F602F8300D9AA4C /* catch_result_type.cpp */,
|
||||||
|
2621EE331F602F8300D9AA4C /* catch_run_context.cpp */,
|
||||||
|
2621EE341F602F8300D9AA4C /* catch_section_info.cpp */,
|
||||||
|
2621EE351F602F8300D9AA4C /* catch_section.cpp */,
|
||||||
|
2621EE361F602F8300D9AA4C /* catch_session.cpp */,
|
||||||
|
2621EE371F602F8300D9AA4C /* catch_startup_exception_registry.cpp */,
|
||||||
|
2621EE381F602F8300D9AA4C /* catch_stream.cpp */,
|
||||||
|
2621EE391F602F8300D9AA4C /* catch_string_manip.cpp */,
|
||||||
|
2621EE3A1F602F8300D9AA4C /* catch_stringref.cpp */,
|
||||||
|
2621EE3B1F602F8300D9AA4C /* catch_tag_alias_autoregistrar.cpp */,
|
||||||
|
2621EE3C1F602F8300D9AA4C /* catch_tag_alias_registry.cpp */,
|
||||||
|
2621EE3D1F602F8300D9AA4C /* catch_tag_alias.cpp */,
|
||||||
|
2621EE3E1F602F8300D9AA4C /* catch_test_case_info.cpp */,
|
||||||
|
2621EE3F1F602F8300D9AA4C /* catch_test_case_registry_impl.cpp */,
|
||||||
|
2621EE401F602F8300D9AA4C /* catch_test_case_tracker.cpp */,
|
||||||
|
2621EE411F602F8300D9AA4C /* catch_test_registry.cpp */,
|
||||||
|
2621EE421F602F8300D9AA4C /* catch_test_spec_parser.cpp */,
|
||||||
|
2621EE431F602F8300D9AA4C /* catch_test_spec.cpp */,
|
||||||
|
2621EE441F602F8300D9AA4C /* catch_timer.cpp */,
|
||||||
|
2621EE451F602F8300D9AA4C /* catch_tostring.cpp */,
|
||||||
|
2621EE461F602F8300D9AA4C /* catch_totals.cpp */,
|
||||||
|
2621EE471F602F8300D9AA4C /* catch_version.cpp */,
|
||||||
|
2621EE481F602F8300D9AA4C /* catch_wildcard_pattern.cpp */,
|
||||||
|
2621EE491F602F8300D9AA4C /* catch_xmlwriter.cpp */,
|
||||||
|
2621EE191F602F2C00D9AA4C /* catch_approx.cpp */,
|
||||||
|
4ABEA80615C90E10009F0424 /* catch_objc_arc.hpp */,
|
||||||
|
4AA0D951154C0A7A004B4193 /* catch_objc.hpp */,
|
||||||
|
);
|
||||||
|
name = Catch;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
/* End PBXGroup section */
|
||||||
|
|
||||||
|
/* Begin PBXNativeTarget section */
|
||||||
|
4A63D2A414E3C1A900F615CB /* OCTest */ = {
|
||||||
|
isa = PBXNativeTarget;
|
||||||
|
buildConfigurationList = 4A63D2AF14E3C1A900F615CB /* Build configuration list for PBXNativeTarget "OCTest" */;
|
||||||
|
buildPhases = (
|
||||||
|
4A63D2A114E3C1A900F615CB /* Sources */,
|
||||||
|
4A63D2A214E3C1A900F615CB /* Frameworks */,
|
||||||
|
4A63D2A314E3C1A900F615CB /* CopyFiles */,
|
||||||
|
);
|
||||||
|
buildRules = (
|
||||||
|
);
|
||||||
|
dependencies = (
|
||||||
|
);
|
||||||
|
name = OCTest;
|
||||||
|
productName = OCTest;
|
||||||
|
productReference = 4A63D2A514E3C1A900F615CB /* OCTest */;
|
||||||
|
productType = "com.apple.product-type.tool";
|
||||||
|
};
|
||||||
|
/* End PBXNativeTarget section */
|
||||||
|
|
||||||
|
/* Begin PBXProject section */
|
||||||
|
4A63D29C14E3C1A900F615CB /* Project object */ = {
|
||||||
|
isa = PBXProject;
|
||||||
|
attributes = {
|
||||||
|
LastUpgradeCheck = 0500;
|
||||||
|
};
|
||||||
|
buildConfigurationList = 4A63D29F14E3C1A900F615CB /* Build configuration list for PBXProject "OCTest" */;
|
||||||
|
compatibilityVersion = "Xcode 3.2";
|
||||||
|
developmentRegion = English;
|
||||||
|
hasScannedForEncodings = 0;
|
||||||
|
knownRegions = (
|
||||||
|
en,
|
||||||
|
);
|
||||||
|
mainGroup = 4A63D29A14E3C1A900F615CB;
|
||||||
|
productRefGroup = 4A63D2A614E3C1A900F615CB /* Products */;
|
||||||
|
projectDirPath = "";
|
||||||
|
projectRoot = "";
|
||||||
|
targets = (
|
||||||
|
4A63D2A414E3C1A900F615CB /* OCTest */,
|
||||||
|
);
|
||||||
|
};
|
||||||
|
/* End PBXProject section */
|
||||||
|
|
||||||
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
|
4A63D2A114E3C1A900F615CB /* Sources */ = {
|
||||||
|
isa = PBXSourcesBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
2621EE841F60360800D9AA4C /* catch_reporter_xml.cpp in Sources */,
|
||||||
|
2621EE561F602F8300D9AA4C /* catch_errno_guard.cpp in Sources */,
|
||||||
|
2621EE4F1F602F8300D9AA4C /* catch_common.cpp in Sources */,
|
||||||
|
2621EE731F602F8300D9AA4C /* catch_timer.cpp in Sources */,
|
||||||
|
2621EE6E1F602F8300D9AA4C /* catch_test_case_registry_impl.cpp in Sources */,
|
||||||
|
2621EE6F1F602F8300D9AA4C /* catch_test_case_tracker.cpp in Sources */,
|
||||||
|
2621EE6D1F602F8300D9AA4C /* catch_test_case_info.cpp in Sources */,
|
||||||
|
2621EE5A1F602F8300D9AA4C /* catch_leak_detector.cpp in Sources */,
|
||||||
|
2621EE501F602F8300D9AA4C /* catch_config.cpp in Sources */,
|
||||||
|
2621EE6A1F602F8300D9AA4C /* catch_tag_alias_autoregistrar.cpp in Sources */,
|
||||||
|
2621EE751F602F8300D9AA4C /* catch_totals.cpp in Sources */,
|
||||||
|
2621EE801F60360800D9AA4C /* catch_reporter_compact.cpp in Sources */,
|
||||||
|
4A63D2B314E3C1E600F615CB /* Main.mm in Sources */,
|
||||||
|
2621EE711F602F8300D9AA4C /* catch_test_spec_parser.cpp in Sources */,
|
||||||
|
2621EE5F1F602F8300D9AA4C /* catch_random_number_generator.cpp in Sources */,
|
||||||
|
2621EE531F602F8300D9AA4C /* catch_debug_console.cpp in Sources */,
|
||||||
|
2621EE821F60360800D9AA4C /* catch_reporter_junit.cpp in Sources */,
|
||||||
|
2621EE4C1F602F8300D9AA4C /* catch_benchmark.cpp in Sources */,
|
||||||
|
2621EE5B1F602F8300D9AA4C /* catch_list.cpp in Sources */,
|
||||||
|
2621EE581F602F8300D9AA4C /* catch_fatal_condition.cpp in Sources */,
|
||||||
|
2621EE5D1F602F8300D9AA4C /* catch_matchers.cpp in Sources */,
|
||||||
|
2621EE7F1F60360800D9AA4C /* catch_reporter_bases.cpp in Sources */,
|
||||||
|
2621EE591F602F8300D9AA4C /* catch_interfaces_reporter.cpp in Sources */,
|
||||||
|
2621EE611F602F8300D9AA4C /* catch_result_type.cpp in Sources */,
|
||||||
|
2621EE781F602F8300D9AA4C /* catch_xmlwriter.cpp in Sources */,
|
||||||
|
2621EE601F602F8300D9AA4C /* catch_registry_hub.cpp in Sources */,
|
||||||
|
2621EE5E1F602F8300D9AA4C /* catch_message.cpp in Sources */,
|
||||||
|
2621EE4B1F602F8300D9AA4C /* catch_assertionresult.cpp in Sources */,
|
||||||
|
2621EE4D1F602F8300D9AA4C /* catch_capture_matchers.cpp in Sources */,
|
||||||
|
2621EE761F602F8300D9AA4C /* catch_version.cpp in Sources */,
|
||||||
|
2621EE721F602F8300D9AA4C /* catch_test_spec.cpp in Sources */,
|
||||||
|
2621EE621F602F8300D9AA4C /* catch_run_context.cpp in Sources */,
|
||||||
|
2621EE6C1F602F8300D9AA4C /* catch_tag_alias.cpp in Sources */,
|
||||||
|
2621EE1A1F602F2C00D9AA4C /* catch_approx.cpp in Sources */,
|
||||||
|
2621EE511F602F8300D9AA4C /* catch_console_colour.cpp in Sources */,
|
||||||
|
2621EE771F602F8300D9AA4C /* catch_wildcard_pattern.cpp in Sources */,
|
||||||
|
2621EE811F60360800D9AA4C /* catch_reporter_console.cpp in Sources */,
|
||||||
|
2621EE691F602F8300D9AA4C /* catch_stringref.cpp in Sources */,
|
||||||
|
4A63D2C614E454CC00F615CB /* CatchOCTestCase.mm in Sources */,
|
||||||
|
2621EE831F60360800D9AA4C /* catch_reporter_multi.cpp in Sources */,
|
||||||
|
2621EE541F602F8300D9AA4C /* catch_debugger.cpp in Sources */,
|
||||||
|
2621EE741F602F8300D9AA4C /* catch_tostring.cpp in Sources */,
|
||||||
|
4A63D2C714E454CC00F615CB /* OCTest.mm in Sources */,
|
||||||
|
2621EE5C1F602F8300D9AA4C /* catch_matchers_string.cpp in Sources */,
|
||||||
|
2621EE4E1F602F8300D9AA4C /* catch_commandline.cpp in Sources */,
|
||||||
|
2621EE651F602F8300D9AA4C /* catch_session.cpp in Sources */,
|
||||||
|
2621EE661F602F8300D9AA4C /* catch_startup_exception_registry.cpp in Sources */,
|
||||||
|
2621EE641F602F8300D9AA4C /* catch_section.cpp in Sources */,
|
||||||
|
2621EE701F602F8300D9AA4C /* catch_test_registry.cpp in Sources */,
|
||||||
|
2621EE681F602F8300D9AA4C /* catch_string_manip.cpp in Sources */,
|
||||||
|
4A63D2C814E454CC00F615CB /* TestObj.m in Sources */,
|
||||||
|
2621EE671F602F8300D9AA4C /* catch_stream.cpp in Sources */,
|
||||||
|
2621EE551F602F8300D9AA4C /* catch_decomposer.cpp in Sources */,
|
||||||
|
2621EE4A1F602F8300D9AA4C /* catch_assertionhandler.cpp in Sources */,
|
||||||
|
2621EE631F602F8300D9AA4C /* catch_section_info.cpp in Sources */,
|
||||||
|
2621EE521F602F8300D9AA4C /* catch_context.cpp in Sources */,
|
||||||
|
2621EE571F602F8300D9AA4C /* catch_exception_translator_registry.cpp in Sources */,
|
||||||
|
2621EE6B1F602F8300D9AA4C /* catch_tag_alias_registry.cpp in Sources */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
/* End PBXSourcesBuildPhase section */
|
||||||
|
|
||||||
|
/* Begin XCBuildConfiguration section */
|
||||||
|
4A63D2AD14E3C1A900F615CB /* Debug */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||||
|
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_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||||
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||||
|
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
|
||||||
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||||
|
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||||
|
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||||
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
|
HEADER_SEARCH_PATHS = ../../../include;
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
|
SDKROOT = macosx;
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
4A63D2AE14E3C1A900F615CB /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||||
|
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_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||||
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||||
|
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
|
||||||
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||||
|
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||||
|
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||||
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
|
HEADER_SEARCH_PATHS = ../../../include;
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
|
SDKROOT = macosx;
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
|
4A63D2B014E3C1A900F615CB /* Debug */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
||||||
|
CLANG_CXX_LIBRARY = "libc++";
|
||||||
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
|
HEADER_SEARCH_PATHS = ../../../include;
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
4A63D2B114E3C1A900F615CB /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
||||||
|
CLANG_CXX_LIBRARY = "libc++";
|
||||||
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
|
HEADER_SEARCH_PATHS = ../../../include;
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
|
/* End XCBuildConfiguration section */
|
||||||
|
|
||||||
|
/* Begin XCConfigurationList section */
|
||||||
|
4A63D29F14E3C1A900F615CB /* Build configuration list for PBXProject "OCTest" */ = {
|
||||||
|
isa = XCConfigurationList;
|
||||||
|
buildConfigurations = (
|
||||||
|
4A63D2AD14E3C1A900F615CB /* Debug */,
|
||||||
|
4A63D2AE14E3C1A900F615CB /* Release */,
|
||||||
|
);
|
||||||
|
defaultConfigurationIsVisible = 0;
|
||||||
|
defaultConfigurationName = Release;
|
||||||
|
};
|
||||||
|
4A63D2AF14E3C1A900F615CB /* Build configuration list for PBXNativeTarget "OCTest" */ = {
|
||||||
|
isa = XCConfigurationList;
|
||||||
|
buildConfigurations = (
|
||||||
|
4A63D2B014E3C1A900F615CB /* Debug */,
|
||||||
|
4A63D2B114E3C1A900F615CB /* Release */,
|
||||||
|
);
|
||||||
|
defaultConfigurationIsVisible = 0;
|
||||||
|
defaultConfigurationName = Release;
|
||||||
|
};
|
||||||
|
/* End XCConfigurationList section */
|
||||||
|
};
|
||||||
|
rootObject = 4A63D29C14E3C1A900F615CB /* Project object */;
|
||||||
|
}
|
7
projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
7
projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Workspace
|
||||||
|
version = "1.0">
|
||||||
|
<FileRef
|
||||||
|
location = "self:OCTest.xcodeproj">
|
||||||
|
</FileRef>
|
||||||
|
</Workspace>
|
25
projects/XCode/OCTest/OCTest/CatchOCTestCase.h
Normal file
25
projects/XCode/OCTest/OCTest/CatchOCTestCase.h
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
//
|
||||||
|
// CatchOCTestCase.h
|
||||||
|
// OCTest
|
||||||
|
//
|
||||||
|
// Created by Phil on 13/11/2010.
|
||||||
|
// Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
#ifndef TWOBLUECUBES_CATCHOCTESTCASE_H_INCLUDED
|
||||||
|
#define TWOBLUECUBES_CATCHOCTESTCASE_H_INCLUDED
|
||||||
|
|
||||||
|
#include "catch.hpp"
|
||||||
|
|
||||||
|
#import <Cocoa/Cocoa.h>
|
||||||
|
#import "TestObj.h"
|
||||||
|
|
||||||
|
@interface TestFixture : NSObject <OcFixture>
|
||||||
|
{
|
||||||
|
TestObj* obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif // TWOBLUECUBES_CATCHOCTESTCASE_H_INCLUDED
|
87
projects/XCode/OCTest/OCTest/CatchOCTestCase.mm
Normal file
87
projects/XCode/OCTest/OCTest/CatchOCTestCase.mm
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
//
|
||||||
|
// CatchOCTestCase.mm
|
||||||
|
// OCTest
|
||||||
|
//
|
||||||
|
// Created by Phil Nash on 13/11/2010.
|
||||||
|
// Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
#import "CatchOCTestCase.h"
|
||||||
|
|
||||||
|
|
||||||
|
@implementation TestFixture
|
||||||
|
|
||||||
|
|
||||||
|
-(void) setUp
|
||||||
|
{
|
||||||
|
obj = [[TestObj alloc] init];
|
||||||
|
}
|
||||||
|
|
||||||
|
-(void) tearDown
|
||||||
|
{
|
||||||
|
arcSafeRelease( obj );
|
||||||
|
}
|
||||||
|
|
||||||
|
OC_TEST_CASE( "This is a test case", "" )
|
||||||
|
{
|
||||||
|
REQUIRE( obj.int_val == 0 );
|
||||||
|
|
||||||
|
obj.int_val = 1;
|
||||||
|
|
||||||
|
REQUIRE( obj.int_val == 1 );
|
||||||
|
}
|
||||||
|
|
||||||
|
OC_TEST_CASE( "This is another test case", "" )
|
||||||
|
{
|
||||||
|
REQUIRE( obj.int_val == 0 );
|
||||||
|
|
||||||
|
obj.int_val = 2;
|
||||||
|
|
||||||
|
REQUIRE( obj.int_val == 2 );
|
||||||
|
}
|
||||||
|
|
||||||
|
OC_TEST_CASE( "tests a boolean value", "[!shouldfail]" )
|
||||||
|
{
|
||||||
|
CHECK( [obj isTrue] == NO );
|
||||||
|
CHECK( [obj isFalse] == YES );
|
||||||
|
}
|
||||||
|
|
||||||
|
OC_TEST_CASE( "throws an Objective-C exception", "[!throws][!shouldfail]" )
|
||||||
|
{
|
||||||
|
@throw [[NSException alloc] initWithName: NSGenericException
|
||||||
|
reason: @"Objective-C exception"
|
||||||
|
userInfo: nil];
|
||||||
|
}
|
||||||
|
OC_TEST_CASE( "throws a std c++ exception", "[!throws][!shouldfail]" )
|
||||||
|
{
|
||||||
|
throw std::domain_error( "std C++ exception" );
|
||||||
|
}
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
template<typename T>
|
||||||
|
void useObject( const T& object ){}
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
void useObject( const T* object ){}
|
||||||
|
|
||||||
|
OC_TEST_CASE( "Matches work with OC types (NSString so far)", "[!shouldfail]" )
|
||||||
|
{
|
||||||
|
using namespace Catch::Matchers;
|
||||||
|
|
||||||
|
REQUIRE_THAT( @"This is a string", Equals( @"This isnt a string" ) );
|
||||||
|
REQUIRE_THAT( @"This is a string", Contains( @"is a" ) );
|
||||||
|
REQUIRE_THAT( @"This is a string", StartsWith( @"This" ) );
|
||||||
|
REQUIRE_THAT( @"This is a string", EndsWith( @"string" ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
OC_TEST_CASE( "nil NSString should not crash the test", "[!shouldfail]" )
|
||||||
|
{
|
||||||
|
using namespace Catch::Matchers;
|
||||||
|
|
||||||
|
CHECK_THAT( (NSString*)nil, Equals( @"This should fail, but not crash" ) );
|
||||||
|
CHECK_THAT( (NSString*)nil, StartsWith( @"anything" ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
2
projects/XCode/OCTest/OCTest/Main.mm
Normal file
2
projects/XCode/OCTest/OCTest/Main.mm
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#define CATCH_CONFIG_MAIN
|
||||||
|
#import "catch.hpp"
|
79
projects/XCode/OCTest/OCTest/OCTest.1
Normal file
79
projects/XCode/OCTest/OCTest/OCTest.1
Normal file
@ -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 09/02/2012 \" DATE
|
||||||
|
.Dt OCTest 1 \" Program name and manual section number
|
||||||
|
.Os Darwin
|
||||||
|
.Sh NAME \" Section Header - required - don't modify
|
||||||
|
.Nm OCTest,
|
||||||
|
.\" 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
|
28
projects/XCode/OCTest/OCTest/OCTest.mm
Normal file
28
projects/XCode/OCTest/OCTest/OCTest.mm
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* OCTest.mm
|
||||||
|
* OCTest
|
||||||
|
*
|
||||||
|
* Created by Phil on 13/11/2010.
|
||||||
|
* Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
|
||||||
|
*
|
||||||
|
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#import "catch.hpp"
|
||||||
|
|
||||||
|
#import "TestObj.h"
|
||||||
|
|
||||||
|
TEST_CASE( "OCTest/TestObj", "tests TestObj" )
|
||||||
|
{
|
||||||
|
TestObj* obj = [[TestObj alloc] init];
|
||||||
|
|
||||||
|
REQUIRE( obj.int_val == 0 );
|
||||||
|
|
||||||
|
obj.int_val = 1;
|
||||||
|
|
||||||
|
REQUIRE( obj.int_val == 1 );
|
||||||
|
|
||||||
|
arcSafeRelease( obj );
|
||||||
|
}
|
28
projects/XCode/OCTest/OCTest/TestObj.h
Normal file
28
projects/XCode/OCTest/OCTest/TestObj.h
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
//
|
||||||
|
// TestObj.h
|
||||||
|
// OCTest
|
||||||
|
//
|
||||||
|
// Created by Phil on 13/11/2010.
|
||||||
|
// Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
#ifndef TWOBLUECUBES_TESTOBJ_H_INCLUDED
|
||||||
|
#define TWOBLUECUBES_TESTOBJ_H_INCLUDED
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
|
||||||
|
@interface TestObj : NSObject {
|
||||||
|
|
||||||
|
int int_val;
|
||||||
|
}
|
||||||
|
|
||||||
|
-(BOOL) isTrue;
|
||||||
|
-(BOOL) isFalse;
|
||||||
|
|
||||||
|
@property (nonatomic, assign ) int int_val;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif // TWOBLUECUBES_TESTOBJ_H_INCLUDED
|
25
projects/XCode/OCTest/OCTest/TestObj.m
Normal file
25
projects/XCode/OCTest/OCTest/TestObj.m
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
//
|
||||||
|
// TestObj.m
|
||||||
|
// OCTest
|
||||||
|
//
|
||||||
|
// Created by Phil on 13/11/2010.
|
||||||
|
// Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
#import "TestObj.h"
|
||||||
|
|
||||||
|
|
||||||
|
@implementation TestObj
|
||||||
|
|
||||||
|
@synthesize int_val;
|
||||||
|
|
||||||
|
-(BOOL) isTrue {
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
-(BOOL) isFalse {
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
Loading…
Reference in New Issue
Block a user