diff --git a/.gitignore b/.gitignore index 1391d1b041..f94f644e50 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,7 @@ Docs/API Examples/RKDiscussionBoardExample/discussion_board_backend/public/system/attachments/* -test-reports/ \ No newline at end of file +test-reports/ + +# CocoaPods +Pods diff --git a/Gemfile b/Gemfile index 3863206d65..9ac5145327 100644 --- a/Gemfile +++ b/Gemfile @@ -8,3 +8,4 @@ gem 'xcoder', :git => "git://github.com/rayh/xcoder.git" gem 'restkit', :git => 'git://github.com/RestKit/RestKit-Gem.git' gem 'debugger', '1.2.0' gem 'faker', '1.1.2' +gem 'cocoapods', '0.15.0' diff --git a/Gemfile.lock b/Gemfile.lock index f1fb6772f2..c8bcf99075 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -27,7 +27,22 @@ GIT GEM remote: http://rubygems.org/ specs: + activesupport (3.2.8) + i18n (~> 0.6) + multi_json (~> 1.0) + addressable (2.3.2) builder (3.1.3) + cocoapods (0.15.0) + activesupport (~> 3.2.6) + colored (~> 1.2) + escape (~> 0.0.4) + faraday (~> 0.8.1) + json (~> 1.7.3) + octokit (~> 1.7) + open4 (~> 1.3.0) + rake (~> 0.9.0) + xcodeproj (>= 0.3.4) + colored (1.2) columnize (0.3.6) daemons (1.1.9) debugger (1.2.0) @@ -37,13 +52,28 @@ GEM debugger-linecache (1.1.2) debugger-ruby_core_source (>= 1.1.1) debugger-ruby_core_source (1.1.3) + escape (0.0.4) eventmachine (1.0.0) faker (1.1.2) i18n (~> 0.5) + faraday (0.8.4) + multipart-post (~> 1.1) + faraday_middleware (0.8.8) + faraday (>= 0.7.4, < 0.9) + hashie (1.2.0) i18n (0.6.1) json (1.7.5) mime-types (1.19) + multi_json (1.3.6) + multipart-post (1.1.5) nokogiri (1.5.5) + octokit (1.15.1) + addressable (~> 2.2) + faraday (~> 0.8) + faraday_middleware (~> 0.8) + hashie (~> 1.2) + multi_json (~> 1.3) + open4 (1.3.0) plist (3.1.0) rack (1.4.1) rack-protection (1.2.0) @@ -56,12 +86,15 @@ GEM eventmachine (>= 0.12.6) rack (>= 1.0.0) tilt (1.3.3) + xcodeproj (0.3.4) + activesupport (~> 3.2.6) PLATFORMS ruby DEPENDENCIES bundler (~> 1.2.0) + cocoapods (= 0.15.0) debugger (= 1.2.0) faker (= 1.1.2) rake (~> 0.9.0) diff --git a/Podfile b/Podfile new file mode 100644 index 0000000000..3482978a57 --- /dev/null +++ b/Podfile @@ -0,0 +1,7 @@ +platform :ios, '5.0' +link_with ['RestKitTests', 'RestKitFrameworkTests'] +inhibit_all_warnings! + +pod 'Kiwi', '1.1.0' +pod 'OCMock', '2.0.1' +pod 'OCHamcrest', '1.8' diff --git a/Podfile.lock b/Podfile.lock new file mode 100644 index 0000000000..e696813e54 --- /dev/null +++ b/Podfile.lock @@ -0,0 +1,17 @@ + +PODS: +- Kiwi (1.1.0) +- OCHamcrest (1.8) +- OCMock (2.0.1) + +DEPENDENCIES: +- Kiwi (= 1.1.0) +- OCHamcrest (= 1.8) +- OCMock (= 2.0.1) + +SPEC CHECKSUMS: + Kiwi: 9141d15cf4f52a2178139ea16722f021b4059906 + OCHamcrest: 75258b3746b118ed9de96a6a8d985546f32e0f9b + OCMock: 77a9c4c57af6bf258a537d34cf09abf422affede + +COCOAPODS: 0.15.0 diff --git a/RestKit.xcodeproj/project.pbxproj b/RestKit.xcodeproj/project.pbxproj index 92bb8681a3..c298be9280 100644 --- a/RestKit.xcodeproj/project.pbxproj +++ b/RestKit.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 0BD827D1939444AF9897B48F /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C8C87FF6727A42D68CA2220E /* libPods.a */; }; 2502C8ED15F79CF70060FD75 /* CoreData.h in Headers */ = {isa = PBXBuildFile; fileRef = 2502C8E715F79CF70060FD75 /* CoreData.h */; settings = {ATTRIBUTES = (Public, ); }; }; 2502C8EE15F79CF70060FD75 /* CoreData.h in Headers */ = {isa = PBXBuildFile; fileRef = 2502C8E715F79CF70060FD75 /* CoreData.h */; }; 2502C8EF15F79CF70060FD75 /* Network.h in Headers */ = {isa = PBXBuildFile; fileRef = 2502C8E815F79CF70060FD75 /* Network.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -42,9 +43,6 @@ 2507C328161BD5C700EA71FF /* RKTestHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 2507C325161BD5C700EA71FF /* RKTestHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; }; 2507C329161BD5C700EA71FF /* RKTestHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 2507C326161BD5C700EA71FF /* RKTestHelpers.m */; }; 2507C32A161BD5C700EA71FF /* RKTestHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 2507C326161BD5C700EA71FF /* RKTestHelpers.m */; }; - 250CA67D147D8E8B0047D347 /* OCHamcrest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 250CA67B147D8E800047D347 /* OCHamcrest.framework */; }; - 250CA67E147D8E8F0047D347 /* OCHamcrestIOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 250CA67C147D8E800047D347 /* OCHamcrestIOS.framework */; }; - 250CA680147D8F050047D347 /* OCHamcrest.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 250CA67B147D8E800047D347 /* OCHamcrest.framework */; }; 25104F1F15C30CD900829135 /* RKSearchWord.h in Headers */ = {isa = PBXBuildFile; fileRef = 25104F1315C30CD900829135 /* RKSearchWord.h */; settings = {ATTRIBUTES = (Public, ); }; }; 25104F2015C30CD900829135 /* RKSearchWord.h in Headers */ = {isa = PBXBuildFile; fileRef = 25104F1315C30CD900829135 /* RKSearchWord.h */; }; 25104F2115C30CD900829135 /* RKSearchWord.m in Sources */ = {isa = PBXBuildFile; fileRef = 25104F1415C30CD900829135 /* RKSearchWord.m */; }; @@ -468,10 +466,6 @@ 25AA23D115AF2920006EF62D /* RKManagedObjectMappingOperationDataSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 25AA23CF15AF291F006EF62D /* RKManagedObjectMappingOperationDataSource.m */; }; 25AA23D815AF5085006EF62D /* RKManagedObjectMappingOperationDataSourceTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 25AA23D315AF4F25006EF62D /* RKManagedObjectMappingOperationDataSourceTest.m */; }; 25AA23D915AF5086006EF62D /* RKManagedObjectMappingOperationDataSourceTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 25AA23D315AF4F25006EF62D /* RKManagedObjectMappingOperationDataSourceTest.m */; }; - 25AE61C615ADE9E500B319C8 /* OCClassMockRecorder.m in Sources */ = {isa = PBXBuildFile; fileRef = 25AE61BE15ADE9E500B319C8 /* OCClassMockRecorder.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25AE61C715ADE9E500B319C8 /* OCClassMockRecorder.m in Sources */ = {isa = PBXBuildFile; fileRef = 25AE61BE15ADE9E500B319C8 /* OCClassMockRecorder.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25AE61C815ADE9E500B319C8 /* OCMockClassObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25AE61C315ADE9E500B319C8 /* OCMockClassObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25AE61C915ADE9E500B319C8 /* OCMockClassObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25AE61C315ADE9E500B319C8 /* OCMockClassObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; 25AE61CA15ADEBD000B319C8 /* RKConnectionMapping.h in Headers */ = {isa = PBXBuildFile; fileRef = 8BC044C81576CE72003DCDD6 /* RKConnectionMapping.h */; settings = {ATTRIBUTES = (Public, ); }; }; 25AE61DE15ADEF5800B319C8 /* RKConnectionMapping.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BC044C91576CE72003DCDD6 /* RKConnectionMapping.m */; }; 25AFF8F115B4CF1F0051877F /* RKMappingErrors.h in Headers */ = {isa = PBXBuildFile; fileRef = 25AFF8F015B4CF1F0051877F /* RKMappingErrors.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -488,52 +482,6 @@ 25B6E95D14CF7E3C00B1E881 /* RKDynamicMappingMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 25B6E95A14CF7E3C00B1E881 /* RKDynamicMappingMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; 25B6E95E14CF7E3C00B1E881 /* RKDynamicMappingMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E95B14CF7E3C00B1E881 /* RKDynamicMappingMatcher.m */; }; 25B6E95F14CF7E3C00B1E881 /* RKDynamicMappingMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E95B14CF7E3C00B1E881 /* RKDynamicMappingMatcher.m */; }; - 25B6E9A414CF829400B1E881 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 25B6E97B14CF829400B1E881 /* InfoPlist.strings */; }; - 25B6E9A514CF829400B1E881 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 25B6E97B14CF829400B1E881 /* InfoPlist.strings */; }; - 25B6E9A614CF829400B1E881 /* NSInvocation+OCMAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E97E14CF829400B1E881 /* NSInvocation+OCMAdditions.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9A714CF829400B1E881 /* NSInvocation+OCMAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E97E14CF829400B1E881 /* NSInvocation+OCMAdditions.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9A814CF829400B1E881 /* NSMethodSignature+OCMAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98014CF829400B1E881 /* NSMethodSignature+OCMAdditions.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9A914CF829400B1E881 /* NSMethodSignature+OCMAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98014CF829400B1E881 /* NSMethodSignature+OCMAdditions.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9AA14CF829400B1E881 /* NSNotificationCenter+OCMAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98114CF829400B1E881 /* NSNotificationCenter+OCMAdditions.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9AB14CF829400B1E881 /* NSNotificationCenter+OCMAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98114CF829400B1E881 /* NSNotificationCenter+OCMAdditions.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9AC14CF829400B1E881 /* OCClassMockObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98314CF829400B1E881 /* OCClassMockObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9AD14CF829400B1E881 /* OCClassMockObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98314CF829400B1E881 /* OCClassMockObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9AE14CF829400B1E881 /* OCMArg.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98414CF829400B1E881 /* OCMArg.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9AF14CF829400B1E881 /* OCMArg.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98414CF829400B1E881 /* OCMArg.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9B014CF829400B1E881 /* OCMBlockCaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98614CF829400B1E881 /* OCMBlockCaller.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9B114CF829400B1E881 /* OCMBlockCaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98614CF829400B1E881 /* OCMBlockCaller.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9B214CF829400B1E881 /* OCMBoxedReturnValueProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98814CF829400B1E881 /* OCMBoxedReturnValueProvider.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9B314CF829400B1E881 /* OCMBoxedReturnValueProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98814CF829400B1E881 /* OCMBoxedReturnValueProvider.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9B414CF829400B1E881 /* OCMConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98914CF829400B1E881 /* OCMConstraint.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9B514CF829400B1E881 /* OCMConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98914CF829400B1E881 /* OCMConstraint.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9B614CF829400B1E881 /* OCMExceptionReturnValueProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98B14CF829400B1E881 /* OCMExceptionReturnValueProvider.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9B714CF829400B1E881 /* OCMExceptionReturnValueProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98B14CF829400B1E881 /* OCMExceptionReturnValueProvider.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9B814CF829400B1E881 /* OCMIndirectReturnValueProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98D14CF829400B1E881 /* OCMIndirectReturnValueProvider.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9B914CF829400B1E881 /* OCMIndirectReturnValueProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98D14CF829400B1E881 /* OCMIndirectReturnValueProvider.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9BA14CF829400B1E881 /* OCMNotificationPoster.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98F14CF829400B1E881 /* OCMNotificationPoster.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9BB14CF829400B1E881 /* OCMNotificationPoster.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E98F14CF829400B1E881 /* OCMNotificationPoster.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9BC14CF829400B1E881 /* OCMObserverRecorder.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99114CF829400B1E881 /* OCMObserverRecorder.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9BD14CF829400B1E881 /* OCMObserverRecorder.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99114CF829400B1E881 /* OCMObserverRecorder.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9BE14CF829400B1E881 /* OCMock-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 25B6E99214CF829400B1E881 /* OCMock-Info.plist */; }; - 25B6E9BF14CF829400B1E881 /* OCMock-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 25B6E99214CF829400B1E881 /* OCMock-Info.plist */; }; - 25B6E9C014CF829400B1E881 /* OCMockObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99414CF829400B1E881 /* OCMockObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9C114CF829400B1E881 /* OCMockObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99414CF829400B1E881 /* OCMockObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9C214CF829400B1E881 /* OCMockRecorder.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99514CF829400B1E881 /* OCMockRecorder.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9C314CF829400B1E881 /* OCMockRecorder.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99514CF829400B1E881 /* OCMockRecorder.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9C414CF829400B1E881 /* OCMPassByRefSetter.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99714CF829400B1E881 /* OCMPassByRefSetter.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9C514CF829400B1E881 /* OCMPassByRefSetter.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99714CF829400B1E881 /* OCMPassByRefSetter.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9C614CF829400B1E881 /* OCMRealObjectForwarder.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99914CF829400B1E881 /* OCMRealObjectForwarder.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9C714CF829400B1E881 /* OCMRealObjectForwarder.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99914CF829400B1E881 /* OCMRealObjectForwarder.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9C814CF829400B1E881 /* OCMReturnValueProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99B14CF829400B1E881 /* OCMReturnValueProvider.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9C914CF829400B1E881 /* OCMReturnValueProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99B14CF829400B1E881 /* OCMReturnValueProvider.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9CA14CF829400B1E881 /* OCObserverMockObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99D14CF829400B1E881 /* OCObserverMockObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9CB14CF829400B1E881 /* OCObserverMockObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99D14CF829400B1E881 /* OCObserverMockObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9CC14CF829400B1E881 /* OCPartialMockObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99F14CF829400B1E881 /* OCPartialMockObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9CD14CF829400B1E881 /* OCPartialMockObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E99F14CF829400B1E881 /* OCPartialMockObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9CE14CF829400B1E881 /* OCPartialMockRecorder.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E9A114CF829400B1E881 /* OCPartialMockRecorder.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9CF14CF829400B1E881 /* OCPartialMockRecorder.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E9A114CF829400B1E881 /* OCPartialMockRecorder.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9D014CF829400B1E881 /* OCProtocolMockObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E9A314CF829400B1E881 /* OCProtocolMockObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 25B6E9D114CF829400B1E881 /* OCProtocolMockObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E9A314CF829400B1E881 /* OCProtocolMockObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; 25B6E9DB14CF912500B1E881 /* RKSearchable.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E9D614CF912500B1E881 /* RKSearchable.m */; }; 25B6E9DC14CF912500B1E881 /* RKSearchable.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E9D614CF912500B1E881 /* RKSearchable.m */; }; 25B6E9DD14CF912500B1E881 /* RKTestAddress.m in Sources */ = {isa = PBXBuildFile; fileRef = 25B6E9D814CF912500B1E881 /* RKTestAddress.m */; }; @@ -584,6 +532,7 @@ 25FBB853159272DD00955D27 /* RKRouter.h in Headers */ = {isa = PBXBuildFile; fileRef = 25FBB850159272DD00955D27 /* RKRouter.h */; settings = {ATTRIBUTES = (Public, ); }; }; 25FBB854159272DD00955D27 /* RKRouter.m in Sources */ = {isa = PBXBuildFile; fileRef = 25FBB851159272DD00955D27 /* RKRouter.m */; }; 25FBB855159272DD00955D27 /* RKRouter.m in Sources */ = {isa = PBXBuildFile; fileRef = 25FBB851159272DD00955D27 /* RKRouter.m */; }; + 36F3D0E4FD7C4C4AA2B4FEB2 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C8C87FF6727A42D68CA2220E /* libPods.a */; }; 49D2759D14C9EF1E0090845D /* ISO8601DateFormatter.h in Headers */ = {isa = PBXBuildFile; fileRef = 49D2759914C9EF1E0090845D /* ISO8601DateFormatter.h */; settings = {ATTRIBUTES = (Public, ); }; }; 49D2759E14C9EF1E0090845D /* ISO8601DateFormatter.h in Headers */ = {isa = PBXBuildFile; fileRef = 49D2759914C9EF1E0090845D /* ISO8601DateFormatter.h */; settings = {ATTRIBUTES = (Public, ); }; }; 49D2759F14C9EF1E0090845D /* ISO8601DateFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 49D2759A14C9EF1E0090845D /* ISO8601DateFormatter.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; @@ -626,7 +575,6 @@ dstPath = ""; dstSubfolderSpec = 16; files = ( - 250CA680147D8F050047D347 /* OCHamcrest.framework in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -651,8 +599,6 @@ 25079C75151B952200266AE7 /* NSEntityDescription+RKAdditionsTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSEntityDescription+RKAdditionsTest.m"; sourceTree = ""; }; 2507C325161BD5C700EA71FF /* RKTestHelpers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RKTestHelpers.h; path = Testing/RKTestHelpers.h; sourceTree = ""; }; 2507C326161BD5C700EA71FF /* RKTestHelpers.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RKTestHelpers.m; path = Testing/RKTestHelpers.m; sourceTree = ""; }; - 250CA67B147D8E800047D347 /* OCHamcrest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = OCHamcrest.framework; sourceTree = ""; }; - 250CA67C147D8E800047D347 /* OCHamcrestIOS.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = OCHamcrestIOS.framework; sourceTree = ""; }; 25104F1315C30CD900829135 /* RKSearchWord.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKSearchWord.h; sourceTree = ""; }; 25104F1415C30CD900829135 /* RKSearchWord.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKSearchWord.m; sourceTree = ""; }; 25104F2715C30D1700829135 /* RKManagedObjectStore+RKSearchAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "RKManagedObjectStore+RKSearchAdditions.h"; sourceTree = ""; }; @@ -665,10 +611,10 @@ 25104F3A15C30F2100829135 /* RKSearchWordEntity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKSearchWordEntity.m; sourceTree = ""; }; 25119FB5154A34B400C6BC58 /* parents_and_children.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = parents_and_children.json; sourceTree = ""; }; 25160D1614564E810060A5C5 /* libRestKit.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRestKit.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 25160D1914564E810060A5C5 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 25160D1914564E810060A5C5 /* Foundation.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 25160D2614564E820060A5C5 /* RestKitTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RestKitTests.octest; sourceTree = BUILT_PRODUCTS_DIR; }; - 25160D2714564E820060A5C5 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; - 25160D2914564E820060A5C5 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; + 25160D2714564E820060A5C5 /* SenTestingKit.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + 25160D2914564E820060A5C5 /* UIKit.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 25160D4C145650490060A5C5 /* RKEntityMapping.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKEntityMapping.h; sourceTree = ""; }; 25160D4D145650490060A5C5 /* RKEntityMapping.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKEntityMapping.m; sourceTree = ""; }; 25160D50145650490060A5C5 /* RKManagedObjectImporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKManagedObjectImporter.h; sourceTree = ""; }; @@ -714,7 +660,7 @@ 25160DC6145650490060A5C5 /* RKPathMatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKPathMatcher.h; sourceTree = ""; }; 25160DC7145650490060A5C5 /* RKPathMatcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKPathMatcher.m; sourceTree = ""; }; 25160E62145651060060A5C5 /* RestKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RestKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 25160E63145651060060A5C5 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; }; + 25160E63145651060060A5C5 /* Cocoa.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; }; 25160E66145651060060A5C5 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 25160E67145651060060A5C5 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; 25160E68145651060060A5C5 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; @@ -726,7 +672,7 @@ 25160EB11456532C0060A5C5 /* LCLNSLog_RK.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LCLNSLog_RK.m; sourceTree = ""; }; 25160EBD1456532C0060A5C5 /* SOCKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SOCKit.h; sourceTree = ""; }; 25160EBE1456532C0060A5C5 /* SOCKit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SOCKit.m; sourceTree = ""; }; - 25160F161456538B0060A5C5 /* libxml2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = usr/lib/libxml2.dylib; sourceTree = SDKROOT; }; + 25160F161456538B0060A5C5 /* libxml2.dylib */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = usr/lib/libxml2.dylib; sourceTree = SDKROOT; }; 25160F7B145657220060A5C5 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = SDKs/MacOSX10.7.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; }; 25160F7D1456572F0060A5C5 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; }; 25160FC71456F2330060A5C5 /* RKManagedObjectLoaderTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKManagedObjectLoaderTest.m; sourceTree = ""; }; @@ -808,11 +754,11 @@ 251610531456F2330060A5C5 /* NSStringRestKitTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSStringRestKitTest.m; sourceTree = ""; }; 251610541456F2330060A5C5 /* RKDotNetDateFormatterTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKDotNetDateFormatterTest.m; sourceTree = ""; }; 251610561456F2330060A5C5 /* RKPathMatcherTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKPathMatcherTest.m; sourceTree = ""; }; - 251611281456F50F0060A5C5 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; - 2516112A1456F5170060A5C5 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; - 2516112D1456F5520060A5C5 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; - 2516112F1456F5590060A5C5 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; - 251611311456F56C0060A5C5 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; + 251611281456F50F0060A5C5 /* SystemConfiguration.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; + 2516112A1456F5170060A5C5 /* CFNetwork.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; + 2516112D1456F5520060A5C5 /* CoreData.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; + 2516112F1456F5590060A5C5 /* Security.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; + 251611311456F56C0060A5C5 /* MobileCoreServices.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; 2519764215823BA1004FE9DD /* RKObjectAttributeMappingTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKObjectAttributeMappingTest.m; sourceTree = ""; }; 2519764715824455004FE9DD /* RKObjectRelationshipMappingTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKObjectRelationshipMappingTest.m; sourceTree = ""; }; 2519764B158244F8004FE9DD /* RKObjectMappingTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKObjectMappingTest.m; sourceTree = ""; }; @@ -906,16 +852,6 @@ 25A763E415C7424500A9DF31 /* RKSearchIndexerTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKSearchIndexerTest.m; sourceTree = ""; }; 25AA23CF15AF291F006EF62D /* RKManagedObjectMappingOperationDataSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKManagedObjectMappingOperationDataSource.m; sourceTree = ""; }; 25AA23D315AF4F25006EF62D /* RKManagedObjectMappingOperationDataSourceTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKManagedObjectMappingOperationDataSourceTest.m; sourceTree = ""; }; - 25AE61BC15ADE9E400B319C8 /* NSNotificationCenter+OCMAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSNotificationCenter+OCMAdditions.h"; sourceTree = ""; }; - 25AE61BD15ADE9E500B319C8 /* OCClassMockRecorder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCClassMockRecorder.h; sourceTree = ""; }; - 25AE61BE15ADE9E500B319C8 /* OCClassMockRecorder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCClassMockRecorder.m; sourceTree = ""; }; - 25AE61BF15ADE9E500B319C8 /* OCMArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMArg.h; sourceTree = ""; }; - 25AE61C015ADE9E500B319C8 /* OCMConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMConstraint.h; sourceTree = ""; }; - 25AE61C115ADE9E500B319C8 /* OCMock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMock.h; sourceTree = ""; }; - 25AE61C215ADE9E500B319C8 /* OCMockClassObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMockClassObject.h; sourceTree = ""; }; - 25AE61C315ADE9E500B319C8 /* OCMockClassObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMockClassObject.m; sourceTree = ""; }; - 25AE61C415ADE9E500B319C8 /* OCMockObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMockObject.h; sourceTree = ""; }; - 25AE61C515ADE9E500B319C8 /* OCMockRecorder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMockRecorder.h; sourceTree = ""; }; 25AFF8F015B4CF1F0051877F /* RKMappingErrors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKMappingErrors.h; sourceTree = ""; }; 25B408241491CDDB00F21111 /* RKPathUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKPathUtilities.h; sourceTree = ""; }; 25B408251491CDDB00F21111 /* RKPathUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKPathUtilities.m; sourceTree = ""; }; @@ -923,54 +859,14 @@ 25B6E95714CF7A1C00B1E881 /* RKErrors.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKErrors.m; sourceTree = ""; }; 25B6E95A14CF7E3C00B1E881 /* RKDynamicMappingMatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKDynamicMappingMatcher.h; sourceTree = ""; }; 25B6E95B14CF7E3C00B1E881 /* RKDynamicMappingMatcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKDynamicMappingMatcher.m; sourceTree = ""; }; - 25B6E97C14CF829400B1E881 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - 25B6E97D14CF829400B1E881 /* NSInvocation+OCMAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSInvocation+OCMAdditions.h"; sourceTree = ""; }; - 25B6E97E14CF829400B1E881 /* NSInvocation+OCMAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSInvocation+OCMAdditions.m"; sourceTree = ""; }; - 25B6E97F14CF829400B1E881 /* NSMethodSignature+OCMAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSMethodSignature+OCMAdditions.h"; sourceTree = ""; }; - 25B6E98014CF829400B1E881 /* NSMethodSignature+OCMAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSMethodSignature+OCMAdditions.m"; sourceTree = ""; }; - 25B6E98114CF829400B1E881 /* NSNotificationCenter+OCMAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSNotificationCenter+OCMAdditions.m"; sourceTree = ""; }; - 25B6E98214CF829400B1E881 /* OCClassMockObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCClassMockObject.h; sourceTree = ""; }; - 25B6E98314CF829400B1E881 /* OCClassMockObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCClassMockObject.m; sourceTree = ""; }; - 25B6E98414CF829400B1E881 /* OCMArg.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMArg.m; sourceTree = ""; }; - 25B6E98514CF829400B1E881 /* OCMBlockCaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMBlockCaller.h; sourceTree = ""; }; - 25B6E98614CF829400B1E881 /* OCMBlockCaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMBlockCaller.m; sourceTree = ""; }; - 25B6E98714CF829400B1E881 /* OCMBoxedReturnValueProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMBoxedReturnValueProvider.h; sourceTree = ""; }; - 25B6E98814CF829400B1E881 /* OCMBoxedReturnValueProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMBoxedReturnValueProvider.m; sourceTree = ""; }; - 25B6E98914CF829400B1E881 /* OCMConstraint.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMConstraint.m; sourceTree = ""; }; - 25B6E98A14CF829400B1E881 /* OCMExceptionReturnValueProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMExceptionReturnValueProvider.h; sourceTree = ""; }; - 25B6E98B14CF829400B1E881 /* OCMExceptionReturnValueProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMExceptionReturnValueProvider.m; sourceTree = ""; }; - 25B6E98C14CF829400B1E881 /* OCMIndirectReturnValueProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMIndirectReturnValueProvider.h; sourceTree = ""; }; - 25B6E98D14CF829400B1E881 /* OCMIndirectReturnValueProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMIndirectReturnValueProvider.m; sourceTree = ""; }; - 25B6E98E14CF829400B1E881 /* OCMNotificationPoster.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMNotificationPoster.h; sourceTree = ""; }; - 25B6E98F14CF829400B1E881 /* OCMNotificationPoster.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMNotificationPoster.m; sourceTree = ""; }; - 25B6E99014CF829400B1E881 /* OCMObserverRecorder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMObserverRecorder.h; sourceTree = ""; }; - 25B6E99114CF829400B1E881 /* OCMObserverRecorder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMObserverRecorder.m; sourceTree = ""; }; - 25B6E99214CF829400B1E881 /* OCMock-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "OCMock-Info.plist"; sourceTree = ""; }; - 25B6E99314CF829400B1E881 /* OCMock-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OCMock-Prefix.pch"; sourceTree = ""; }; - 25B6E99414CF829400B1E881 /* OCMockObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMockObject.m; sourceTree = ""; }; - 25B6E99514CF829400B1E881 /* OCMockRecorder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMockRecorder.m; sourceTree = ""; }; - 25B6E99614CF829400B1E881 /* OCMPassByRefSetter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMPassByRefSetter.h; sourceTree = ""; }; - 25B6E99714CF829400B1E881 /* OCMPassByRefSetter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMPassByRefSetter.m; sourceTree = ""; }; - 25B6E99814CF829400B1E881 /* OCMRealObjectForwarder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMRealObjectForwarder.h; sourceTree = ""; }; - 25B6E99914CF829400B1E881 /* OCMRealObjectForwarder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMRealObjectForwarder.m; sourceTree = ""; }; - 25B6E99A14CF829400B1E881 /* OCMReturnValueProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCMReturnValueProvider.h; sourceTree = ""; }; - 25B6E99B14CF829400B1E881 /* OCMReturnValueProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCMReturnValueProvider.m; sourceTree = ""; }; - 25B6E99C14CF829400B1E881 /* OCObserverMockObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCObserverMockObject.h; sourceTree = ""; }; - 25B6E99D14CF829400B1E881 /* OCObserverMockObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCObserverMockObject.m; sourceTree = ""; }; - 25B6E99E14CF829400B1E881 /* OCPartialMockObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCPartialMockObject.h; sourceTree = ""; }; - 25B6E99F14CF829400B1E881 /* OCPartialMockObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCPartialMockObject.m; sourceTree = ""; }; - 25B6E9A014CF829400B1E881 /* OCPartialMockRecorder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCPartialMockRecorder.h; sourceTree = ""; }; - 25B6E9A114CF829400B1E881 /* OCPartialMockRecorder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCPartialMockRecorder.m; sourceTree = ""; }; - 25B6E9A214CF829400B1E881 /* OCProtocolMockObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCProtocolMockObject.h; sourceTree = ""; }; - 25B6E9A314CF829400B1E881 /* OCProtocolMockObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCProtocolMockObject.m; sourceTree = ""; }; 25B6E9D514CF912500B1E881 /* RKSearchable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKSearchable.h; sourceTree = ""; }; 25B6E9D614CF912500B1E881 /* RKSearchable.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKSearchable.m; sourceTree = ""; }; 25B6E9D714CF912500B1E881 /* RKTestAddress.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKTestAddress.h; sourceTree = ""; }; 25B6E9D814CF912500B1E881 /* RKTestAddress.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKTestAddress.m; sourceTree = ""; }; 25B6E9D914CF912500B1E881 /* RKTestUser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKTestUser.h; sourceTree = ""; }; 25B6E9DA14CF912500B1E881 /* RKTestUser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKTestUser.m; sourceTree = ""; }; - 25B6EA0514CF946300B1E881 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; - 25B6EA0714CF947D00B1E881 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 25B6EA0514CF946300B1E881 /* QuartzCore.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; + 25B6EA0714CF947D00B1E881 /* CoreGraphics.framework */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 25C246A315C83B090032212E /* RKSearchTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKSearchTest.m; sourceTree = ""; }; 25C954A415542A47005C9E08 /* RKTestConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RKTestConstants.m; path = Testing/RKTestConstants.m; sourceTree = ""; }; 25CA7A8E14EC570100888FF8 /* RKMapping.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKMapping.m; sourceTree = ""; }; @@ -1005,6 +901,8 @@ 73D3907814CA1D710093E3D6 /* channels.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = channels.xml; sourceTree = ""; }; 8BC044C81576CE72003DCDD6 /* RKConnectionMapping.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKConnectionMapping.h; sourceTree = ""; }; 8BC044C91576CE72003DCDD6 /* RKConnectionMapping.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKConnectionMapping.m; sourceTree = ""; }; + C4123D3CDB2C42AE86B273D7 /* Pods.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = SOURCE_ROOT; }; + C8C87FF6727A42D68CA2220E /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -1033,7 +931,7 @@ 25160D2814564E820060A5C5 /* SenTestingKit.framework in Frameworks */, 25160D2A14564E820060A5C5 /* UIKit.framework in Frameworks */, 25160D2B14564E820060A5C5 /* Foundation.framework in Frameworks */, - 250CA67E147D8E8F0047D347 /* OCHamcrestIOS.framework in Frameworks */, + 0BD827D1939444AF9897B48F /* libPods.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1054,22 +952,13 @@ 25160E79145651060060A5C5 /* SenTestingKit.framework in Frameworks */, 25160E7A145651060060A5C5 /* Cocoa.framework in Frameworks */, 25160E7D145651060060A5C5 /* RestKit.framework in Frameworks */, - 250CA67D147D8E8B0047D347 /* OCHamcrest.framework in Frameworks */, + 36F3D0E4FD7C4C4AA2B4FEB2 /* libPods.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 250CA67A147D8E7F0047D347 /* OCHamcrest */ = { - isa = PBXGroup; - children = ( - 250CA67B147D8E800047D347 /* OCHamcrest.framework */, - 250CA67C147D8E800047D347 /* OCHamcrestIOS.framework */, - ); - path = OCHamcrest; - sourceTree = ""; - }; 25104F0E15C30C7900829135 /* Search */ = { isa = PBXGroup; children = ( @@ -1109,6 +998,7 @@ 25160E8D145652E40060A5C5 /* Vendor */, 25160D1814564E810060A5C5 /* Frameworks */, 25160D1714564E810060A5C5 /* Products */, + C4123D3CDB2C42AE86B273D7 /* Pods.xcconfig */, ); sourceTree = ""; }; @@ -1143,6 +1033,7 @@ 25160E63145651060060A5C5 /* Cocoa.framework */, 25EC1B0014F8078100C3CF3F /* CoreFoundation.framework */, 25160E65145651060060A5C5 /* Other Frameworks */, + C8C87FF6727A42D68CA2220E /* libPods.a */, ); name = Frameworks; sourceTree = ""; @@ -1350,7 +1241,6 @@ 2516101B1456F2330060A5C5 /* ObjectMapping */, 251610511456F2330060A5C5 /* Support */, 25104F9B15C33E3A00829135 /* Search */, - 251610281456F2330060A5C5 /* Vendor */, 251610471456F2330060A5C5 /* Server */, ); path = Tests; @@ -1537,23 +1427,6 @@ path = Logic/ObjectMapping; sourceTree = ""; }; - 251610281456F2330060A5C5 /* Vendor */ = { - isa = PBXGroup; - children = ( - 250CA67A147D8E7F0047D347 /* OCHamcrest */, - 2516102B1456F2330060A5C5 /* OCMock */, - ); - path = Vendor; - sourceTree = ""; - }; - 2516102B1456F2330060A5C5 /* OCMock */ = { - isa = PBXGroup; - children = ( - 25B6E97A14CF829400B1E881 /* OCMock */, - ); - path = OCMock; - sourceTree = ""; - }; 251610471456F2330060A5C5 /* Server */ = { isa = PBXGroup; children = ( @@ -1628,63 +1501,6 @@ name = Testing; sourceTree = ""; }; - 25B6E97A14CF829400B1E881 /* OCMock */ = { - isa = PBXGroup; - children = ( - 25AE61BC15ADE9E400B319C8 /* NSNotificationCenter+OCMAdditions.h */, - 25AE61BD15ADE9E500B319C8 /* OCClassMockRecorder.h */, - 25AE61BE15ADE9E500B319C8 /* OCClassMockRecorder.m */, - 25AE61BF15ADE9E500B319C8 /* OCMArg.h */, - 25AE61C015ADE9E500B319C8 /* OCMConstraint.h */, - 25AE61C115ADE9E500B319C8 /* OCMock.h */, - 25AE61C215ADE9E500B319C8 /* OCMockClassObject.h */, - 25AE61C315ADE9E500B319C8 /* OCMockClassObject.m */, - 25AE61C415ADE9E500B319C8 /* OCMockObject.h */, - 25AE61C515ADE9E500B319C8 /* OCMockRecorder.h */, - 25B6E97B14CF829400B1E881 /* InfoPlist.strings */, - 25B6E97D14CF829400B1E881 /* NSInvocation+OCMAdditions.h */, - 25B6E97E14CF829400B1E881 /* NSInvocation+OCMAdditions.m */, - 25B6E97F14CF829400B1E881 /* NSMethodSignature+OCMAdditions.h */, - 25B6E98014CF829400B1E881 /* NSMethodSignature+OCMAdditions.m */, - 25B6E98114CF829400B1E881 /* NSNotificationCenter+OCMAdditions.m */, - 25B6E98214CF829400B1E881 /* OCClassMockObject.h */, - 25B6E98314CF829400B1E881 /* OCClassMockObject.m */, - 25B6E98414CF829400B1E881 /* OCMArg.m */, - 25B6E98514CF829400B1E881 /* OCMBlockCaller.h */, - 25B6E98614CF829400B1E881 /* OCMBlockCaller.m */, - 25B6E98714CF829400B1E881 /* OCMBoxedReturnValueProvider.h */, - 25B6E98814CF829400B1E881 /* OCMBoxedReturnValueProvider.m */, - 25B6E98914CF829400B1E881 /* OCMConstraint.m */, - 25B6E98A14CF829400B1E881 /* OCMExceptionReturnValueProvider.h */, - 25B6E98B14CF829400B1E881 /* OCMExceptionReturnValueProvider.m */, - 25B6E98C14CF829400B1E881 /* OCMIndirectReturnValueProvider.h */, - 25B6E98D14CF829400B1E881 /* OCMIndirectReturnValueProvider.m */, - 25B6E98E14CF829400B1E881 /* OCMNotificationPoster.h */, - 25B6E98F14CF829400B1E881 /* OCMNotificationPoster.m */, - 25B6E99014CF829400B1E881 /* OCMObserverRecorder.h */, - 25B6E99114CF829400B1E881 /* OCMObserverRecorder.m */, - 25B6E99214CF829400B1E881 /* OCMock-Info.plist */, - 25B6E99314CF829400B1E881 /* OCMock-Prefix.pch */, - 25B6E99414CF829400B1E881 /* OCMockObject.m */, - 25B6E99514CF829400B1E881 /* OCMockRecorder.m */, - 25B6E99614CF829400B1E881 /* OCMPassByRefSetter.h */, - 25B6E99714CF829400B1E881 /* OCMPassByRefSetter.m */, - 25B6E99814CF829400B1E881 /* OCMRealObjectForwarder.h */, - 25B6E99914CF829400B1E881 /* OCMRealObjectForwarder.m */, - 25B6E99A14CF829400B1E881 /* OCMReturnValueProvider.h */, - 25B6E99B14CF829400B1E881 /* OCMReturnValueProvider.m */, - 25B6E99C14CF829400B1E881 /* OCObserverMockObject.h */, - 25B6E99D14CF829400B1E881 /* OCObserverMockObject.m */, - 25B6E99E14CF829400B1E881 /* OCPartialMockObject.h */, - 25B6E99F14CF829400B1E881 /* OCPartialMockObject.m */, - 25B6E9A014CF829400B1E881 /* OCPartialMockRecorder.h */, - 25B6E9A114CF829400B1E881 /* OCPartialMockRecorder.m */, - 25B6E9A214CF829400B1E881 /* OCProtocolMockObject.h */, - 25B6E9A314CF829400B1E881 /* OCProtocolMockObject.m */, - ); - path = OCMock; - sourceTree = ""; - }; 25BCB31715ED57D500EE84DD /* AFNetworking */ = { isa = PBXGroup; children = ( @@ -2057,6 +1873,7 @@ 25160D2214564E820060A5C5 /* Frameworks */, 25160D2314564E820060A5C5 /* Resources */, 25160D2414564E820060A5C5 /* ShellScript */, + F1C99E66F43D4A42AEF2B162 /* Copy Pods Resources */, ); buildRules = ( ); @@ -2095,6 +1912,7 @@ 25160E75145651060060A5C5 /* Resources */, 250CA67F147D8EEC0047D347 /* CopyFiles */, 25160E76145651060060A5C5 /* ShellScript */, + 91F9BFD4685A46128EAED847 /* Copy Pods Resources */, ); buildRules = ( ); @@ -2172,8 +1990,6 @@ 73D3907414CA1AE00093E3D6 /* parent.json in Resources */, 73D3907614CA1AE60093E3D6 /* child.json in Resources */, 73D3907914CA1DD40093E3D6 /* channels.xml in Resources */, - 25B6E9A414CF829400B1E881 /* InfoPlist.strings in Resources */, - 25B6E9BE14CF829400B1E881 /* OCMock-Info.plist in Resources */, 252EFB2814DA0689004863C8 /* NakedEvents.json in Resources */, 25CAAA9415254E7800CAE5D7 /* ArrayOfHumans.json in Resources */, 25119FB6154A34B400C6BC58 /* parents_and_children.json in Resources */, @@ -2231,8 +2047,6 @@ 73D3907514CA1AE20093E3D6 /* parent.json in Resources */, 73D3907714CA1AE60093E3D6 /* child.json in Resources */, 73D3907A14CA1DD50093E3D6 /* channels.xml in Resources */, - 25B6E9A514CF829400B1E881 /* InfoPlist.strings in Resources */, - 25B6E9BF14CF829400B1E881 /* OCMock-Info.plist in Resources */, 252EFB2914DA0689004863C8 /* NakedEvents.json in Resources */, 25CAAA9515254E7800CAE5D7 /* ArrayOfHumans.json in Resources */, 25119FB7154A34B400C6BC58 /* parents_and_children.json in Resources */, @@ -2269,6 +2083,34 @@ shellPath = /bin/sh; shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; }; + 91F9BFD4685A46128EAED847 /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n"; + }; + F1C99E66F43D4A42AEF2B162 /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n"; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -2386,27 +2228,6 @@ 251611101456F2340060A5C5 /* NSStringRestKitTest.m in Sources */, 251611121456F2340060A5C5 /* RKDotNetDateFormatterTest.m in Sources */, 251611161456F2340060A5C5 /* RKPathMatcherTest.m in Sources */, - 25B6E9A614CF829400B1E881 /* NSInvocation+OCMAdditions.m in Sources */, - 25B6E9A814CF829400B1E881 /* NSMethodSignature+OCMAdditions.m in Sources */, - 25B6E9AA14CF829400B1E881 /* NSNotificationCenter+OCMAdditions.m in Sources */, - 25B6E9AC14CF829400B1E881 /* OCClassMockObject.m in Sources */, - 25B6E9AE14CF829400B1E881 /* OCMArg.m in Sources */, - 25B6E9B014CF829400B1E881 /* OCMBlockCaller.m in Sources */, - 25B6E9B214CF829400B1E881 /* OCMBoxedReturnValueProvider.m in Sources */, - 25B6E9B414CF829400B1E881 /* OCMConstraint.m in Sources */, - 25B6E9B614CF829400B1E881 /* OCMExceptionReturnValueProvider.m in Sources */, - 25B6E9B814CF829400B1E881 /* OCMIndirectReturnValueProvider.m in Sources */, - 25B6E9BA14CF829400B1E881 /* OCMNotificationPoster.m in Sources */, - 25B6E9BC14CF829400B1E881 /* OCMObserverRecorder.m in Sources */, - 25B6E9C014CF829400B1E881 /* OCMockObject.m in Sources */, - 25B6E9C214CF829400B1E881 /* OCMockRecorder.m in Sources */, - 25B6E9C414CF829400B1E881 /* OCMPassByRefSetter.m in Sources */, - 25B6E9C614CF829400B1E881 /* OCMRealObjectForwarder.m in Sources */, - 25B6E9C814CF829400B1E881 /* OCMReturnValueProvider.m in Sources */, - 25B6E9CA14CF829400B1E881 /* OCObserverMockObject.m in Sources */, - 25B6E9CC14CF829400B1E881 /* OCPartialMockObject.m in Sources */, - 25B6E9CE14CF829400B1E881 /* OCPartialMockRecorder.m in Sources */, - 25B6E9D014CF829400B1E881 /* OCProtocolMockObject.m in Sources */, 25B6E9DB14CF912500B1E881 /* RKSearchable.m in Sources */, 25B6E9DD14CF912500B1E881 /* RKTestAddress.m in Sources */, 25B6E9DF14CF912500B1E881 /* RKTestUser.m in Sources */, @@ -2416,8 +2237,6 @@ 25DB7508151BD551009F01AF /* NSManagedObjectContext+RKAdditionsTest.m in Sources */, 259D985A1550C6BE008C90F5 /* RKEntityByAttributeCacheTest.m in Sources */, 259D986415521B20008C90F5 /* RKEntityCacheTest.m in Sources */, - 25AE61C615ADE9E500B319C8 /* OCClassMockRecorder.m in Sources */, - 25AE61C815ADE9E500B319C8 /* OCMockClassObject.m in Sources */, 252029091577C78600076FB4 /* RKRouteSetTest.m in Sources */, 2519764315823BA1004FE9DD /* RKObjectAttributeMappingTest.m in Sources */, 2519764815824455004FE9DD /* RKObjectRelationshipMappingTest.m in Sources */, @@ -2549,27 +2368,6 @@ 251611111456F2340060A5C5 /* NSStringRestKitTest.m in Sources */, 251611131456F2340060A5C5 /* RKDotNetDateFormatterTest.m in Sources */, 251611171456F2340060A5C5 /* RKPathMatcherTest.m in Sources */, - 25B6E9A714CF829400B1E881 /* NSInvocation+OCMAdditions.m in Sources */, - 25B6E9A914CF829400B1E881 /* NSMethodSignature+OCMAdditions.m in Sources */, - 25B6E9AB14CF829400B1E881 /* NSNotificationCenter+OCMAdditions.m in Sources */, - 25B6E9AD14CF829400B1E881 /* OCClassMockObject.m in Sources */, - 25B6E9AF14CF829400B1E881 /* OCMArg.m in Sources */, - 25B6E9B114CF829400B1E881 /* OCMBlockCaller.m in Sources */, - 25B6E9B314CF829400B1E881 /* OCMBoxedReturnValueProvider.m in Sources */, - 25B6E9B514CF829400B1E881 /* OCMConstraint.m in Sources */, - 25B6E9B714CF829400B1E881 /* OCMExceptionReturnValueProvider.m in Sources */, - 25B6E9B914CF829400B1E881 /* OCMIndirectReturnValueProvider.m in Sources */, - 25B6E9BB14CF829400B1E881 /* OCMNotificationPoster.m in Sources */, - 25B6E9BD14CF829400B1E881 /* OCMObserverRecorder.m in Sources */, - 25B6E9C114CF829400B1E881 /* OCMockObject.m in Sources */, - 25B6E9C314CF829400B1E881 /* OCMockRecorder.m in Sources */, - 25B6E9C514CF829400B1E881 /* OCMPassByRefSetter.m in Sources */, - 25B6E9C714CF829400B1E881 /* OCMRealObjectForwarder.m in Sources */, - 25B6E9C914CF829400B1E881 /* OCMReturnValueProvider.m in Sources */, - 25B6E9CB14CF829400B1E881 /* OCObserverMockObject.m in Sources */, - 25B6E9CD14CF829400B1E881 /* OCPartialMockObject.m in Sources */, - 25B6E9CF14CF829400B1E881 /* OCPartialMockRecorder.m in Sources */, - 25B6E9D114CF829400B1E881 /* OCProtocolMockObject.m in Sources */, 25B6E9DC14CF912500B1E881 /* RKSearchable.m in Sources */, 25B6E9DE14CF912500B1E881 /* RKTestAddress.m in Sources */, 25B6E9E014CF912500B1E881 /* RKTestUser.m in Sources */, @@ -2579,8 +2377,6 @@ 25DB7509151BD551009F01AF /* NSManagedObjectContext+RKAdditionsTest.m in Sources */, 259D985B1550C6BE008C90F5 /* RKEntityByAttributeCacheTest.m in Sources */, 259D986515521B20008C90F5 /* RKEntityCacheTest.m in Sources */, - 25AE61C715ADE9E500B319C8 /* OCClassMockRecorder.m in Sources */, - 25AE61C915ADE9E500B319C8 /* OCMockClassObject.m in Sources */, 2520290A1577C78600076FB4 /* RKRouteSetTest.m in Sources */, 2519764415823BA1004FE9DD /* RKObjectAttributeMappingTest.m in Sources */, 2519764915824455004FE9DD /* RKObjectRelationshipMappingTest.m in Sources */, @@ -2611,17 +2407,6 @@ }; /* End PBXTargetDependency section */ -/* Begin PBXVariantGroup section */ - 25B6E97B14CF829400B1E881 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 25B6E97C14CF829400B1E881 /* en */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - /* Begin XCBuildConfiguration section */ 25160D3814564E820060A5C5 /* Debug */ = { isa = XCBuildConfiguration; @@ -2703,20 +2488,13 @@ }; 25160D3E14564E820060A5C5 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C4123D3CDB2C42AE86B273D7 /* Pods.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_OBJCPP_ARC_ABI = YES; - FRAMEWORK_SEARCH_PATHS = ( - "\"$(SDKROOT)/Developer/Library/Frameworks\"", - "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", - "\"$(SRCROOT)/Tests/Vendor\"", - "\"$(SRCROOT)/Tests/Vendor/OCHamcrest\"", - ); GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Code/Support/RestKit-Prefix.pch"; - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/Tests/Vendor/OCMock\""; INFOPLIST_FILE = "Resources/PLISTs/RestKitTests-Info.plist"; - LIBRARY_SEARCH_PATHS = "${CONFIGURATION_BUILD_DIR}"; OBJROOT = "$(SRCROOT)/Build"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2727,20 +2505,13 @@ }; 25160D3F14564E820060A5C5 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C4123D3CDB2C42AE86B273D7 /* Pods.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_OBJCPP_ARC_ABI = YES; - FRAMEWORK_SEARCH_PATHS = ( - "\"$(SDKROOT)/Developer/Library/Frameworks\"", - "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", - "\"$(SRCROOT)/Tests/Vendor\"", - "\"$(SRCROOT)/Tests/Vendor/OCHamcrest\"", - ); GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Code/Support/RestKit-Prefix.pch"; - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/Tests/Vendor/OCMock\""; INFOPLIST_FILE = "Resources/PLISTs/RestKitTests-Info.plist"; - LIBRARY_SEARCH_PATHS = "${CONFIGURATION_BUILD_DIR}"; OBJROOT = "$(SRCROOT)/Build"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2807,25 +2578,16 @@ }; 25160E8B145651060060A5C5 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C4123D3CDB2C42AE86B273D7 /* Pods.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", - "\"$(SRCROOT)/Tests/Vendor\"", - "\"$(SRCROOT)/Tests/Vendor/OCHamcrest\"", - ); GCC_ENABLE_OBJC_EXCEPTIONS = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Code/Support/RestKit-Prefix.pch"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/Tests/Vendor/OCMock\""; INFOPLIST_FILE = "Resources/PLISTs/RestKitFrameworkTests-Info.plist"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/Tests/Vendor/OCMock\"", - ); MACOSX_DEPLOYMENT_TARGET = 10.7; ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2836,26 +2598,17 @@ }; 25160E8C145651060060A5C5 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C4123D3CDB2C42AE86B273D7 /* Pods.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD_64_BIT)"; CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - FRAMEWORK_SEARCH_PATHS = ( - "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"", - "\"$(SRCROOT)/Tests/Vendor\"", - "\"$(SRCROOT)/Tests/Vendor/OCHamcrest\"", - ); GCC_ENABLE_OBJC_EXCEPTIONS = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Code/Support/RestKit-Prefix.pch"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/Tests/Vendor/OCMock\""; INFOPLIST_FILE = "Resources/PLISTs/RestKitFrameworkTests-Info.plist"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/Tests/Vendor/OCMock\"", - ); MACOSX_DEPLOYMENT_TARGET = 10.7; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; diff --git a/RestKit.xcworkspace/contents.xcworkspacedata b/RestKit.xcworkspace/contents.xcworkspacedata index cbd15a17d7..f6370608cb 100644 --- a/RestKit.xcworkspace/contents.xcworkspacedata +++ b/RestKit.xcworkspace/contents.xcworkspacedata @@ -1,33 +1 @@ - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/Tests/RKTestEnvironment.h b/Tests/RKTestEnvironment.h index 757db808c9..92bf16dc6a 100644 --- a/Tests/RKTestEnvironment.h +++ b/Tests/RKTestEnvironment.h @@ -22,7 +22,7 @@ #import #define HC_SHORTHAND -#import +#import "OCHamcrest.h" #import #import "RestKit.h" diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Headers b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Headers deleted file mode 120000 index a177d2a6b9..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Headers +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Headers \ No newline at end of file diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/OCHamcrest b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/OCHamcrest deleted file mode 120000 index 7d4d801eb5..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/OCHamcrest +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/OCHamcrest \ No newline at end of file diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Resources b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Resources deleted file mode 120000 index 953ee36f3b..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Resources +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Resources \ No newline at end of file diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCAllOf.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCAllOf.h deleted file mode 100644 index aa8458b08f..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCAllOf.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCAllOf.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCAllOf : HCBaseMatcher -{ - NSArray *matchers; -} - -+ (id)allOf:(NSArray *)theMatchers; -- (id)initWithMatchers:(NSArray *)theMatchers; - -@end - - -OBJC_EXPORT id HC_allOf(id match, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - allOf(firstMatcher, ...) - - Matches if all of the given matchers evaluate to @c YES. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - The matchers are evaluated from left to right using short-circuit evaluation, so evaluation - stops as soon as a matcher returns @c NO. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_allOf instead.) - - @ingroup logical_matchers - */ -#ifdef HC_SHORTHAND - #define allOf HC_allOf -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCAnyOf.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCAnyOf.h deleted file mode 100644 index 7043dc65f5..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCAnyOf.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCAnyOf.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCAnyOf : HCBaseMatcher -{ - NSArray *matchers; -} - -+ (id)anyOf:(NSArray *)theMatchers; -- (id)initWithMatchers:(NSArray *)theMatchers; - -@end - - -OBJC_EXPORT id HC_anyOf(id match, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - anyOf(firstMatcher, ...) - - Matches if any of the given matchers evaluate to @c YES. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - The matchers are evaluated from left to right using short-circuit evaluation, so evaluation - stops as soon as a matcher returns @c YES. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_anyOf instead.) - - @ingroup logical_matchers - */ -#ifdef HC_SHORTHAND - #define anyOf HC_anyOf -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCAssertThat.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCAssertThat.h deleted file mode 100644 index ea50cab095..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCAssertThat.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// OCHamcrest - HCAssertThat.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCMatcher; - - -OBJC_EXPORT void HC_assertThatWithLocation(id testCase, id actual, id matcher, - const char *fileName, int lineNumber); - -#define HC_assertThat(actual, matcher) \ - HC_assertThatWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThat(actual, matcher) - - Asserts that actual value satisfies matcher. - - @param actual The object to evaluate as the actual value. - @param matcher The matcher to satisfy as the expected condition. - - @c assertThat passes the actual value to the matcher for evaluation. If the matcher is not - satisfied, an exception is thrown describing the mismatch. - - @c assertThat is designed to integrate well with OCUnit and other unit testing frameworks. - Unmet assertions are reported as test failures. In Xcode, these failures can be clicked to - reveal the line of the assertion. - - In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThat instead. - - @ingroup integration - */ -#ifdef HC_SHORTHAND - #define assertThat HC_assertThat -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCBaseDescription.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCBaseDescription.h deleted file mode 100644 index e702fd5897..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCBaseDescription.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// OCHamcrest - HCBaseDescription.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import -#import - - -/** - Base class for all HCDescription implementations. - - @ingroup core - */ -@interface HCBaseDescription : NSObject -@end - - -/** - Methods that must be provided by subclasses of HCBaseDescription. - */ -@interface HCBaseDescription (SubclassMustImplement) - -/** - Append the string @a str to the description. - */ -- (void)append:(NSString *)str; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCBaseMatcher.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCBaseMatcher.h deleted file mode 100644 index f57bf64940..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCBaseMatcher.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// OCHamcrest - HCBaseMatcher.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import -#import - -#import // Convenience header, to provide OBJC_EXPORT - - -/** - Base class for all HCMatcher implementations. - - Most implementations can just implement @c -matches: and let - -matches:describingMismatchTo: call it. But if it makes more sense to generate the - mismatch description during the matching, override -matches:describingMismatchTo: - and have @c -matches: call it with a @c nil description. - - @ingroup core - */ -@interface HCBaseMatcher : NSObject -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCBoxNumber.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCBoxNumber.h deleted file mode 100644 index e97134fe62..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCBoxNumber.h +++ /dev/null @@ -1,88 +0,0 @@ -// -// OCHamcrest - HCBoxNumber.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#ifdef __cplusplus - -namespace hamcrest { - -/** - Boxes a scalar value in an NSNumber, specialized per type. - @ingroup number_matchers - */ -template -inline -NSNumber *boxNumber(T value) - { return nil; } - -template <> -inline -NSNumber *boxNumber(BOOL value) - { return [NSNumber numberWithBool:value]; } - -template <> -inline -NSNumber *boxNumber(char value) - { return [NSNumber numberWithChar:value]; } - -template <> -inline -NSNumber *boxNumber(double value) - { return [NSNumber numberWithDouble:value]; } - -template <> -inline -NSNumber *boxNumber(float value) - { return [NSNumber numberWithFloat:value]; } - -template <> -inline -NSNumber *boxNumber(int value) - { return [NSNumber numberWithInt:value]; } - -template <> -inline -NSNumber *boxNumber(long value) - { return [NSNumber numberWithLong:value]; } - -template <> -inline -NSNumber *boxNumber(long long value) - { return [NSNumber numberWithLongLong:value]; } - -template <> -inline -NSNumber *boxNumber(short value) - { return [NSNumber numberWithShort:value]; } - -template <> -inline -NSNumber *boxNumber(unsigned char value) - { return [NSNumber numberWithUnsignedChar:value]; } - -template <> -inline -NSNumber *boxNumber(unsigned int value) - { return [NSNumber numberWithUnsignedInt:value]; } - -template <> -inline -NSNumber *boxNumber(unsigned long value) - { return [NSNumber numberWithUnsignedLong:value]; } - -template <> -inline -NSNumber *boxNumber(unsigned long long value) - { return [NSNumber numberWithUnsignedLongLong:value]; } - -template <> -inline -NSNumber *boxNumber(unsigned short value) - { return [NSNumber numberWithUnsignedShort:value]; } - -} // namespace hamcrest - -#endif // __cplusplus diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCCollectMatchers.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCCollectMatchers.h deleted file mode 100644 index c1a9a038e1..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCCollectMatchers.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// OCHamcrest - HCCollectMatchers.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import -#import - -#import - -@protocol HCMatcher; - - -/** - Returns an array of matchers from a variable-length comma-separated list terminated by @c nil. - - @ingroup helpers -*/ -OBJC_EXPORT NSMutableArray *HCCollectMatchers(id item1, va_list args); diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCDescribedAs.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCDescribedAs.h deleted file mode 100644 index 717d173160..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCDescribedAs.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// OCHamcrest - HCDescribedAs.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCDescribedAs : HCBaseMatcher -{ - NSString *descriptionTemplate; - id matcher; - NSArray *values; -} - -+ (id)describedAs:(NSString *)description - forMatcher:(id)aMatcher - overValues:(NSArray *)templateValues; - -- (id)initWithDescription:(NSString *)description - forMatcher:(id)aMatcher - overValues:(NSArray *)templateValues; - -@end - - -OBJC_EXPORT id HC_describedAs(NSString *description, id matcher, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - describedAs(description, matcher, ...) - - Adds custom failure description to a given matcher. - - @param description Overrides the matcher's description. - @param matcher,... The matcher to satisfy, followed by a comma-separated list of substitution values ending with @c nil. - - The description may contain substitution placeholders \%0, \%1, etc. These will be replaced by - any values that follow the matcher. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_describedAs instead.) - - @ingroup decorator_matchers - */ -#ifdef HC_SHORTHAND - #define describedAs HC_describedAs -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCDescription.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCDescription.h deleted file mode 100644 index 26296d38bf..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCDescription.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// OCHamcrest - HCDescription.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -/** - A description of an HCMatcher. - - An HCMatcher will describe itself to a description which can later be used for reporting. - - @ingroup core - */ -@protocol HCDescription - -/** - Appends some plain text to the description. - - @return @c self, for chaining. - */ -- (id)appendText:(NSString *)text; - -/** - Appends description of given value to @c self. - - If the value implements the @ref HCSelfDescribing protocol, then it will be used. - - @return @c self, for chaining. - */ -- (id)appendDescriptionOf:(id)value; - -/** - Appends an arbitary value to the description. - - @b Deprecated: Call @ref appendDescriptionOf: instead. - - @return @c self, for chaining. - */ -- (id)appendValue:(id)value __attribute__((deprecated)); - -/** - Appends a list of objects to the description. - - @return @c self, for chaining. - */ -- (id)appendList:(NSArray *)values - start:(NSString *)start - separator:(NSString *)separator - end:(NSString *)end; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCHasCount.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCHasCount.h deleted file mode 100644 index 292b0fa973..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCHasCount.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// OCHamcrest - HCHasCount.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCHasCount : HCBaseMatcher -{ - id countMatcher; -} - -+ (id)hasCount:(id)matcher; -- (id)initWithCount:(id)matcher; - -@end - - -OBJC_EXPORT id HC_hasCount(id matcher); - -/** - hasCount(aMatcher) - - Matches if object's @c -count satisfies a given matcher. - - @param aMatcher The matcher to satisfy. - - This matcher invokes @c -count on the evaluated object to get the number of elements it - contains, passing the result to @a aMatcher for evaluation. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasCount instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasCount HC_hasCount -#endif - - -OBJC_EXPORT id HC_hasCountOf(NSUInteger count); - -/** - hasCountOf(value) - - Matches if object's @c -count equals a given value. - - @param value @c NSUInteger value to compare against as the expected value. - - This matcher invokes @c -count on the evaluated object to get the number of elements it - contains, comparing the result to @a value for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasCountOf instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasCountOf HC_hasCountOf -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCHasDescription.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCHasDescription.h deleted file mode 100644 index 2a2295ea87..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCHasDescription.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// OCHamcrest - HCHasDescription.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCHasDescription : HCInvocationMatcher - -+ (id)hasDescription:(id)descriptionMatcher; -- (id)initWithDescription:(id)descriptionMatcher; - -@end - - -OBJC_EXPORT id HC_hasDescription(id match); - -/** - hasDescription(aMatcher) - - Matches if object's @c -description satisfies a given matcher. - - @param aMatcher The matcher to satisfy, or an expected value for @ref equalTo matching. - - This matcher invokes @c -description on the evaluated object to get its description, passing the - result to a given matcher for evaluation. If the @a aMatcher argument is not a matcher, it is - implicitly wrapped in an @ref equalTo matcher to check for equality. - - Examples: - @li @ref hasDescription(@ref startsWith(\@"foo")) - @li @ref hasDescription(\@"bar") - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasDescription instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define hasDescription HC_hasDescription -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCHasProperty.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCHasProperty.h deleted file mode 100644 index cd1bbd465e..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCHasProperty.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// OCHamcrest - HCHasProperty.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Justin Shacklette -// - -#import - - -@interface HCHasProperty : HCBaseMatcher -{ - NSString *propertyName; - id valueMatcher; -} - -+ (id)hasProperty:(NSString *)property value:(id)aValueMatcher; -- (id)initWithProperty:(NSString *)property value:(id)aValueMatcher; - -@end - - -OBJC_EXPORT id HC_hasProperty(NSString *name, id valueMatch); - -/** - hasProperty(name, valueMatcher) - - Matches if object has a method of a given name whose return value satisfies a given matcher. - - @param name The name of a method without arguments that returns an object. - @param valueMatcher The matcher to satisfy for the return value, or an expected value for @ref equalTo matching. - - This matcher first checks if the evaluated object has a method with a name matching the given - @c name. If so, it invokes the method and sees if the returned value satisfies @c valueMatcher. - - While this matcher is called "hasProperty", it's useful for checking the results of any simple - methods, not just properties. - - Examples: - @li @ref hasProperty(@"firstName", @"Joe") - @li @ref hasProperty(@"firstName", startsWith(@"J")) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasProperty instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define hasProperty HC_hasProperty -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCInvocationMatcher.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCInvocationMatcher.h deleted file mode 100755 index b9604ecb1a..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCInvocationMatcher.h +++ /dev/null @@ -1,62 +0,0 @@ -// -// OCHamcrest - HCInvocationMatcher.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -/** - Supporting class for matching a feature of an object. - - Tests whether the result of passing a given invocation to the value satisfies a given matcher. - - @ingroup helpers - */ -@interface HCInvocationMatcher : HCBaseMatcher -{ - NSInvocation *invocation; - id subMatcher; - BOOL shortMismatchDescription; -} - -/** - Determines whether a mismatch will be described in short form. - - Default is long form, which describes the object, the name of the invocation, and the - sub-matcher's mismatch diagnosis. Short form only has the sub-matcher's mismatch diagnosis. - */ -@property(nonatomic, assign) BOOL shortMismatchDescription; - -/** - Helper method for creating an invocation. - - A class is specified only so we can determine the method signature. - */ -+ (NSInvocation *)invocationForSelector:(SEL)selector onClass:(Class)aClass; - -/** - Helper method for creating an invocation. - - @b Deprecated: Use new name +invocationForSelector:onClass: - */ -+ (NSInvocation *)createInvocationForSelector:(SEL)selector onClass:(Class)aClass __attribute__((deprecated)); - -/** - Returns an HCInvocationMatcher object initialized with an invocation and a matcher. - */ -- (id)initWithInvocation:(NSInvocation *)anInvocation matching:(id)aMatcher; - -/** - Invokes stored invocation on given item and returns the result. - */ -- (id)invokeOn:(id)item; - -/** - Returns string representation of the invocation's selector. - */ -- (NSString *)stringFromSelector; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIs.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIs.h deleted file mode 100644 index 21d14a57e5..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIs.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// OCHamcrest - HCIs.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIs : HCBaseMatcher -{ - id matcher; -} - -+ (id)is:(id)aMatcher; -- (id)initWithMatcher:(id)aMatcher; - -@end - - -OBJC_EXPORT id HC_is(id match); - -/** - is(aMatcher) - - Decorates another matcher, or provides a shortcut to the frequently used @ref is(equalTo(x)). - - @param aMatcher The matcher to satisfy, or an expected value for @ref equalTo matching. - - This matcher compares the evaluated object to the given matcher. - - If the @a aMatcher argument is a matcher, its behavior is retained, but the test may be more - expressive. For example: - @li @ref assertThatInt(value, equalToInt(5)) - @li @ref assertThatInt(value, is(equalToInt(5))) - - If the @a aMatcher argument is not a matcher, it is wrapped in an @ref equalTo matcher. This - makes the following statements equivalent: - @li @ref assertThat(cheese, equalTo(smelly)) - @li @ref assertThat(cheese, is(equalTo(smelly))) - @li @ref assertThat(cheese, is(smelly)) - - Choose the style that makes your expression most readable. This will vary depending on context. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_is instead.) - - @ingroup decorator_matchers - */ -#ifdef HC_SHORTHAND - #define is HC_is -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsAnything.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsAnything.h deleted file mode 100644 index 2b39f7e736..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsAnything.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// OCHamcrest - HCIsAnything.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsAnything : HCBaseMatcher -{ - NSString *description; -} - -+ (id)isAnything; -+ (id)isAnythingWithDescription:(NSString *)aDescription; - -- (id)init; -- (id)initWithDescription:(NSString *)aDescription; - -@end - - -OBJC_EXPORT id HC_anything(); - -/** - Matches anything. - - This matcher always evaluates to @c YES. Specify this in composite matchers when the value of a - particular element is unimportant. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_anything instead.) - - @ingroup logical_matchers - */ -#ifdef HC_SHORTHAND - #define anything() HC_anything() -#endif - - -OBJC_EXPORT id HC_anythingWithDescription(NSString *aDescription); - -/** - anythingWithDescription(description) - - Matches anything. - - @param description A string used to describe this matcher. - - This matcher always evaluates to @c YES. Specify this in collection matchers when the value of a - particular element in a collection is unimportant. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_anything instead.) - - @ingroup logical_matchers - */ -#ifdef HC_SHORTHAND - #define anythingWithDescription HC_anythingWithDescription -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCloseTo.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCloseTo.h deleted file mode 100644 index 8e26d155c1..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCloseTo.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// OCHamcrest - HCIsCloseTo.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsCloseTo : HCBaseMatcher -{ - double value; - double delta; -} - -+ (id)isCloseTo:(double)aValue within:(double)aDelta; -- (id)initWithValue:(double)aValue delta:(double)aDelta; - -@end - - -OBJC_EXPORT id HC_closeTo(double aValue, double aDelta); - -/** - closeTo(aValue, aDelta) - - Matches if object is a number close to a given value, within a given delta. - - @param aValue The @c double value to compare against as the expected value. - @param aDelta The @c double maximum delta between the values for which the numbers are considered close. - - This matcher invokes @c -doubleValue on the evaluated object to get its value as a @c double. - The result is compared against @a aValue to see if the difference is within a positive @a aDelta. - - Example: - @li @ref closeTo(3.0, 0.25) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_closeTo instead.) - - @ingroup number_matchers - */ -#ifdef HC_SHORTHAND - #define closeTo HC_closeTo -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContaining.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContaining.h deleted file mode 100644 index a08d59b05d..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContaining.h +++ /dev/null @@ -1,67 +0,0 @@ -// -// OCHamcrest - HCIsCollectionContaining.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsCollectionContaining : HCBaseMatcher -{ - id elementMatcher; -} - -+ (id)isCollectionContaining:(id)anElementMatcher; -- (id)initWithMatcher:(id)anElementMatcher; - -@end - - -OBJC_EXPORT id HC_hasItem(id itemMatch); - -/** - hasItem(aMatcher) - - Matches if any element of collection satisfies a given matcher. - - @param aMatcher The matcher to satisfy, or an expected value for @ref equalTo matching. - - This matcher iterates the evaluated collection, searching for any element that satisfies a - given matcher. If a matching element is found, @c hasItem is satisfied. - - If the @a aMatcher argument is not a matcher, it is implicitly wrapped in an @ref equalTo - matcher to check for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasItem instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasItem HC_hasItem -#endif - - -OBJC_EXPORT id HC_hasItems(id itemMatch, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - hasItems(firstMatcher, ...) - - Matches if all of the given matchers are satisfied by any elements of the collection. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - This matcher iterates the given matchers, searching for any elements in the evaluated collection - that satisfy them. If each matcher is satisfied, then @c hasItems is satisfied. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c hasItems instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasItems HC_hasItems -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContainingInAnyOrder.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContainingInAnyOrder.h deleted file mode 100644 index 9e7219671e..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContainingInAnyOrder.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// OCHamcrest - HCIsCollectionContainingInAnyOrder.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsCollectionContainingInAnyOrder : HCBaseMatcher -{ - NSMutableArray *matchers; -} - -+ (id)isCollectionContainingInAnyOrder:(NSMutableArray *)itemMatchers; -- (id)initWithMatchers:(NSMutableArray *)itemMatchers; - -@end - - -OBJC_EXPORT id HC_containsInAnyOrder(id itemMatch, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - containsInAnyOrder(firstMatcher, ...) - - Matches if collection's elements, in any order, satisfy a given list of matchers. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - This matcher iterates the evaluated collection, seeing if each element satisfies any of the - given matchers. The matchers are tried from left to right, and when a satisfied matcher is - found, it is no longer a candidate for the remaining elements. If a one-to-one correspondence is - established between elements and matchers, @c containsInAnyOrder is satisfied. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_containsInAnyOrder instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define containsInAnyOrder HC_containsInAnyOrder -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContainingInOrder.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContainingInOrder.h deleted file mode 100644 index 37f8b4719d..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContainingInOrder.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCIsCollectionContainingInOrder.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsCollectionContainingInOrder : HCBaseMatcher -{ - NSArray *matchers; -} - -+ (id)isCollectionContainingInOrder:(NSArray *)itemMatchers; -- (id)initWithMatchers:(NSArray *)itemMatchers; - -@end - - -OBJC_EXPORT id HC_contains(id itemMatch, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - contains(firstMatcher, ...) - - Matches if collection's elements satisfy a given list of matchers, in order. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - This matcher iterates the evaluated collection and a given list of matchers, seeing if each - element satisfies its corresponding matcher. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_contains instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define contains HC_contains -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionOnlyContaining.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionOnlyContaining.h deleted file mode 100644 index aa20d49236..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionOnlyContaining.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// OCHamcrest - HCIsCollectionOnlyContaining.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsCollectionOnlyContaining : HCBaseMatcher -{ - id matcher; -} - -+ (id)isCollectionOnlyContaining:(id)aMatcher; -- (id)initWithMatcher:(id)aMatcher; - -@end - - -OBJC_EXPORT id HC_onlyContains(id itemMatch, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - onlyContains(firstMatcher, ...) - - Matches if each element of collection satisfies any of the given matchers. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - This matcher iterates the evaluated collection, confirming whether each element satisfies any of - the given matchers. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - Example: - - @par - @ref onlyContains(startsWith(@"Jo"), nil) - - will match a collection [@"Jon", @"John", @"Johann"]. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_onlyContains instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define onlyContains HC_onlyContains -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContaining.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContaining.h deleted file mode 100644 index 5639b8e336..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContaining.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// OCHamcrest - HCIsDictionaryContaining.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsDictionaryContaining : HCBaseMatcher -{ - id keyMatcher; - id valueMatcher; -} - -+ (id)isDictionaryContainingKey:(id)aKeyMatcher - value:(id)aValueMatcher; - -- (id)initWithKeyMatcher:(id)aKeyMatcher - valueMatcher:(id)aValueMatcher; - -@end - - -OBJC_EXPORT id HC_hasEntry(id keyMatch, id valueMatch); - -/** - hasEntry(keyMatcher, valueMatcher) - - Matches if dictionary contains key-value entry satisfying a given pair of matchers. - - @param keyMatcher The matcher to satisfy for the key, or an expected value for @ref equalTo matching. - @param valueMatcher The matcher to satisfy for the value, or an expected value for @ref equalTo matching. - - This matcher iterates the evaluated dictionary, searching for any key-value entry that satisfies - @a keyMatcher and @a valueMatcher. If a matching entry is found, @c hasEntry is satisfied. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - Examples: - @li @ref hasEntry(@ref equalTo(@"foo"), equalTo(@"bar")) - @li @ref hasEntry(@"foo", @"bar") - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasEntry instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasEntry HC_hasEntry -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingEntries.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingEntries.h deleted file mode 100644 index 475b5bb197..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingEntries.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// OCHamcrest - HCIsDictionaryContainingEntries.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsDictionaryContainingEntries : HCBaseMatcher -{ - NSArray *keys; - NSArray *valueMatchers; -} - -+ (id)isDictionaryContainingKeys:(NSArray *)theKeys - valueMatchers:(NSArray *)theValueMatchers; - -- (id)initWithKeys:(NSArray *)theKeys - valueMatchers:(NSArray *)theValueMatchers; - -@end - - -OBJC_EXPORT id HC_hasEntries(id keysAndValueMatch, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - hasEntries(firstKey, valueMatcher, ...) - - Matches if dictionary contains entries satisfying a list of alternating keys and their value - matchers. - - @param firstKey A key (not a matcher) to look up. - @param valueMatcher,... The matcher to satisfy for the value, or an expected value for @ref equalTo matching. - - Note that the keys must be actual keys, not matchers. Any value argument that is not a matcher - is implicitly wrapped in an @ref equalTo matcher to check for equality. The list must end with - @c nil. - - Examples: - @li @ref hasEntries(@"first", equalTo(@"Jon"), @"last", equalTo(@"Reid"), nil) - @li @ref hasEntries(@"first", @"Jon", @"last", @"Reid", nil) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasEntry instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasEntries HC_hasEntries -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingKey.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingKey.h deleted file mode 100644 index ea876365c5..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingKey.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// OCHamcrest - HCIsDictionaryContainingKey.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsDictionaryContainingKey : HCBaseMatcher -{ - id keyMatcher; -} - -+ (id)isDictionaryContainingKey:(id)theKeyMatcher; -- (id)initWithKeyMatcher:(id)theKeyMatcher; - -@end - - -OBJC_EXPORT id HC_hasKey(id keyMatch); - -/** - hasKey(keyMatcher) - - Matches if dictionary contains an entry whose key satisfies a given matcher. - - @param keyMatcher The matcher to satisfy for the key, or an expected value for @ref equalTo matching. - - This matcher iterates the evaluated dictionary, searching for any key-value entry whose key - satisfies the given matcher. If a matching entry is found, @c hasKey is satisfied. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasKey instead.) - - Examples: - @li @ref hasEntry(equalTo(@"foo")) - @li @ref hasEntry(@"foo") - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasKey HC_hasKey -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingValue.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingValue.h deleted file mode 100644 index e2e8afc84b..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingValue.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// OCHamcrest - HCIsDictionaryContainingValue.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsDictionaryContainingValue : HCBaseMatcher -{ - id valueMatcher; -} - -+ (id)isDictionaryContainingValue:(id)theValueMatcher; -- (id)initWithValueMatcher:(id)theValueMatcher; - -@end - - -OBJC_EXPORT id HC_hasValue(id valueMatch); - -/** - hasValue(valueMatcher) - - Matches if dictionary contains an entry whose value satisfies a given matcher. - - @param valueMatcher The matcher to satisfy for the value, or an expected value for @ref equalTo matching. - - This matcher iterates the evaluated dictionary, searching for any key-value entry whose value - satisfies the given matcher. If a matching entry is found, @c hasValue is satisfied. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - Examples: - @li @ref hasValue(equalTo(@"bar")) - @li @ref hasValue(@"bar") - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasValue instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasValue HC_hasValue -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEmptyCollection.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEmptyCollection.h deleted file mode 100644 index c6e13c6904..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEmptyCollection.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// OCHamcrest - HCIsEmptyCollection.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsEmptyCollection : HCHasCount - -+ (id)isEmptyCollection; -- (id)init; - -@end - - -OBJC_EXPORT id HC_empty(); - -/** - Matches empty collection. - - This matcher invokes @c -count on the evaluated object to determine if the number of elements it - contains is zero. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_empty instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define empty() HC_empty() -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqual.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqual.h deleted file mode 100644 index 6644f666e0..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqual.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// OCHamcrest - HCIsEqual.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsEqual : HCBaseMatcher -{ - id object; -} - -+ (id)isEqualTo:(id)anObject; -- (id)initEqualTo:(id)anObject; - -@end - - -OBJC_EXPORT id HC_equalTo(id object); - -/** - equalTo(anObject) - - Matches if object is equal to a given object. - - @param anObject The object to compare against as the expected value. - - This matcher compares the evaluated object to @a anObject for equality, as determined by the - @c -isEqual: method. - - If @a anObject is @c nil, the matcher will successfully match @c nil. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalTo instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define equalTo HC_equalTo -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqualIgnoringCase.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqualIgnoringCase.h deleted file mode 100644 index 5f55214030..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqualIgnoringCase.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// OCHamcrest - HCIsEqualIgnoringCase.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsEqualIgnoringCase : HCBaseMatcher -{ - NSString *string; -} - -+ (id)isEqualIgnoringCase:(NSString *)aString; -- (id)initWithString:(NSString *)aString; - -@end - - -OBJC_EXPORT id HC_equalToIgnoringCase(NSString *aString); - -/** - equalToIgnoringCase(aString) - - Matches if object is a string equal to a given string, ignoring case differences. - - @param aString The string to compare against as the expected value. This value must not be @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it compares it with - @a aString, ignoring differences of case. - - Example: - - @par - @ref equalToIgnoringCase(@"hello world") - - will match "heLLo WorlD". - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToIgnoringCase instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define equalToIgnoringCase HC_equalToIgnoringCase -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqualIgnoringWhiteSpace.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqualIgnoringWhiteSpace.h deleted file mode 100644 index 0a0735dbfa..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqualIgnoringWhiteSpace.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// OCHamcrest - HCIsEqualIgnoringWhiteSpace.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsEqualIgnoringWhiteSpace : HCBaseMatcher -{ - NSString *originalString; - NSString *strippedString; -} - -+ (id)isEqualIgnoringWhiteSpace:(NSString *)aString; -- (id)initWithString:(NSString *)aString; - -@end - - -OBJC_EXPORT id HC_equalToIgnoringWhiteSpace(NSString *aString); - -/** - equalToIgnoringWhiteSpace(aString) - - Matches if object is a string equal to a given string, ignoring differences in whitespace. - - @param aString The string to compare against as the expected value. This value must not be @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it compares it with - @a aString, ignoring differences in runs of whitespace. - - Example: - - @par - @ref equalToIgnoringWhiteSpace(@"hello world") - - will match @verbatim "hello world" @endverbatim - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToIgnoringWhiteSpace instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define equalToIgnoringWhiteSpace HC_equalToIgnoringWhiteSpace -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqualToNumber.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqualToNumber.h deleted file mode 100644 index 74a70c6b40..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsEqualToNumber.h +++ /dev/null @@ -1,323 +0,0 @@ -// -// OCHamcrest - HCIsEqualToNumber.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -OBJC_EXPORT id HC_equalToBool(BOOL value); - -/** - equalToBool(value) - - Matches if object is equal to @c NSNumber created from a @c BOOL. - - @param value The @c BOOL value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c BOOL @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToBool instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToBool HC_equalToBool -#endif - - -OBJC_EXPORT id HC_equalToChar(char value); - -/** - equalToChar(value) - - Matches if object is equal to @c NSNumber created from a @c char. - - @param value The @c char value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c char @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToChar instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToChar HC_equalToChar -#endif - - -OBJC_EXPORT id HC_equalToDouble(double value); - -/** - equalToDouble(value) - - Matches if object is equal to @c NSNumber created from a @c double. - - @param value The @c double value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c double @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToDouble instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToDouble HC_equalToDouble -#endif - - -OBJC_EXPORT id HC_equalToFloat(float value); - -/** - equalToFloat(value) - - Matches if object is equal to @c NSNumber created from a @c float. - - @param value The @c float value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c float @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToFloat instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToFloat HC_equalToFloat -#endif - - -OBJC_EXPORT id HC_equalToInt(int value); - -/** - equalToInt(value) - - Matches if object is equal to @c NSNumber created from an @c int. - - @param value The @c int value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c int @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToInt instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToInt HC_equalToInt -#endif - - -OBJC_EXPORT id HC_equalToLong(long value); - -/** - equalToLong(value) - - Matches if object is equal to @c NSNumber created from a @c long. - - @param value The @c long value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c long @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToLong instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToLong HC_equalToLong -#endif - - -OBJC_EXPORT id HC_equalToLongLong(long long value); - -/** - equalToLongLong(value) - - Matches if object is equal to @c NSNumber created from a long long. - - @param value The long long value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a long long @a value and compares - the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToLongLong instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToLongLong HC_equalToLongLong -#endif - - -OBJC_EXPORT id HC_equalToShort(short value); - -/** - equalToShort(value) - - Matches if object is equal to @c NSNumber created from a @c short. - - @param value The @c short value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c short @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToShort instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToShort HC_equalToShort -#endif - - -OBJC_EXPORT id HC_equalToUnsignedChar(unsigned char value); - -/** - equalToUnsignedChar(value) - - Matches if object is equal to @c NSNumber created from an unsigned char. - - @param value The unsigned char value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an unsigned char @a value and - compares the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedChar instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedChar HC_equalToUnsignedChar -#endif - - -OBJC_EXPORT id HC_equalToUnsignedInt(unsigned int value); - -/** - equalToUnsignedInt(value) - - Matches if object is equal to @c NSNumber created from an unsigned int. - - @param value The unsigned int value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an unsigned int @a value and - compares the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedInt instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedInt HC_equalToUnsignedInt -#endif - - -OBJC_EXPORT id HC_equalToUnsignedLong(unsigned long value); - -/** - equalToUnsignedLong(value) - - Matches if object is equal to @c NSNumber created from an unsigned long. - - @param value The unsigned long value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an unsigned long @a value and - compares the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedLong instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedLong HC_equalToUnsignedLong -#endif - - -OBJC_EXPORT id HC_equalToUnsignedLongLong(unsigned long long value); - -/** - equalToUnsignedLongLong(value) - - Matches if object is equal to @c NSNumber created from an unsigned long long. - - @param value The unsigned long long value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an unsigned long long @a value and - compares the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedLongLong instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedLongLong HC_equalToUnsignedLongLong -#endif - - -OBJC_EXPORT id HC_equalToUnsignedShort(unsigned short value); - -/** - equalToUnsignedShort(value) - - Matches if object is equal to @c NSNumber created from an unsigned short. - - @param value The unsigned short value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an unsigned short @a value and - compares the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedShort instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedShort HC_equalToUnsignedShort -#endif - - -OBJC_EXPORT id HC_equalToInteger(NSInteger value); - -/** - equalToInteger(value) - - Matches if object is equal to @c NSNumber created from an @c NSInteger. - - @param value The @c NSInteger value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an @c NSInteger @a value and compares the - evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToInteger instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToInteger HC_equalToInteger -#endif - - -OBJC_EXPORT id HC_equalToUnsignedInteger(NSUInteger value); - -/** - equalToUnsignedInteger(value) - - Matches if object is equal to @c NSNumber created from an @c NSUInteger. - - @param value The @c NSUInteger value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an @c NSUInteger @a value and compares the - evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedInteger instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedInteger HC_equalToUnsignedInteger -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsIn.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsIn.h deleted file mode 100644 index 2200a2e1fe..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsIn.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// OCHamcrest - HCIsIn.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsIn : HCBaseMatcher -{ - id collection; -} - -+ (id)isInCollection:(id)aCollection; -- (id)initWithCollection:(id)aCollection; - -@end - - -OBJC_EXPORT id HC_isIn(id aCollection); - -/** - isIn(aCollection) - - Matches if evaluated object is present in a given collection. - - @param aCollection The collection to search. - - This matcher invokes @c -containsObject: on @a aCollection to determine if the evaluated object - is an element of the collection. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_isIn instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define isIn HC_isIn -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsInstanceOf.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsInstanceOf.h deleted file mode 100644 index 87b3065ac3..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsInstanceOf.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCIsInstanceOf.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsInstanceOf : HCBaseMatcher -{ - Class theClass; -} - -+ (id)isInstanceOf:(Class)type; -- (id)initWithType:(Class)type; - -@end - - -OBJC_EXPORT id HC_instanceOf(Class aClass); - -/** - instanceOf(aClass) - - Matches if object is an instance of, or inherits from, a given class. - - @param aClass The class to compare against as the expected class. - - This matcher checks whether the evaluated object is an instance of @a aClass or an instance of - any class that inherits from @a aClass. - - Example: - @li @ref instanceOf([NSString class]) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_instanceOf instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define instanceOf HC_instanceOf -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsNil.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsNil.h deleted file mode 100644 index 0e6ed27397..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsNil.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// OCHamcrest - HCIsNil.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsNil : HCBaseMatcher - -+ (id)isNil; - -@end - - -OBJC_EXPORT id HC_nilValue(); - -/** - Matches if object is @c nil. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_nilValue instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define nilValue() HC_nilValue() -#endif - - -OBJC_EXPORT id HC_notNilValue(); - -/** - Matches if object is not @c nil. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_notNilValue instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define notNilValue() HC_notNilValue() -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsNot.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsNot.h deleted file mode 100644 index dde5e3de8f..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsNot.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// OCHamcrest - HCIsNot.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsNot : HCBaseMatcher -{ - id matcher; -} - -+ (id)isNot:(id)aMatcher; -- (id)initNot:(id)aMatcher; - -@end - - -OBJC_EXPORT id HC_isNot(id aMatcher); - -/** - isNot(aMatcher) - - Inverts the given matcher to its logical negation. - - @param aMatcher The matcher to negate. - - This matcher compares the evaluated object to the negation of the given matcher. If the - @a aMatcher argument is not a matcher, it is implicitly wrapped in an @ref equalTo matcher to - check for equality, and thus matches for inequality. - - Examples: - @li @ref assertThat(cheese, isNot(equalTo(smelly))) - @li @ref assertThat(cheese, isNot(smelly)) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_isNot instead.) - - @ingroup logical_matchers - */ -#ifdef HC_SHORTHAND - #define isNot HC_isNot -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsSame.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsSame.h deleted file mode 100644 index fecc0099a1..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCIsSame.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// OCHamcrest - HCIsSame.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsSame : HCBaseMatcher -{ - id object; -} - -+ (id)isSameAs:(id)anObject; -- (id)initSameAs:(id)anObject; - -@end - - -OBJC_EXPORT id HC_sameInstance(id object); - -/** - sameInstance(anObject) - - Matches if evaluated object is the same instance as a given object. - - @param anObject The object to compare against as the expected value. - - This matcher compares the address of the evaluated object to determine if it is the same object - as @a anObject. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_sameInstance instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define sameInstance HC_sameInstance -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCMatcher.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCMatcher.h deleted file mode 100644 index 85d3417e6b..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCMatcher.h +++ /dev/null @@ -1,54 +0,0 @@ -// -// OCHamcrest - HCMatcher.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -/** - A matcher over acceptable values. - - A matcher is able to describe itself to give feedback when it fails. - - HCMatcher implementations should @b not directly implement this protocol. - Instead, @b extend the HCBaseMatcher class, which will ensure that the HCMatcher API can grow - to support new features and remain compatible with all HCMatcher implementations. - - @ingroup core - */ -@protocol HCMatcher - -/** - Evaluates the matcher for argument @a item. - - @param item The object against which the matcher is evaluated. - @return @c YES if @a item matches, otherwise @c NO. - */ -- (BOOL)matches:(id)item; - -/** - Evaluates the matcher for argument @a item. - - @param item The object against which the matcher is evaluated. - @param mismatchDescription The description to be built or appended to if @a item does not match. - @return @c YES if @a item matches, otherwise @c NO. - */ -- (BOOL)matches:(id)item describingMismatchTo:(id)mismatchDescription; - -/** - Generates a description of why the matcher has not accepted the item. - - The description will be part of a larger description of why a matching failed, so it should be - concise. - - This method assumes that @c matches:item is false, but will not check this. - - @param item The item that the HCMatcher has rejected. - @param mismatchDescription The description to be built or appended to. - */ -- (void)describeMismatchOf:(id)item to:(id)mismatchDescription; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCNumberAssert.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCNumberAssert.h deleted file mode 100644 index f9165fccdd..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCNumberAssert.h +++ /dev/null @@ -1,385 +0,0 @@ -// -// OCHamcrest - HCNumberAssert.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCMatcher; - - -OBJC_EXPORT void HC_assertThatBoolWithLocation(id testCase, BOOL actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatBool(actual, matcher) \ - HC_assertThatBoolWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatBool(actual, matcher) - - Asserts that @c BOOL actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c BOOL value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatBool instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatBool HC_assertThatBool -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatCharWithLocation(id testCase, char actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatChar(actual, matcher) \ - HC_assertThatCharWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatChar(actual, matcher) - - Asserts that @c char actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c char value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatChar instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatChar HC_assertThatChar -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatDoubleWithLocation(id testCase, double actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatDouble(actual, matcher) \ - HC_assertThatDoubleWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - HC_assertThatDouble(actual, matcher) - - Asserts that @c double actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c double value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatDouble instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatDouble HC_assertThatDouble -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatFloatWithLocation(id testCase, float actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatFloat(actual, matcher) \ - HC_assertThatFloatWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatFloat(actual, matcher) - - Asserts that @c float actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c float value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatFloat instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatFloat HC_assertThatFloat -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatIntWithLocation(id testCase, int actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatInt(actual, matcher) \ - HC_assertThatIntWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatInt(actual, matcher) - - Asserts that @c int actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c int value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatInt instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatInt HC_assertThatInt -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatLongWithLocation(id testCase, long actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatLong(actual, matcher) \ - HC_assertThatLongWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatLong(actual, matcher) - - Asserts that @c long actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c long value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatLong instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatLong HC_assertThatLong -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatLongLongWithLocation(id testCase, long long actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatLongLong(actual, matcher) \ - HC_assertThatLongLongWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatLongLong(actual, matcher) - - Asserts that long long actual value, converted to an @c NSNumber, satisfies - matcher. - - @param actual The long long value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatLongLong instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatLongLong HC_assertThatLongLong -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatShortWithLocation(id testCase, short actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatShort(actual, matcher) \ - HC_assertThatShortWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatShort(actual, matcher) - - Asserts that @c short actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c short value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatShort instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatShort HC_assertThatShort -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedCharWithLocation(id testCase, unsigned char actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedChar(actual, matcher) \ - HC_assertThatUnsignedCharWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedChar(actual, matcher) - - Asserts that unsigned char actual value, converted to an @c NSNumber, satisfies - matcher. - - @param actual The unsigned char value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedChar instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedChar HC_assertThatUnsignedChar -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedIntWithLocation(id testCase, unsigned int actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedInt(actual, matcher) \ - HC_assertThatUnsignedIntWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedInt(actual, matcher) - - Asserts that unsigned int actual value, converted to an @c NSNumber, satisfies - matcher. - - @param actual The unsigned int value to convert to an @c NSNumber for evaluation @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedInt instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedInt HC_assertThatUnsignedInt -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedLongWithLocation(id testCase, unsigned long actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedLong(actual, matcher) \ - HC_assertThatUnsignedLongWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedLong(actual, matcher) - - Asserts that unsigned long actual value, converted to an @c NSNumber, satisfies - matcher. - - @param actual The unsigned long value to convert to an @c NSNumber for evaluation @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedLong instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedLong HC_assertThatUnsignedLong -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedLongLongWithLocation(id testCase, unsigned long long actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedLongLong(actual, matcher) \ - HC_assertThatUnsignedLongLongWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedLongLong(actual, matcher) - - Asserts that unsigned long long actual value, converted to an @c NSNumber, - satisfies matcher. - - @param actual The unsigned long long value to convert to an @c NSNumber for evaluation @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedLongLong instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedLongLong HC_assertThatUnsignedLongLong -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedShortWithLocation(id testCase, unsigned short actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedShort(actual, matcher) \ - HC_assertThatUnsignedShortWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedShort(actual, matcher) - - Asserts that unsigned short actual value, converted to an @c NSNumber, satisfies - matcher. - - @param actual The unsigned short value to convert to an @c NSNumber for evaluation @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedShort instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedShort HC_assertThatUnsignedShort -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatIntegerWithLocation(id testCase, NSInteger actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatInteger(actual, matcher) \ - HC_assertThatIntegerWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatInteger(actual, matcher) - - Asserts that @c NSInteger actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c NSInteger value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatInteger instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatInteger HC_assertThatInteger -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedIntegerWithLocation(id testCase, NSUInteger actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedInteger(actual, matcher) \ - HC_assertThatUnsignedIntegerWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedInteger(actual, matcher) - - Asserts that @c NSUInteger actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c NSUInteger value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedInteger instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedInteger HC_assertThatUnsignedInteger -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCOrderingComparison.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCOrderingComparison.h deleted file mode 100644 index efd85f6b0a..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCOrderingComparison.h +++ /dev/null @@ -1,113 +0,0 @@ -// -// OCHamcrest - HCOrderingComparison.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCOrderingComparison : HCBaseMatcher -{ - id expected; - NSComparisonResult minCompare; - NSComparisonResult maxCompare; - NSString *comparisonDescription; -} - -+ (id)compare:(id)expectedValue - minCompare:(NSComparisonResult)min - maxCompare:(NSComparisonResult)max - comparisonDescription:(NSString *)comparisonDescription; - -- (id)initComparing:(id)expectedValue - minCompare:(NSComparisonResult)min - maxCompare:(NSComparisonResult)max - comparisonDescription:(NSString *)comparisonDescription; - -@end - - -OBJC_EXPORT id HC_greaterThan(id expected); - -/** - greaterThan(aNumber) - - Matches if object is greater than a given number. - - @param aNumber The @c NSNumber to compare against. - - Example: - @li @ref greaterThan([NSNumber numberWithInt:5]) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_greaterThan instead.) - - @ingroup number_matchers - */ -#ifdef HC_SHORTHAND - #define greaterThan HC_greaterThan -#endif - - -OBJC_EXPORT id HC_greaterThanOrEqualTo(id expected); - -/** - greaterThanOrEqualTo(aNumber) - - Matches if object is greater than or equal to a given number. - - @param aNumber The @c NSNumber to compare against. - - Example: - @li @ref greaterThanOrEqualTo([NSNumber numberWithInt:5]) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_greaterThanOrEqualTo instead.) - - @ingroup number_matchers - */ -#ifdef HC_SHORTHAND - #define greaterThanOrEqualTo HC_greaterThanOrEqualTo -#endif - - -OBJC_EXPORT id HC_lessThan(id expected); - -/** - lessThan(aNumber) - - Matches if object is less than a given number. - - @param aNumber The @c NSNumber to compare against. - - Example: - @li @ref lessThan([NSNumber numberWithInt:5]) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_lessThan instead.) - - @ingroup number_matchers - */ -#ifdef HC_SHORTHAND - #define lessThan HC_lessThan -#endif - - -OBJC_EXPORT id HC_lessThanOrEqualTo(id expected); - -/** - lessThanOrEqualTo(aNumber) - - Matches if object is less than or equal to a given number. - - @param aNumber The @c NSNumber to compare against. - - Example: - @li @ref lessThanOrEqualTo([NSNumber numberWithInt:5]) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_lessThanOrEqualTo instead.) - - @ingroup number_matchers - */ -#ifdef HC_SHORTHAND - #define lessThanOrEqualTo HC_lessThanOrEqualTo -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCRequireNonNilObject.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCRequireNonNilObject.h deleted file mode 100644 index 2ec9b94258..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCRequireNonNilObject.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// OCHamcrest - HCRequireNonNilObject.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import -#import - - -/** - Throws an NSException if @a obj is @c nil. - - @ingroup helpers -*/ -OBJC_EXPORT void HCRequireNonNilObject(id obj); diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCRequireNonNilString.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCRequireNonNilString.h deleted file mode 100644 index ee1aa723fc..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCRequireNonNilString.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// OCHamcrest - HCRequireNonNilString.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import -#import - - -/** - Throws an NSException if @a string is @c nil. - - @b Deprecated: Use @ref HCRequireNonNilObject instead. - - @ingroup helpers -*/ -OBJC_EXPORT void HCRequireNonNilString(NSString *string) __attribute__((deprecated)); diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCSelfDescribing.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCSelfDescribing.h deleted file mode 100644 index 31059edac8..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCSelfDescribing.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// OCHamcrest - HCSelfDescribing.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCDescription; - - -/** - The ability of an object to describe itself. - - @ingroup core - */ -@protocol HCSelfDescribing - -/** - Generates a description of the object. - - The description may be part of a description of a larger object of which this is just a - component, so it should be worded appropriately. - - @param description The description to be built or appended to. - */ -- (void)describeTo:(id)description; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringContains.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringContains.h deleted file mode 100644 index 72e50b47ff..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringContains.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCStringContains.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCStringContains : HCSubstringMatcher - -+ (id)stringContains:(NSString *)aSubstring; - -@end - - -OBJC_EXPORT id HC_containsString(NSString *aSubstring); - -/** - containsString(aString) - - Matches if object is a string containing a given string. - - @param aString The string to search for. This value must not be @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it checks whether it - contains @a aString. - - Example: - - @par - @ref containsString(@"def") - - will match "abcdefg". - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_containsString instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define containsString HC_containsString -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringContainsInOrder.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringContainsInOrder.h deleted file mode 100644 index fe75bb0e76..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringContainsInOrder.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// OCHamcrest - HCStringContainsInOrder.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCStringContainsInOrder : HCBaseMatcher -{ - NSArray *substrings; -} - -+ (id)containsInOrder:(NSArray *)substringList; -- (id)initWithSubstrings:(NSArray *)substringList; - -@end - - -OBJC_EXPORT id HC_stringContainsInOrder(NSString *substring, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - stringContainsInOrder(firstString, ...) - - Matches if object is a string containing a given list of substrings in relative order. - - @param firstString,... A comma-separated list of strings ending with @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it checks whether it - contains a given list of strings, in relative order to each other. The searches are performed - starting from the beginning of the evaluated string. - - Example: - - @par - @ref stringContainsInOrder(@"bc", @"fg", @"jkl", nil) - - will match "abcdefghijklm". - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_stringContainsInOrder instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define stringContainsInOrder HC_stringContainsInOrder -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringDescription.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringDescription.h deleted file mode 100644 index e57023be6c..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringDescription.h +++ /dev/null @@ -1,41 +0,0 @@ -// -// OCHamcrest - HCStringDescription.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCSelfDescribing; - - -/** - An HCDescription that is stored as a string. - - @ingroup core - */ -@interface HCStringDescription : HCBaseDescription -{ - NSMutableString *accumulator; -} - -/** - Returns the description of an HCSelfDescribing object as a string. - - @param selfDescribing The object to be described. - @return The description of the object. - */ -+ (NSString *)stringFrom:(id)selfDescribing; - -/** - Returns an empty description. - */ -+ (HCStringDescription *)stringDescription; - -/** - Returns an initialized HCStringDescription object that is empty. - */ -- (id)init; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringEndsWith.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringEndsWith.h deleted file mode 100644 index 39bfbda6c4..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringEndsWith.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCStringEndsWith.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCStringEndsWith : HCSubstringMatcher - -+ (id)stringEndsWith:(NSString *)aSubstring; - -@end - - -OBJC_EXPORT id HC_endsWith(NSString *aSubstring); - -/** - endsWith(aString) - - Matches if object is a string ending with a given string. - - @param aString The string to search for. This value must not be @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it checks if - @a aString matches the ending characters of the evaluated object. - - Example: - - @par - @ref endsWith(@"bar") - - will match "foobar". - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_endsWith instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define endsWith HC_endsWith -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringStartsWith.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringStartsWith.h deleted file mode 100644 index 2620d84c86..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCStringStartsWith.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCStringStartsWith.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCStringStartsWith : HCSubstringMatcher - -+ (id)stringStartsWith:(NSString *)aSubstring; - -@end - - -OBJC_EXPORT id HC_startsWith(NSString *aSubstring); - -/** - startsWith(aString) - - Matches if object is a string starting with a given string. - - @param aString The string to search for. This value must not be @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it checks if - @a aString matches the beginning characters of the evaluated object. - - Example: - - @par - @ref endsWith(@"foo") - - will match "foobar". - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_startsWith instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define startsWith HC_startsWith -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCSubstringMatcher.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCSubstringMatcher.h deleted file mode 100644 index 8fa9ac44f3..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCSubstringMatcher.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// OCHamcrest - HCSubstringMatcher.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCSubstringMatcher : HCBaseMatcher -{ - NSString *substring; -} - -- (id)initWithSubstring:(NSString *)aString; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCWrapInMatcher.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCWrapInMatcher.h deleted file mode 100644 index b120ee71f7..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/HCWrapInMatcher.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// OCHamcrest - HCWrapInMatcher.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCMatcher; - - -/** - Wraps argument in a matcher, if necessary. - - @return The argument as-if if it is already a matcher, otherwise wrapped in an @ref equalTo matcher. - - @ingroup helpers - */ -OBJC_EXPORT id HCWrapInMatcher(id matcherOrValue); diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/NSObject+HCSelfDescribingValue.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/NSObject+HCSelfDescribingValue.h deleted file mode 100644 index 6e8ab74d2e..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/NSObject+HCSelfDescribingValue.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// OCHamcrest - NSObject+HCSelfDescribingValue.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCDescription; - -/** - This category allows any object to satisfy the HCSelfDescribing protocol. - - @b Deprecated: No longer needed now that @ref appendDescriptionOf: handles all types of objects. - - @ingroup core - */ -@interface NSObject (HCSelfDescribingValue) - -/** - Generates a description of the object. - - @param description The description to be appended to. - */ -- (void)describeTo:(id)description __attribute__((deprecated)); - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/OCHamcrest.h b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/OCHamcrest.h deleted file mode 100644 index 50042f72bd..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Headers/OCHamcrest.h +++ /dev/null @@ -1,134 +0,0 @@ -// -// OCHamcrest - OCHamcrest.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -/** - @defgroup library Matcher Library - - Library of Matcher implementations. - */ - -/** - @defgroup object_matchers Object Matchers - - Matchers that inspect objects. - - @ingroup library - */ -#import -#import -#import -#import -#import -#import - -/** - @defgroup collection_matchers Collection Matchers - - Matchers of collections. - - @ingroup library - */ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -/** - @defgroup number_matchers Number Matchers - - Matchers that perform numeric comparisons. - - @ingroup library - */ -#import -#import - -/** - @defgroup primitive_number_matchers Primitive Number Matchers - - Matchers for testing equality against primitive numeric types. - - @ingroup number_matchers - */ -#import - -/** - @defgroup text_matchers Text Matchers - - Matchers that perform text comparisons. - - @ingroup library - */ -#import -#import -#import -#import -#import -#import - -/** - @defgroup logical_matchers Logical Matchers - - Boolean logic using other matchers. - - @ingroup library - */ -#import -#import -#import -#import - -/** - @defgroup decorator_matchers Decorator Matchers - - Matchers that decorate other matchers for better expression. - - @ingroup library - */ -#import -#import - -/** - @defgroup integration Unit Test Integration - */ -#import - -/** - @defgroup integration_numeric Unit Tests of Primitive Numbers - - Unit test integration for primitive numbers. - - The @c assertThat<Type> macros convert the primitive actual value to an @c NSNumber, - passing that to the matcher for evaluation. If the matcher is not satisfied, an exception is - thrown describing the mismatch. - - This family of macros is designed to integrate well with OCUnit and other unit testing - frameworks. Unmet assertions are reported as test failures. In Xcode, they can be clicked to - reveal the line of the assertion. - - @ingroup integration - */ -#import - -/** - @defgroup core Core API - */ - -/** - @defgroup helpers Helpers - - Utilities for writing Matchers. - - @ingroup core - */ diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/OCHamcrest b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/OCHamcrest deleted file mode 100755 index 835c645e80..0000000000 Binary files a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/OCHamcrest and /dev/null differ diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Resources/Info.plist b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Resources/Info.plist deleted file mode 100644 index e67665ddec..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/A/Resources/Info.plist +++ /dev/null @@ -1,42 +0,0 @@ - - - - - BuildMachineOSBuild - 10K549 - CFBundleDevelopmentRegion - English - CFBundleExecutable - OCHamcrest - CFBundleIdentifier - org.hamcrest.OCHamcrest - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - OCHamcrest - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.6 - CFBundleSignature - ???? - CFBundleVersion - 1.6 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 4B110f - DTPlatformVersion - GM - DTSDKBuild - 4B110f - DTSDKName - macosx10.6 - DTXcode - 0410 - DTXcodeBuild - 4B110f - NSHumanReadableCopyright - Copyright © 2011 hamcrest.org - - diff --git a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/Current b/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/Current deleted file mode 120000 index 8c7e5a667f..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrest.framework/Versions/Current +++ /dev/null @@ -1 +0,0 @@ -A \ No newline at end of file diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Headers b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Headers deleted file mode 120000 index a177d2a6b9..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Headers +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Headers \ No newline at end of file diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/OCHamcrestIOS b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/OCHamcrestIOS deleted file mode 120000 index d03098854b..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/OCHamcrestIOS +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/OCHamcrestIOS \ No newline at end of file diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Resources b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Resources deleted file mode 120000 index 953ee36f3b..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Resources +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Resources \ No newline at end of file diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCAllOf.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCAllOf.h deleted file mode 100644 index e0a717c359..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCAllOf.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCAllOf.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCAllOf : HCBaseMatcher -{ - NSArray *matchers; -} - -+ (id)allOf:(NSArray *)theMatchers; -- (id)initWithMatchers:(NSArray *)theMatchers; - -@end - - -OBJC_EXPORT id HC_allOf(id match, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - allOf(firstMatcher, ...) - - Matches if all of the given matchers evaluate to @c YES. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - The matchers are evaluated from left to right using short-circuit evaluation, so evaluation - stops as soon as a matcher returns @c NO. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_allOf instead.) - - @ingroup logical_matchers - */ -#ifdef HC_SHORTHAND - #define allOf HC_allOf -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCAnyOf.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCAnyOf.h deleted file mode 100644 index f0ae84b78d..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCAnyOf.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCAnyOf.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCAnyOf : HCBaseMatcher -{ - NSArray *matchers; -} - -+ (id)anyOf:(NSArray *)theMatchers; -- (id)initWithMatchers:(NSArray *)theMatchers; - -@end - - -OBJC_EXPORT id HC_anyOf(id match, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - anyOf(firstMatcher, ...) - - Matches if any of the given matchers evaluate to @c YES. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - The matchers are evaluated from left to right using short-circuit evaluation, so evaluation - stops as soon as a matcher returns @c YES. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_anyOf instead.) - - @ingroup logical_matchers - */ -#ifdef HC_SHORTHAND - #define anyOf HC_anyOf -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCAssertThat.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCAssertThat.h deleted file mode 100644 index ea50cab095..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCAssertThat.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// OCHamcrest - HCAssertThat.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCMatcher; - - -OBJC_EXPORT void HC_assertThatWithLocation(id testCase, id actual, id matcher, - const char *fileName, int lineNumber); - -#define HC_assertThat(actual, matcher) \ - HC_assertThatWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThat(actual, matcher) - - Asserts that actual value satisfies matcher. - - @param actual The object to evaluate as the actual value. - @param matcher The matcher to satisfy as the expected condition. - - @c assertThat passes the actual value to the matcher for evaluation. If the matcher is not - satisfied, an exception is thrown describing the mismatch. - - @c assertThat is designed to integrate well with OCUnit and other unit testing frameworks. - Unmet assertions are reported as test failures. In Xcode, these failures can be clicked to - reveal the line of the assertion. - - In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThat instead. - - @ingroup integration - */ -#ifdef HC_SHORTHAND - #define assertThat HC_assertThat -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCBaseDescription.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCBaseDescription.h deleted file mode 100644 index 298076c870..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCBaseDescription.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// OCHamcrest - HCBaseDescription.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import -#import - - -/** - Base class for all HCDescription implementations. - - @ingroup core - */ -@interface HCBaseDescription : NSObject -@end - - -/** - Methods that must be provided by subclasses of HCBaseDescription. - */ -@interface HCBaseDescription (SubclassMustImplement) - -/** - Append the string @a str to the description. - */ -- (void)append:(NSString *)str; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCBaseMatcher.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCBaseMatcher.h deleted file mode 100644 index 2367702f8a..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCBaseMatcher.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// OCHamcrest - HCBaseMatcher.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import -#import - -#import // Convenience header, to provide OBJC_EXPORT - - -/** - Base class for all HCMatcher implementations. - - Most implementations can just implement @c -matches: and let - -matches:describingMismatchTo: call it. But if it makes more sense to generate the - mismatch description during the matching, override -matches:describingMismatchTo: - and have @c -matches: call it with a @c nil description. - - @ingroup core - */ -@interface HCBaseMatcher : NSObject -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCBoxNumber.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCBoxNumber.h deleted file mode 100644 index e97134fe62..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCBoxNumber.h +++ /dev/null @@ -1,88 +0,0 @@ -// -// OCHamcrest - HCBoxNumber.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#ifdef __cplusplus - -namespace hamcrest { - -/** - Boxes a scalar value in an NSNumber, specialized per type. - @ingroup number_matchers - */ -template -inline -NSNumber *boxNumber(T value) - { return nil; } - -template <> -inline -NSNumber *boxNumber(BOOL value) - { return [NSNumber numberWithBool:value]; } - -template <> -inline -NSNumber *boxNumber(char value) - { return [NSNumber numberWithChar:value]; } - -template <> -inline -NSNumber *boxNumber(double value) - { return [NSNumber numberWithDouble:value]; } - -template <> -inline -NSNumber *boxNumber(float value) - { return [NSNumber numberWithFloat:value]; } - -template <> -inline -NSNumber *boxNumber(int value) - { return [NSNumber numberWithInt:value]; } - -template <> -inline -NSNumber *boxNumber(long value) - { return [NSNumber numberWithLong:value]; } - -template <> -inline -NSNumber *boxNumber(long long value) - { return [NSNumber numberWithLongLong:value]; } - -template <> -inline -NSNumber *boxNumber(short value) - { return [NSNumber numberWithShort:value]; } - -template <> -inline -NSNumber *boxNumber(unsigned char value) - { return [NSNumber numberWithUnsignedChar:value]; } - -template <> -inline -NSNumber *boxNumber(unsigned int value) - { return [NSNumber numberWithUnsignedInt:value]; } - -template <> -inline -NSNumber *boxNumber(unsigned long value) - { return [NSNumber numberWithUnsignedLong:value]; } - -template <> -inline -NSNumber *boxNumber(unsigned long long value) - { return [NSNumber numberWithUnsignedLongLong:value]; } - -template <> -inline -NSNumber *boxNumber(unsigned short value) - { return [NSNumber numberWithUnsignedShort:value]; } - -} // namespace hamcrest - -#endif // __cplusplus diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCCollectMatchers.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCCollectMatchers.h deleted file mode 100644 index c1a9a038e1..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCCollectMatchers.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// OCHamcrest - HCCollectMatchers.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import -#import - -#import - -@protocol HCMatcher; - - -/** - Returns an array of matchers from a variable-length comma-separated list terminated by @c nil. - - @ingroup helpers -*/ -OBJC_EXPORT NSMutableArray *HCCollectMatchers(id item1, va_list args); diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCDescribedAs.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCDescribedAs.h deleted file mode 100644 index eadee62530..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCDescribedAs.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// OCHamcrest - HCDescribedAs.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCDescribedAs : HCBaseMatcher -{ - NSString *descriptionTemplate; - id matcher; - NSArray *values; -} - -+ (id)describedAs:(NSString *)description - forMatcher:(id)aMatcher - overValues:(NSArray *)templateValues; - -- (id)initWithDescription:(NSString *)description - forMatcher:(id)aMatcher - overValues:(NSArray *)templateValues; - -@end - - -OBJC_EXPORT id HC_describedAs(NSString *description, id matcher, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - describedAs(description, matcher, ...) - - Adds custom failure description to a given matcher. - - @param description Overrides the matcher's description. - @param matcher,... The matcher to satisfy, followed by a comma-separated list of substitution values ending with @c nil. - - The description may contain substitution placeholders \%0, \%1, etc. These will be replaced by - any values that follow the matcher. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_describedAs instead.) - - @ingroup decorator_matchers - */ -#ifdef HC_SHORTHAND - #define describedAs HC_describedAs -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCDescription.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCDescription.h deleted file mode 100644 index 26296d38bf..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCDescription.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// OCHamcrest - HCDescription.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -/** - A description of an HCMatcher. - - An HCMatcher will describe itself to a description which can later be used for reporting. - - @ingroup core - */ -@protocol HCDescription - -/** - Appends some plain text to the description. - - @return @c self, for chaining. - */ -- (id)appendText:(NSString *)text; - -/** - Appends description of given value to @c self. - - If the value implements the @ref HCSelfDescribing protocol, then it will be used. - - @return @c self, for chaining. - */ -- (id)appendDescriptionOf:(id)value; - -/** - Appends an arbitary value to the description. - - @b Deprecated: Call @ref appendDescriptionOf: instead. - - @return @c self, for chaining. - */ -- (id)appendValue:(id)value __attribute__((deprecated)); - -/** - Appends a list of objects to the description. - - @return @c self, for chaining. - */ -- (id)appendList:(NSArray *)values - start:(NSString *)start - separator:(NSString *)separator - end:(NSString *)end; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCHasCount.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCHasCount.h deleted file mode 100644 index 0dfc0aaa17..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCHasCount.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// OCHamcrest - HCHasCount.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCHasCount : HCBaseMatcher -{ - id countMatcher; -} - -+ (id)hasCount:(id)matcher; -- (id)initWithCount:(id)matcher; - -@end - - -OBJC_EXPORT id HC_hasCount(id matcher); - -/** - hasCount(aMatcher) - - Matches if object's @c -count satisfies a given matcher. - - @param aMatcher The matcher to satisfy. - - This matcher invokes @c -count on the evaluated object to get the number of elements it - contains, passing the result to @a aMatcher for evaluation. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasCount instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasCount HC_hasCount -#endif - - -OBJC_EXPORT id HC_hasCountOf(NSUInteger count); - -/** - hasCountOf(value) - - Matches if object's @c -count equals a given value. - - @param value @c NSUInteger value to compare against as the expected value. - - This matcher invokes @c -count on the evaluated object to get the number of elements it - contains, comparing the result to @a value for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasCountOf instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasCountOf HC_hasCountOf -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCHasDescription.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCHasDescription.h deleted file mode 100644 index de453b3701..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCHasDescription.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// OCHamcrest - HCHasDescription.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCHasDescription : HCInvocationMatcher - -+ (id)hasDescription:(id)descriptionMatcher; -- (id)initWithDescription:(id)descriptionMatcher; - -@end - - -OBJC_EXPORT id HC_hasDescription(id match); - -/** - hasDescription(aMatcher) - - Matches if object's @c -description satisfies a given matcher. - - @param aMatcher The matcher to satisfy, or an expected value for @ref equalTo matching. - - This matcher invokes @c -description on the evaluated object to get its description, passing the - result to a given matcher for evaluation. If the @a aMatcher argument is not a matcher, it is - implicitly wrapped in an @ref equalTo matcher to check for equality. - - Examples: - @li @ref hasDescription(@ref startsWith(\@"foo")) - @li @ref hasDescription(\@"bar") - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasDescription instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define hasDescription HC_hasDescription -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCHasProperty.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCHasProperty.h deleted file mode 100644 index a1cce28268..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCHasProperty.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// OCHamcrest - HCHasProperty.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Justin Shacklette -// - -#import - - -@interface HCHasProperty : HCBaseMatcher -{ - NSString *propertyName; - id valueMatcher; -} - -+ (id)hasProperty:(NSString *)property value:(id)aValueMatcher; -- (id)initWithProperty:(NSString *)property value:(id)aValueMatcher; - -@end - - -OBJC_EXPORT id HC_hasProperty(NSString *name, id valueMatch); - -/** - hasProperty(name, valueMatcher) - - Matches if object has a method of a given name whose return value satisfies a given matcher. - - @param name The name of a method without arguments that returns an object. - @param valueMatcher The matcher to satisfy for the return value, or an expected value for @ref equalTo matching. - - This matcher first checks if the evaluated object has a method with a name matching the given - @c name. If so, it invokes the method and sees if the returned value satisfies @c valueMatcher. - - While this matcher is called "hasProperty", it's useful for checking the results of any simple - methods, not just properties. - - Examples: - @li @ref hasProperty(@"firstName", @"Joe") - @li @ref hasProperty(@"firstName", startsWith(@"J")) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasProperty instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define hasProperty HC_hasProperty -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCInvocationMatcher.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCInvocationMatcher.h deleted file mode 100755 index 5158137fa6..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCInvocationMatcher.h +++ /dev/null @@ -1,62 +0,0 @@ -// -// OCHamcrest - HCInvocationMatcher.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -/** - Supporting class for matching a feature of an object. - - Tests whether the result of passing a given invocation to the value satisfies a given matcher. - - @ingroup helpers - */ -@interface HCInvocationMatcher : HCBaseMatcher -{ - NSInvocation *invocation; - id subMatcher; - BOOL shortMismatchDescription; -} - -/** - Determines whether a mismatch will be described in short form. - - Default is long form, which describes the object, the name of the invocation, and the - sub-matcher's mismatch diagnosis. Short form only has the sub-matcher's mismatch diagnosis. - */ -@property(nonatomic, assign) BOOL shortMismatchDescription; - -/** - Helper method for creating an invocation. - - A class is specified only so we can determine the method signature. - */ -+ (NSInvocation *)invocationForSelector:(SEL)selector onClass:(Class)aClass; - -/** - Helper method for creating an invocation. - - @b Deprecated: Use new name +invocationForSelector:onClass: - */ -+ (NSInvocation *)createInvocationForSelector:(SEL)selector onClass:(Class)aClass __attribute__((deprecated)); - -/** - Returns an HCInvocationMatcher object initialized with an invocation and a matcher. - */ -- (id)initWithInvocation:(NSInvocation *)anInvocation matching:(id)aMatcher; - -/** - Invokes stored invocation on given item and returns the result. - */ -- (id)invokeOn:(id)item; - -/** - Returns string representation of the invocation's selector. - */ -- (NSString *)stringFromSelector; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIs.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIs.h deleted file mode 100644 index 9f93e9dc07..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIs.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// OCHamcrest - HCIs.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIs : HCBaseMatcher -{ - id matcher; -} - -+ (id)is:(id)aMatcher; -- (id)initWithMatcher:(id)aMatcher; - -@end - - -OBJC_EXPORT id HC_is(id match); - -/** - is(aMatcher) - - Decorates another matcher, or provides a shortcut to the frequently used @ref is(equalTo(x)). - - @param aMatcher The matcher to satisfy, or an expected value for @ref equalTo matching. - - This matcher compares the evaluated object to the given matcher. - - If the @a aMatcher argument is a matcher, its behavior is retained, but the test may be more - expressive. For example: - @li @ref assertThatInt(value, equalToInt(5)) - @li @ref assertThatInt(value, is(equalToInt(5))) - - If the @a aMatcher argument is not a matcher, it is wrapped in an @ref equalTo matcher. This - makes the following statements equivalent: - @li @ref assertThat(cheese, equalTo(smelly)) - @li @ref assertThat(cheese, is(equalTo(smelly))) - @li @ref assertThat(cheese, is(smelly)) - - Choose the style that makes your expression most readable. This will vary depending on context. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_is instead.) - - @ingroup decorator_matchers - */ -#ifdef HC_SHORTHAND - #define is HC_is -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsAnything.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsAnything.h deleted file mode 100644 index 8d5eabe8a2..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsAnything.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// OCHamcrest - HCIsAnything.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsAnything : HCBaseMatcher -{ - NSString *description; -} - -+ (id)isAnything; -+ (id)isAnythingWithDescription:(NSString *)aDescription; - -- (id)init; -- (id)initWithDescription:(NSString *)aDescription; - -@end - - -OBJC_EXPORT id HC_anything(); - -/** - Matches anything. - - This matcher always evaluates to @c YES. Specify this in composite matchers when the value of a - particular element is unimportant. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_anything instead.) - - @ingroup logical_matchers - */ -#ifdef HC_SHORTHAND - #define anything() HC_anything() -#endif - - -OBJC_EXPORT id HC_anythingWithDescription(NSString *aDescription); - -/** - anythingWithDescription(description) - - Matches anything. - - @param description A string used to describe this matcher. - - This matcher always evaluates to @c YES. Specify this in collection matchers when the value of a - particular element in a collection is unimportant. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_anything instead.) - - @ingroup logical_matchers - */ -#ifdef HC_SHORTHAND - #define anythingWithDescription HC_anythingWithDescription -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCloseTo.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCloseTo.h deleted file mode 100644 index 61ce97ce32..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCloseTo.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// OCHamcrest - HCIsCloseTo.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsCloseTo : HCBaseMatcher -{ - double value; - double delta; -} - -+ (id)isCloseTo:(double)aValue within:(double)aDelta; -- (id)initWithValue:(double)aValue delta:(double)aDelta; - -@end - - -OBJC_EXPORT id HC_closeTo(double aValue, double aDelta); - -/** - closeTo(aValue, aDelta) - - Matches if object is a number close to a given value, within a given delta. - - @param aValue The @c double value to compare against as the expected value. - @param aDelta The @c double maximum delta between the values for which the numbers are considered close. - - This matcher invokes @c -doubleValue on the evaluated object to get its value as a @c double. - The result is compared against @a aValue to see if the difference is within a positive @a aDelta. - - Example: - @li @ref closeTo(3.0, 0.25) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_closeTo instead.) - - @ingroup number_matchers - */ -#ifdef HC_SHORTHAND - #define closeTo HC_closeTo -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContaining.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContaining.h deleted file mode 100644 index 2ba3ef7266..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContaining.h +++ /dev/null @@ -1,67 +0,0 @@ -// -// OCHamcrest - HCIsCollectionContaining.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsCollectionContaining : HCBaseMatcher -{ - id elementMatcher; -} - -+ (id)isCollectionContaining:(id)anElementMatcher; -- (id)initWithMatcher:(id)anElementMatcher; - -@end - - -OBJC_EXPORT id HC_hasItem(id itemMatch); - -/** - hasItem(aMatcher) - - Matches if any element of collection satisfies a given matcher. - - @param aMatcher The matcher to satisfy, or an expected value for @ref equalTo matching. - - This matcher iterates the evaluated collection, searching for any element that satisfies a - given matcher. If a matching element is found, @c hasItem is satisfied. - - If the @a aMatcher argument is not a matcher, it is implicitly wrapped in an @ref equalTo - matcher to check for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasItem instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasItem HC_hasItem -#endif - - -OBJC_EXPORT id HC_hasItems(id itemMatch, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - hasItems(firstMatcher, ...) - - Matches if all of the given matchers are satisfied by any elements of the collection. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - This matcher iterates the given matchers, searching for any elements in the evaluated collection - that satisfy them. If each matcher is satisfied, then @c hasItems is satisfied. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c hasItems instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasItems HC_hasItems -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContainingInAnyOrder.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContainingInAnyOrder.h deleted file mode 100644 index 7be62ebb45..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContainingInAnyOrder.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// OCHamcrest - HCIsCollectionContainingInAnyOrder.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsCollectionContainingInAnyOrder : HCBaseMatcher -{ - NSMutableArray *matchers; -} - -+ (id)isCollectionContainingInAnyOrder:(NSMutableArray *)itemMatchers; -- (id)initWithMatchers:(NSMutableArray *)itemMatchers; - -@end - - -OBJC_EXPORT id HC_containsInAnyOrder(id itemMatch, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - containsInAnyOrder(firstMatcher, ...) - - Matches if collection's elements, in any order, satisfy a given list of matchers. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - This matcher iterates the evaluated collection, seeing if each element satisfies any of the - given matchers. The matchers are tried from left to right, and when a satisfied matcher is - found, it is no longer a candidate for the remaining elements. If a one-to-one correspondence is - established between elements and matchers, @c containsInAnyOrder is satisfied. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_containsInAnyOrder instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define containsInAnyOrder HC_containsInAnyOrder -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContainingInOrder.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContainingInOrder.h deleted file mode 100644 index bbe8ea3225..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContainingInOrder.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCIsCollectionContainingInOrder.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsCollectionContainingInOrder : HCBaseMatcher -{ - NSArray *matchers; -} - -+ (id)isCollectionContainingInOrder:(NSArray *)itemMatchers; -- (id)initWithMatchers:(NSArray *)itemMatchers; - -@end - - -OBJC_EXPORT id HC_contains(id itemMatch, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - contains(firstMatcher, ...) - - Matches if collection's elements satisfy a given list of matchers, in order. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - This matcher iterates the evaluated collection and a given list of matchers, seeing if each - element satisfies its corresponding matcher. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_contains instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define contains HC_contains -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionOnlyContaining.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionOnlyContaining.h deleted file mode 100644 index 5012143fb7..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionOnlyContaining.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// OCHamcrest - HCIsCollectionOnlyContaining.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsCollectionOnlyContaining : HCBaseMatcher -{ - id matcher; -} - -+ (id)isCollectionOnlyContaining:(id)aMatcher; -- (id)initWithMatcher:(id)aMatcher; - -@end - - -OBJC_EXPORT id HC_onlyContains(id itemMatch, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - onlyContains(firstMatcher, ...) - - Matches if each element of collection satisfies any of the given matchers. - - @param firstMatcher,... A comma-separated list of matchers ending with @c nil. - - This matcher iterates the evaluated collection, confirming whether each element satisfies any of - the given matchers. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - Example: - - @par - @ref onlyContains(startsWith(@"Jo"), nil) - - will match a collection [@"Jon", @"John", @"Johann"]. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_onlyContains instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define onlyContains HC_onlyContains -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContaining.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContaining.h deleted file mode 100644 index 3000fe36ab..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContaining.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// OCHamcrest - HCIsDictionaryContaining.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsDictionaryContaining : HCBaseMatcher -{ - id keyMatcher; - id valueMatcher; -} - -+ (id)isDictionaryContainingKey:(id)aKeyMatcher - value:(id)aValueMatcher; - -- (id)initWithKeyMatcher:(id)aKeyMatcher - valueMatcher:(id)aValueMatcher; - -@end - - -OBJC_EXPORT id HC_hasEntry(id keyMatch, id valueMatch); - -/** - hasEntry(keyMatcher, valueMatcher) - - Matches if dictionary contains key-value entry satisfying a given pair of matchers. - - @param keyMatcher The matcher to satisfy for the key, or an expected value for @ref equalTo matching. - @param valueMatcher The matcher to satisfy for the value, or an expected value for @ref equalTo matching. - - This matcher iterates the evaluated dictionary, searching for any key-value entry that satisfies - @a keyMatcher and @a valueMatcher. If a matching entry is found, @c hasEntry is satisfied. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - Examples: - @li @ref hasEntry(@ref equalTo(@"foo"), equalTo(@"bar")) - @li @ref hasEntry(@"foo", @"bar") - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasEntry instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasEntry HC_hasEntry -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingEntries.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingEntries.h deleted file mode 100644 index f08ea5fe84..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingEntries.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// OCHamcrest - HCIsDictionaryContainingEntries.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsDictionaryContainingEntries : HCBaseMatcher -{ - NSArray *keys; - NSArray *valueMatchers; -} - -+ (id)isDictionaryContainingKeys:(NSArray *)theKeys - valueMatchers:(NSArray *)theValueMatchers; - -- (id)initWithKeys:(NSArray *)theKeys - valueMatchers:(NSArray *)theValueMatchers; - -@end - - -OBJC_EXPORT id HC_hasEntries(id keysAndValueMatch, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - hasEntries(firstKey, valueMatcher, ...) - - Matches if dictionary contains entries satisfying a list of alternating keys and their value - matchers. - - @param firstKey A key (not a matcher) to look up. - @param valueMatcher,... The matcher to satisfy for the value, or an expected value for @ref equalTo matching. - - Note that the keys must be actual keys, not matchers. Any value argument that is not a matcher - is implicitly wrapped in an @ref equalTo matcher to check for equality. The list must end with - @c nil. - - Examples: - @li @ref hasEntries(@"first", equalTo(@"Jon"), @"last", equalTo(@"Reid"), nil) - @li @ref hasEntries(@"first", @"Jon", @"last", @"Reid", nil) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasEntry instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasEntries HC_hasEntries -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingKey.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingKey.h deleted file mode 100644 index 91e2edc303..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingKey.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// OCHamcrest - HCIsDictionaryContainingKey.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsDictionaryContainingKey : HCBaseMatcher -{ - id keyMatcher; -} - -+ (id)isDictionaryContainingKey:(id)theKeyMatcher; -- (id)initWithKeyMatcher:(id)theKeyMatcher; - -@end - - -OBJC_EXPORT id HC_hasKey(id keyMatch); - -/** - hasKey(keyMatcher) - - Matches if dictionary contains an entry whose key satisfies a given matcher. - - @param keyMatcher The matcher to satisfy for the key, or an expected value for @ref equalTo matching. - - This matcher iterates the evaluated dictionary, searching for any key-value entry whose key - satisfies the given matcher. If a matching entry is found, @c hasKey is satisfied. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasKey instead.) - - Examples: - @li @ref hasEntry(equalTo(@"foo")) - @li @ref hasEntry(@"foo") - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasKey HC_hasKey -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingValue.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingValue.h deleted file mode 100644 index 4dcd75f8bd..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingValue.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// OCHamcrest - HCIsDictionaryContainingValue.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsDictionaryContainingValue : HCBaseMatcher -{ - id valueMatcher; -} - -+ (id)isDictionaryContainingValue:(id)theValueMatcher; -- (id)initWithValueMatcher:(id)theValueMatcher; - -@end - - -OBJC_EXPORT id HC_hasValue(id valueMatch); - -/** - hasValue(valueMatcher) - - Matches if dictionary contains an entry whose value satisfies a given matcher. - - @param valueMatcher The matcher to satisfy for the value, or an expected value for @ref equalTo matching. - - This matcher iterates the evaluated dictionary, searching for any key-value entry whose value - satisfies the given matcher. If a matching entry is found, @c hasValue is satisfied. - - Any argument that is not a matcher is implicitly wrapped in an @ref equalTo matcher to check for - equality. - - Examples: - @li @ref hasValue(equalTo(@"bar")) - @li @ref hasValue(@"bar") - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_hasValue instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define hasValue HC_hasValue -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEmptyCollection.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEmptyCollection.h deleted file mode 100644 index 8df8140bad..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEmptyCollection.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// OCHamcrest - HCIsEmptyCollection.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsEmptyCollection : HCHasCount - -+ (id)isEmptyCollection; -- (id)init; - -@end - - -OBJC_EXPORT id HC_empty(); - -/** - Matches empty collection. - - This matcher invokes @c -count on the evaluated object to determine if the number of elements it - contains is zero. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_empty instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define empty() HC_empty() -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqual.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqual.h deleted file mode 100644 index 67cc183872..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqual.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// OCHamcrest - HCIsEqual.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsEqual : HCBaseMatcher -{ - id object; -} - -+ (id)isEqualTo:(id)anObject; -- (id)initEqualTo:(id)anObject; - -@end - - -OBJC_EXPORT id HC_equalTo(id object); - -/** - equalTo(anObject) - - Matches if object is equal to a given object. - - @param anObject The object to compare against as the expected value. - - This matcher compares the evaluated object to @a anObject for equality, as determined by the - @c -isEqual: method. - - If @a anObject is @c nil, the matcher will successfully match @c nil. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalTo instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define equalTo HC_equalTo -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualIgnoringCase.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualIgnoringCase.h deleted file mode 100644 index 724334e563..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualIgnoringCase.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// OCHamcrest - HCIsEqualIgnoringCase.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsEqualIgnoringCase : HCBaseMatcher -{ - NSString *string; -} - -+ (id)isEqualIgnoringCase:(NSString *)aString; -- (id)initWithString:(NSString *)aString; - -@end - - -OBJC_EXPORT id HC_equalToIgnoringCase(NSString *aString); - -/** - equalToIgnoringCase(aString) - - Matches if object is a string equal to a given string, ignoring case differences. - - @param aString The string to compare against as the expected value. This value must not be @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it compares it with - @a aString, ignoring differences of case. - - Example: - - @par - @ref equalToIgnoringCase(@"hello world") - - will match "heLLo WorlD". - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToIgnoringCase instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define equalToIgnoringCase HC_equalToIgnoringCase -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualIgnoringWhiteSpace.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualIgnoringWhiteSpace.h deleted file mode 100644 index a2715c04cd..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualIgnoringWhiteSpace.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// OCHamcrest - HCIsEqualIgnoringWhiteSpace.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsEqualIgnoringWhiteSpace : HCBaseMatcher -{ - NSString *originalString; - NSString *strippedString; -} - -+ (id)isEqualIgnoringWhiteSpace:(NSString *)aString; -- (id)initWithString:(NSString *)aString; - -@end - - -OBJC_EXPORT id HC_equalToIgnoringWhiteSpace(NSString *aString); - -/** - equalToIgnoringWhiteSpace(aString) - - Matches if object is a string equal to a given string, ignoring differences in whitespace. - - @param aString The string to compare against as the expected value. This value must not be @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it compares it with - @a aString, ignoring differences in runs of whitespace. - - Example: - - @par - @ref equalToIgnoringWhiteSpace(@"hello world") - - will match @verbatim "hello world" @endverbatim - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToIgnoringWhiteSpace instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define equalToIgnoringWhiteSpace HC_equalToIgnoringWhiteSpace -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualToNumber.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualToNumber.h deleted file mode 100644 index 356e4a118e..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualToNumber.h +++ /dev/null @@ -1,323 +0,0 @@ -// -// OCHamcrest - HCIsEqualToNumber.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -OBJC_EXPORT id HC_equalToBool(BOOL value); - -/** - equalToBool(value) - - Matches if object is equal to @c NSNumber created from a @c BOOL. - - @param value The @c BOOL value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c BOOL @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToBool instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToBool HC_equalToBool -#endif - - -OBJC_EXPORT id HC_equalToChar(char value); - -/** - equalToChar(value) - - Matches if object is equal to @c NSNumber created from a @c char. - - @param value The @c char value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c char @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToChar instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToChar HC_equalToChar -#endif - - -OBJC_EXPORT id HC_equalToDouble(double value); - -/** - equalToDouble(value) - - Matches if object is equal to @c NSNumber created from a @c double. - - @param value The @c double value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c double @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToDouble instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToDouble HC_equalToDouble -#endif - - -OBJC_EXPORT id HC_equalToFloat(float value); - -/** - equalToFloat(value) - - Matches if object is equal to @c NSNumber created from a @c float. - - @param value The @c float value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c float @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToFloat instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToFloat HC_equalToFloat -#endif - - -OBJC_EXPORT id HC_equalToInt(int value); - -/** - equalToInt(value) - - Matches if object is equal to @c NSNumber created from an @c int. - - @param value The @c int value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c int @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToInt instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToInt HC_equalToInt -#endif - - -OBJC_EXPORT id HC_equalToLong(long value); - -/** - equalToLong(value) - - Matches if object is equal to @c NSNumber created from a @c long. - - @param value The @c long value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c long @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToLong instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToLong HC_equalToLong -#endif - - -OBJC_EXPORT id HC_equalToLongLong(long long value); - -/** - equalToLongLong(value) - - Matches if object is equal to @c NSNumber created from a long long. - - @param value The long long value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a long long @a value and compares - the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToLongLong instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToLongLong HC_equalToLongLong -#endif - - -OBJC_EXPORT id HC_equalToShort(short value); - -/** - equalToShort(value) - - Matches if object is equal to @c NSNumber created from a @c short. - - @param value The @c short value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from a @c short @a value and compares the evaluated - object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToShort instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToShort HC_equalToShort -#endif - - -OBJC_EXPORT id HC_equalToUnsignedChar(unsigned char value); - -/** - equalToUnsignedChar(value) - - Matches if object is equal to @c NSNumber created from an unsigned char. - - @param value The unsigned char value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an unsigned char @a value and - compares the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedChar instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedChar HC_equalToUnsignedChar -#endif - - -OBJC_EXPORT id HC_equalToUnsignedInt(unsigned int value); - -/** - equalToUnsignedInt(value) - - Matches if object is equal to @c NSNumber created from an unsigned int. - - @param value The unsigned int value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an unsigned int @a value and - compares the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedInt instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedInt HC_equalToUnsignedInt -#endif - - -OBJC_EXPORT id HC_equalToUnsignedLong(unsigned long value); - -/** - equalToUnsignedLong(value) - - Matches if object is equal to @c NSNumber created from an unsigned long. - - @param value The unsigned long value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an unsigned long @a value and - compares the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedLong instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedLong HC_equalToUnsignedLong -#endif - - -OBJC_EXPORT id HC_equalToUnsignedLongLong(unsigned long long value); - -/** - equalToUnsignedLongLong(value) - - Matches if object is equal to @c NSNumber created from an unsigned long long. - - @param value The unsigned long long value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an unsigned long long @a value and - compares the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedLongLong instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedLongLong HC_equalToUnsignedLongLong -#endif - - -OBJC_EXPORT id HC_equalToUnsignedShort(unsigned short value); - -/** - equalToUnsignedShort(value) - - Matches if object is equal to @c NSNumber created from an unsigned short. - - @param value The unsigned short value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an unsigned short @a value and - compares the evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedShort instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedShort HC_equalToUnsignedShort -#endif - - -OBJC_EXPORT id HC_equalToInteger(NSInteger value); - -/** - equalToInteger(value) - - Matches if object is equal to @c NSNumber created from an @c NSInteger. - - @param value The @c NSInteger value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an @c NSInteger @a value and compares the - evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToInteger instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToInteger HC_equalToInteger -#endif - - -OBJC_EXPORT id HC_equalToUnsignedInteger(NSUInteger value); - -/** - equalToUnsignedInteger(value) - - Matches if object is equal to @c NSNumber created from an @c NSUInteger. - - @param value The @c NSUInteger value from which to create an @c NSNumber. - - This matcher creates an @c NSNumber object from an @c NSUInteger @a value and compares the - evaluated object to it for equality. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_equalToUnsignedInteger instead.) - - @ingroup primitive_number_matchers - */ -#ifdef HC_SHORTHAND - #define equalToUnsignedInteger HC_equalToUnsignedInteger -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsIn.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsIn.h deleted file mode 100644 index 653105358c..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsIn.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// OCHamcrest - HCIsIn.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsIn : HCBaseMatcher -{ - id collection; -} - -+ (id)isInCollection:(id)aCollection; -- (id)initWithCollection:(id)aCollection; - -@end - - -OBJC_EXPORT id HC_isIn(id aCollection); - -/** - isIn(aCollection) - - Matches if evaluated object is present in a given collection. - - @param aCollection The collection to search. - - This matcher invokes @c -containsObject: on @a aCollection to determine if the evaluated object - is an element of the collection. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_isIn instead.) - - @ingroup collection_matchers - */ -#ifdef HC_SHORTHAND - #define isIn HC_isIn -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsInstanceOf.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsInstanceOf.h deleted file mode 100644 index 6c11704219..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsInstanceOf.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCIsInstanceOf.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsInstanceOf : HCBaseMatcher -{ - Class theClass; -} - -+ (id)isInstanceOf:(Class)type; -- (id)initWithType:(Class)type; - -@end - - -OBJC_EXPORT id HC_instanceOf(Class aClass); - -/** - instanceOf(aClass) - - Matches if object is an instance of, or inherits from, a given class. - - @param aClass The class to compare against as the expected class. - - This matcher checks whether the evaluated object is an instance of @a aClass or an instance of - any class that inherits from @a aClass. - - Example: - @li @ref instanceOf([NSString class]) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_instanceOf instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define instanceOf HC_instanceOf -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsNil.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsNil.h deleted file mode 100644 index bc13159c6b..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsNil.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// OCHamcrest - HCIsNil.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsNil : HCBaseMatcher - -+ (id)isNil; - -@end - - -OBJC_EXPORT id HC_nilValue(); - -/** - Matches if object is @c nil. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_nilValue instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define nilValue() HC_nilValue() -#endif - - -OBJC_EXPORT id HC_notNilValue(); - -/** - Matches if object is not @c nil. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_notNilValue instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define notNilValue() HC_notNilValue() -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsNot.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsNot.h deleted file mode 100644 index 02078ae05d..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsNot.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// OCHamcrest - HCIsNot.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsNot : HCBaseMatcher -{ - id matcher; -} - -+ (id)isNot:(id)aMatcher; -- (id)initNot:(id)aMatcher; - -@end - - -OBJC_EXPORT id HC_isNot(id aMatcher); - -/** - isNot(aMatcher) - - Inverts the given matcher to its logical negation. - - @param aMatcher The matcher to negate. - - This matcher compares the evaluated object to the negation of the given matcher. If the - @a aMatcher argument is not a matcher, it is implicitly wrapped in an @ref equalTo matcher to - check for equality, and thus matches for inequality. - - Examples: - @li @ref assertThat(cheese, isNot(equalTo(smelly))) - @li @ref assertThat(cheese, isNot(smelly)) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_isNot instead.) - - @ingroup logical_matchers - */ -#ifdef HC_SHORTHAND - #define isNot HC_isNot -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsSame.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsSame.h deleted file mode 100644 index 476f0ebe05..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCIsSame.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// OCHamcrest - HCIsSame.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCIsSame : HCBaseMatcher -{ - id object; -} - -+ (id)isSameAs:(id)anObject; -- (id)initSameAs:(id)anObject; - -@end - - -OBJC_EXPORT id HC_sameInstance(id object); - -/** - sameInstance(anObject) - - Matches if evaluated object is the same instance as a given object. - - @param anObject The object to compare against as the expected value. - - This matcher compares the address of the evaluated object to determine if it is the same object - as @a anObject. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_sameInstance instead.) - - @ingroup object_matchers - */ -#ifdef HC_SHORTHAND - #define sameInstance HC_sameInstance -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCMatcher.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCMatcher.h deleted file mode 100644 index 010c8c6d43..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCMatcher.h +++ /dev/null @@ -1,54 +0,0 @@ -// -// OCHamcrest - HCMatcher.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -/** - A matcher over acceptable values. - - A matcher is able to describe itself to give feedback when it fails. - - HCMatcher implementations should @b not directly implement this protocol. - Instead, @b extend the HCBaseMatcher class, which will ensure that the HCMatcher API can grow - to support new features and remain compatible with all HCMatcher implementations. - - @ingroup core - */ -@protocol HCMatcher - -/** - Evaluates the matcher for argument @a item. - - @param item The object against which the matcher is evaluated. - @return @c YES if @a item matches, otherwise @c NO. - */ -- (BOOL)matches:(id)item; - -/** - Evaluates the matcher for argument @a item. - - @param item The object against which the matcher is evaluated. - @param mismatchDescription The description to be built or appended to if @a item does not match. - @return @c YES if @a item matches, otherwise @c NO. - */ -- (BOOL)matches:(id)item describingMismatchTo:(id)mismatchDescription; - -/** - Generates a description of why the matcher has not accepted the item. - - The description will be part of a larger description of why a matching failed, so it should be - concise. - - This method assumes that @c matches:item is false, but will not check this. - - @param item The item that the HCMatcher has rejected. - @param mismatchDescription The description to be built or appended to. - */ -- (void)describeMismatchOf:(id)item to:(id)mismatchDescription; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCNumberAssert.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCNumberAssert.h deleted file mode 100644 index f9165fccdd..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCNumberAssert.h +++ /dev/null @@ -1,385 +0,0 @@ -// -// OCHamcrest - HCNumberAssert.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCMatcher; - - -OBJC_EXPORT void HC_assertThatBoolWithLocation(id testCase, BOOL actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatBool(actual, matcher) \ - HC_assertThatBoolWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatBool(actual, matcher) - - Asserts that @c BOOL actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c BOOL value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatBool instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatBool HC_assertThatBool -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatCharWithLocation(id testCase, char actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatChar(actual, matcher) \ - HC_assertThatCharWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatChar(actual, matcher) - - Asserts that @c char actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c char value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatChar instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatChar HC_assertThatChar -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatDoubleWithLocation(id testCase, double actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatDouble(actual, matcher) \ - HC_assertThatDoubleWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - HC_assertThatDouble(actual, matcher) - - Asserts that @c double actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c double value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatDouble instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatDouble HC_assertThatDouble -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatFloatWithLocation(id testCase, float actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatFloat(actual, matcher) \ - HC_assertThatFloatWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatFloat(actual, matcher) - - Asserts that @c float actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c float value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatFloat instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatFloat HC_assertThatFloat -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatIntWithLocation(id testCase, int actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatInt(actual, matcher) \ - HC_assertThatIntWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatInt(actual, matcher) - - Asserts that @c int actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c int value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatInt instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatInt HC_assertThatInt -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatLongWithLocation(id testCase, long actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatLong(actual, matcher) \ - HC_assertThatLongWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatLong(actual, matcher) - - Asserts that @c long actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c long value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatLong instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatLong HC_assertThatLong -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatLongLongWithLocation(id testCase, long long actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatLongLong(actual, matcher) \ - HC_assertThatLongLongWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatLongLong(actual, matcher) - - Asserts that long long actual value, converted to an @c NSNumber, satisfies - matcher. - - @param actual The long long value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatLongLong instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatLongLong HC_assertThatLongLong -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatShortWithLocation(id testCase, short actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatShort(actual, matcher) \ - HC_assertThatShortWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatShort(actual, matcher) - - Asserts that @c short actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c short value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatShort instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatShort HC_assertThatShort -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedCharWithLocation(id testCase, unsigned char actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedChar(actual, matcher) \ - HC_assertThatUnsignedCharWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedChar(actual, matcher) - - Asserts that unsigned char actual value, converted to an @c NSNumber, satisfies - matcher. - - @param actual The unsigned char value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedChar instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedChar HC_assertThatUnsignedChar -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedIntWithLocation(id testCase, unsigned int actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedInt(actual, matcher) \ - HC_assertThatUnsignedIntWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedInt(actual, matcher) - - Asserts that unsigned int actual value, converted to an @c NSNumber, satisfies - matcher. - - @param actual The unsigned int value to convert to an @c NSNumber for evaluation @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedInt instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedInt HC_assertThatUnsignedInt -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedLongWithLocation(id testCase, unsigned long actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedLong(actual, matcher) \ - HC_assertThatUnsignedLongWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedLong(actual, matcher) - - Asserts that unsigned long actual value, converted to an @c NSNumber, satisfies - matcher. - - @param actual The unsigned long value to convert to an @c NSNumber for evaluation @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedLong instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedLong HC_assertThatUnsignedLong -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedLongLongWithLocation(id testCase, unsigned long long actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedLongLong(actual, matcher) \ - HC_assertThatUnsignedLongLongWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedLongLong(actual, matcher) - - Asserts that unsigned long long actual value, converted to an @c NSNumber, - satisfies matcher. - - @param actual The unsigned long long value to convert to an @c NSNumber for evaluation @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedLongLong instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedLongLong HC_assertThatUnsignedLongLong -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedShortWithLocation(id testCase, unsigned short actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedShort(actual, matcher) \ - HC_assertThatUnsignedShortWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedShort(actual, matcher) - - Asserts that unsigned short actual value, converted to an @c NSNumber, satisfies - matcher. - - @param actual The unsigned short value to convert to an @c NSNumber for evaluation @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedShort instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedShort HC_assertThatUnsignedShort -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatIntegerWithLocation(id testCase, NSInteger actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatInteger(actual, matcher) \ - HC_assertThatIntegerWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatInteger(actual, matcher) - - Asserts that @c NSInteger actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c NSInteger value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatInteger instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatInteger HC_assertThatInteger -#endif - - -#pragma mark - - -OBJC_EXPORT void HC_assertThatUnsignedIntegerWithLocation(id testCase, NSUInteger actual, - id matcher, const char* fileName, int lineNumber); - -#define HC_assertThatUnsignedInteger(actual, matcher) \ - HC_assertThatUnsignedIntegerWithLocation(self, actual, matcher, __FILE__, __LINE__) - -/** - assertThatUnsignedInteger(actual, matcher) - - Asserts that @c NSUInteger actual value, converted to an @c NSNumber, satisfies matcher. - - @param actual The @c NSUInteger value to convert to an @c NSNumber for evaluation. - @param matcher The matcher to satisfy as the expected condition. - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_assertThatUnsignedInteger instead.) - - @ingroup integration_numeric - */ -#ifdef HC_SHORTHAND - #define assertThatUnsignedInteger HC_assertThatUnsignedInteger -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCOrderingComparison.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCOrderingComparison.h deleted file mode 100644 index e338649cb7..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCOrderingComparison.h +++ /dev/null @@ -1,113 +0,0 @@ -// -// OCHamcrest - HCOrderingComparison.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCOrderingComparison : HCBaseMatcher -{ - id expected; - NSComparisonResult minCompare; - NSComparisonResult maxCompare; - NSString *comparisonDescription; -} - -+ (id)compare:(id)expectedValue - minCompare:(NSComparisonResult)min - maxCompare:(NSComparisonResult)max - comparisonDescription:(NSString *)comparisonDescription; - -- (id)initComparing:(id)expectedValue - minCompare:(NSComparisonResult)min - maxCompare:(NSComparisonResult)max - comparisonDescription:(NSString *)comparisonDescription; - -@end - - -OBJC_EXPORT id HC_greaterThan(id expected); - -/** - greaterThan(aNumber) - - Matches if object is greater than a given number. - - @param aNumber The @c NSNumber to compare against. - - Example: - @li @ref greaterThan([NSNumber numberWithInt:5]) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_greaterThan instead.) - - @ingroup number_matchers - */ -#ifdef HC_SHORTHAND - #define greaterThan HC_greaterThan -#endif - - -OBJC_EXPORT id HC_greaterThanOrEqualTo(id expected); - -/** - greaterThanOrEqualTo(aNumber) - - Matches if object is greater than or equal to a given number. - - @param aNumber The @c NSNumber to compare against. - - Example: - @li @ref greaterThanOrEqualTo([NSNumber numberWithInt:5]) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_greaterThanOrEqualTo instead.) - - @ingroup number_matchers - */ -#ifdef HC_SHORTHAND - #define greaterThanOrEqualTo HC_greaterThanOrEqualTo -#endif - - -OBJC_EXPORT id HC_lessThan(id expected); - -/** - lessThan(aNumber) - - Matches if object is less than a given number. - - @param aNumber The @c NSNumber to compare against. - - Example: - @li @ref lessThan([NSNumber numberWithInt:5]) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_lessThan instead.) - - @ingroup number_matchers - */ -#ifdef HC_SHORTHAND - #define lessThan HC_lessThan -#endif - - -OBJC_EXPORT id HC_lessThanOrEqualTo(id expected); - -/** - lessThanOrEqualTo(aNumber) - - Matches if object is less than or equal to a given number. - - @param aNumber The @c NSNumber to compare against. - - Example: - @li @ref lessThanOrEqualTo([NSNumber numberWithInt:5]) - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_lessThanOrEqualTo instead.) - - @ingroup number_matchers - */ -#ifdef HC_SHORTHAND - #define lessThanOrEqualTo HC_lessThanOrEqualTo -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCRequireNonNilObject.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCRequireNonNilObject.h deleted file mode 100644 index 2ec9b94258..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCRequireNonNilObject.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// OCHamcrest - HCRequireNonNilObject.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import -#import - - -/** - Throws an NSException if @a obj is @c nil. - - @ingroup helpers -*/ -OBJC_EXPORT void HCRequireNonNilObject(id obj); diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCRequireNonNilString.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCRequireNonNilString.h deleted file mode 100644 index ee1aa723fc..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCRequireNonNilString.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// OCHamcrest - HCRequireNonNilString.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import -#import - - -/** - Throws an NSException if @a string is @c nil. - - @b Deprecated: Use @ref HCRequireNonNilObject instead. - - @ingroup helpers -*/ -OBJC_EXPORT void HCRequireNonNilString(NSString *string) __attribute__((deprecated)); diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCSelfDescribing.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCSelfDescribing.h deleted file mode 100644 index 31059edac8..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCSelfDescribing.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// OCHamcrest - HCSelfDescribing.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCDescription; - - -/** - The ability of an object to describe itself. - - @ingroup core - */ -@protocol HCSelfDescribing - -/** - Generates a description of the object. - - The description may be part of a description of a larger object of which this is just a - component, so it should be worded appropriately. - - @param description The description to be built or appended to. - */ -- (void)describeTo:(id)description; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringContains.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringContains.h deleted file mode 100644 index 694ba22d63..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringContains.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCStringContains.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCStringContains : HCSubstringMatcher - -+ (id)stringContains:(NSString *)aSubstring; - -@end - - -OBJC_EXPORT id HC_containsString(NSString *aSubstring); - -/** - containsString(aString) - - Matches if object is a string containing a given string. - - @param aString The string to search for. This value must not be @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it checks whether it - contains @a aString. - - Example: - - @par - @ref containsString(@"def") - - will match "abcdefg". - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_containsString instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define containsString HC_containsString -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringContainsInOrder.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringContainsInOrder.h deleted file mode 100644 index 4a618cee1b..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringContainsInOrder.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// OCHamcrest - HCStringContainsInOrder.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCStringContainsInOrder : HCBaseMatcher -{ - NSArray *substrings; -} - -+ (id)containsInOrder:(NSArray *)substringList; -- (id)initWithSubstrings:(NSArray *)substringList; - -@end - - -OBJC_EXPORT id HC_stringContainsInOrder(NSString *substring, ...) NS_REQUIRES_NIL_TERMINATION; - -/** - stringContainsInOrder(firstString, ...) - - Matches if object is a string containing a given list of substrings in relative order. - - @param firstString,... A comma-separated list of strings ending with @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it checks whether it - contains a given list of strings, in relative order to each other. The searches are performed - starting from the beginning of the evaluated string. - - Example: - - @par - @ref stringContainsInOrder(@"bc", @"fg", @"jkl", nil) - - will match "abcdefghijklm". - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_stringContainsInOrder instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define stringContainsInOrder HC_stringContainsInOrder -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringDescription.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringDescription.h deleted file mode 100644 index 1254bee545..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringDescription.h +++ /dev/null @@ -1,41 +0,0 @@ -// -// OCHamcrest - HCStringDescription.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCSelfDescribing; - - -/** - An HCDescription that is stored as a string. - - @ingroup core - */ -@interface HCStringDescription : HCBaseDescription -{ - NSMutableString *accumulator; -} - -/** - Returns the description of an HCSelfDescribing object as a string. - - @param selfDescribing The object to be described. - @return The description of the object. - */ -+ (NSString *)stringFrom:(id)selfDescribing; - -/** - Returns an empty description. - */ -+ (HCStringDescription *)stringDescription; - -/** - Returns an initialized HCStringDescription object that is empty. - */ -- (id)init; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringEndsWith.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringEndsWith.h deleted file mode 100644 index 9d9292d6c4..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringEndsWith.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCStringEndsWith.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCStringEndsWith : HCSubstringMatcher - -+ (id)stringEndsWith:(NSString *)aSubstring; - -@end - - -OBJC_EXPORT id HC_endsWith(NSString *aSubstring); - -/** - endsWith(aString) - - Matches if object is a string ending with a given string. - - @param aString The string to search for. This value must not be @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it checks if - @a aString matches the ending characters of the evaluated object. - - Example: - - @par - @ref endsWith(@"bar") - - will match "foobar". - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_endsWith instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define endsWith HC_endsWith -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringStartsWith.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringStartsWith.h deleted file mode 100644 index 816bf1fcea..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCStringStartsWith.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// OCHamcrest - HCStringStartsWith.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCStringStartsWith : HCSubstringMatcher - -+ (id)stringStartsWith:(NSString *)aSubstring; - -@end - - -OBJC_EXPORT id HC_startsWith(NSString *aSubstring); - -/** - startsWith(aString) - - Matches if object is a string starting with a given string. - - @param aString The string to search for. This value must not be @c nil. - - This matcher first checks whether the evaluated object is a string. If so, it checks if - @a aString matches the beginning characters of the evaluated object. - - Example: - - @par - @ref endsWith(@"foo") - - will match "foobar". - - (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym - @c HC_startsWith instead.) - - @ingroup text_matchers - */ -#ifdef HC_SHORTHAND - #define startsWith HC_startsWith -#endif diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCSubstringMatcher.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCSubstringMatcher.h deleted file mode 100644 index 4bee8df756..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCSubstringMatcher.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// OCHamcrest - HCSubstringMatcher.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - - -@interface HCSubstringMatcher : HCBaseMatcher -{ - NSString *substring; -} - -- (id)initWithSubstring:(NSString *)aString; - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCWrapInMatcher.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCWrapInMatcher.h deleted file mode 100644 index b120ee71f7..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/HCWrapInMatcher.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// OCHamcrest - HCWrapInMatcher.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCMatcher; - - -/** - Wraps argument in a matcher, if necessary. - - @return The argument as-if if it is already a matcher, otherwise wrapped in an @ref equalTo matcher. - - @ingroup helpers - */ -OBJC_EXPORT id HCWrapInMatcher(id matcherOrValue); diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/NSObject+HCSelfDescribingValue.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/NSObject+HCSelfDescribingValue.h deleted file mode 100644 index 6e8ab74d2e..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/NSObject+HCSelfDescribingValue.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// OCHamcrest - NSObject+HCSelfDescribingValue.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -#import - -@protocol HCDescription; - -/** - This category allows any object to satisfy the HCSelfDescribing protocol. - - @b Deprecated: No longer needed now that @ref appendDescriptionOf: handles all types of objects. - - @ingroup core - */ -@interface NSObject (HCSelfDescribingValue) - -/** - Generates a description of the object. - - @param description The description to be appended to. - */ -- (void)describeTo:(id)description __attribute__((deprecated)); - -@end diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/OCHamcrestIOS.h b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/OCHamcrestIOS.h deleted file mode 100644 index 358b2bc542..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Headers/OCHamcrestIOS.h +++ /dev/null @@ -1,134 +0,0 @@ -// -// OCHamcrest - OCHamcrest.h -// Copyright 2011 hamcrest.org. See LICENSE.txt -// -// Created by: Jon Reid -// - -/** - @defgroup library Matcher Library - - Library of Matcher implementations. - */ - -/** - @defgroup object_matchers Object Matchers - - Matchers that inspect objects. - - @ingroup library - */ -#import -#import -#import -#import -#import -#import - -/** - @defgroup collection_matchers Collection Matchers - - Matchers of collections. - - @ingroup library - */ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -/** - @defgroup number_matchers Number Matchers - - Matchers that perform numeric comparisons. - - @ingroup library - */ -#import -#import - -/** - @defgroup primitive_number_matchers Primitive Number Matchers - - Matchers for testing equality against primitive numeric types. - - @ingroup number_matchers - */ -#import - -/** - @defgroup text_matchers Text Matchers - - Matchers that perform text comparisons. - - @ingroup library - */ -#import -#import -#import -#import -#import -#import - -/** - @defgroup logical_matchers Logical Matchers - - Boolean logic using other matchers. - - @ingroup library - */ -#import -#import -#import -#import - -/** - @defgroup decorator_matchers Decorator Matchers - - Matchers that decorate other matchers for better expression. - - @ingroup library - */ -#import -#import - -/** - @defgroup integration Unit Test Integration - */ -#import - -/** - @defgroup integration_numeric Unit Tests of Primitive Numbers - - Unit test integration for primitive numbers. - - The @c assertThat<Type> macros convert the primitive actual value to an @c NSNumber, - passing that to the matcher for evaluation. If the matcher is not satisfied, an exception is - thrown describing the mismatch. - - This family of macros is designed to integrate well with OCUnit and other unit testing - frameworks. Unmet assertions are reported as test failures. In Xcode, they can be clicked to - reveal the line of the assertion. - - @ingroup integration - */ -#import - -/** - @defgroup core Core API - */ - -/** - @defgroup helpers Helpers - - Utilities for writing Matchers. - - @ingroup core - */ diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/OCHamcrestIOS b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/OCHamcrestIOS deleted file mode 100644 index 69bd70c8c6..0000000000 Binary files a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/OCHamcrestIOS and /dev/null differ diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Resources/Info.plist b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Resources/Info.plist deleted file mode 100644 index e67665ddec..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/A/Resources/Info.plist +++ /dev/null @@ -1,42 +0,0 @@ - - - - - BuildMachineOSBuild - 10K549 - CFBundleDevelopmentRegion - English - CFBundleExecutable - OCHamcrest - CFBundleIdentifier - org.hamcrest.OCHamcrest - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - OCHamcrest - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.6 - CFBundleSignature - ???? - CFBundleVersion - 1.6 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 4B110f - DTPlatformVersion - GM - DTSDKBuild - 4B110f - DTSDKName - macosx10.6 - DTXcode - 0410 - DTXcodeBuild - 4B110f - NSHumanReadableCopyright - Copyright © 2011 hamcrest.org - - diff --git a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/Current b/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/Current deleted file mode 120000 index 8c7e5a667f..0000000000 --- a/Tests/Vendor/OCHamcrest/OCHamcrestIOS.framework/Versions/Current +++ /dev/null @@ -1 +0,0 @@ -A \ No newline at end of file diff --git a/Tests/Vendor/OCMock/OCMock/NSInvocation+OCMAdditions.h b/Tests/Vendor/OCMock/OCMock/NSInvocation+OCMAdditions.h deleted file mode 100644 index 04f22cd6f0..0000000000 --- a/Tests/Vendor/OCMock/OCMock/NSInvocation+OCMAdditions.h +++ /dev/null @@ -1,34 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2006-2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface NSInvocation(OCMAdditions) - -- (id)getArgumentAtIndexAsObject:(int)argIndex; - -- (NSString *)invocationDescription; - -- (NSString *)argumentDescriptionAtIndex:(int)argIndex; - -- (NSString *)objectDescriptionAtIndex:(int)anInt; -- (NSString *)charDescriptionAtIndex:(int)anInt; -- (NSString *)unsignedCharDescriptionAtIndex:(int)anInt; -- (NSString *)intDescriptionAtIndex:(int)anInt; -- (NSString *)unsignedIntDescriptionAtIndex:(int)anInt; -- (NSString *)shortDescriptionAtIndex:(int)anInt; -- (NSString *)unsignedShortDescriptionAtIndex:(int)anInt; -- (NSString *)longDescriptionAtIndex:(int)anInt; -- (NSString *)unsignedLongDescriptionAtIndex:(int)anInt; -- (NSString *)longLongDescriptionAtIndex:(int)anInt; -- (NSString *)unsignedLongLongDescriptionAtIndex:(int)anInt; -- (NSString *)doubleDescriptionAtIndex:(int)anInt; -- (NSString *)floatDescriptionAtIndex:(int)anInt; -- (NSString *)structDescriptionAtIndex:(int)anInt; -- (NSString *)pointerDescriptionAtIndex:(int)anInt; -- (NSString *)cStringDescriptionAtIndex:(int)anInt; -- (NSString *)selectorDescriptionAtIndex:(int)anInt; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/NSInvocation+OCMAdditions.m b/Tests/Vendor/OCMock/OCMock/NSInvocation+OCMAdditions.m deleted file mode 100644 index 41579583a4..0000000000 --- a/Tests/Vendor/OCMock/OCMock/NSInvocation+OCMAdditions.m +++ /dev/null @@ -1,337 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2006-2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "NSInvocation+OCMAdditions.h" - - -@implementation NSInvocation(OCMAdditions) - -- (id)getArgumentAtIndexAsObject:(int)argIndex -{ - const char* argType; - - argType = [[self methodSignature] getArgumentTypeAtIndex:argIndex]; - while(strchr("rnNoORV", argType[0]) != NULL) - argType += 1; - - if((strlen(argType) > 1) && (strchr("{^", argType[0]) == NULL) && (strcmp("@?", argType) != 0)) - [NSException raise:NSInvalidArgumentException format:@"Cannot handle argument type '%s'.", argType]; - - switch (argType[0]) - { - case '#': - case '@': - { - id value; - [self getArgument:&value atIndex:argIndex]; - return value; - } - case ':': - { - SEL s = (SEL)0; - [self getArgument:&s atIndex:argIndex]; - id value = NSStringFromSelector(s); - return value; - } - case 'i': - { - int value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithInt:value]; - } - case 's': - { - short value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithShort:value]; - } - case 'l': - { - long value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithLong:value]; - } - case 'q': - { - long long value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithLongLong:value]; - } - case 'c': - { - char value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithChar:value]; - } - case 'C': - { - unsigned char value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithUnsignedChar:value]; - } - case 'I': - { - unsigned int value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithUnsignedInt:value]; - } - case 'S': - { - unsigned short value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithUnsignedShort:value]; - } - case 'L': - { - unsigned long value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithUnsignedLong:value]; - } - case 'Q': - { - unsigned long long value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithUnsignedLongLong:value]; - } - case 'f': - { - float value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithFloat:value]; - } - case 'd': - { - double value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithDouble:value]; - } - case 'B': - { - bool value; - [self getArgument:&value atIndex:argIndex]; - return [NSNumber numberWithBool:value]; - } - case '^': - { - void *value = NULL; - [self getArgument:&value atIndex:argIndex]; - return [NSValue valueWithPointer:value]; - } - case '{': // structure - { - NSUInteger maxArgSize = [[self methodSignature] frameLength]; - NSMutableData *argumentData = [[[NSMutableData alloc] initWithLength:maxArgSize] autorelease]; - [self getArgument:[argumentData mutableBytes] atIndex:argIndex]; - return [NSValue valueWithBytes:[argumentData bytes] objCType:argType]; - } - - } - [NSException raise:NSInvalidArgumentException format:@"Argument type '%s' not supported", argType]; - return nil; -} - -- (NSString *)invocationDescription -{ - NSMethodSignature *methodSignature = [self methodSignature]; - NSUInteger numberOfArgs = [methodSignature numberOfArguments]; - - if (numberOfArgs == 2) - return NSStringFromSelector([self selector]); - - NSArray *selectorParts = [NSStringFromSelector([self selector]) componentsSeparatedByString:@":"]; - NSMutableString *description = [[NSMutableString alloc] init]; - unsigned int i; - for(i = 2; i < numberOfArgs; i++) - { - [description appendFormat:@"%@%@:", (i > 2 ? @" " : @""), [selectorParts objectAtIndex:(i - 2)]]; - [description appendString:[self argumentDescriptionAtIndex:i]]; - } - - return [description autorelease]; -} - -- (NSString *)argumentDescriptionAtIndex:(int)argIndex -{ - const char *argType = [[self methodSignature] getArgumentTypeAtIndex:argIndex]; - if(strchr("rnNoORV", argType[0]) != NULL) - argType += 1; - - switch(*argType) - { - case '@': return [self objectDescriptionAtIndex:argIndex]; - case 'c': return [self charDescriptionAtIndex:argIndex]; - case 'C': return [self unsignedCharDescriptionAtIndex:argIndex]; - case 'i': return [self intDescriptionAtIndex:argIndex]; - case 'I': return [self unsignedIntDescriptionAtIndex:argIndex]; - case 's': return [self shortDescriptionAtIndex:argIndex]; - case 'S': return [self unsignedShortDescriptionAtIndex:argIndex]; - case 'l': return [self longDescriptionAtIndex:argIndex]; - case 'L': return [self unsignedLongDescriptionAtIndex:argIndex]; - case 'q': return [self longLongDescriptionAtIndex:argIndex]; - case 'Q': return [self unsignedLongLongDescriptionAtIndex:argIndex]; - case 'd': return [self doubleDescriptionAtIndex:argIndex]; - case 'f': return [self floatDescriptionAtIndex:argIndex]; - // Why does this throw EXC_BAD_ACCESS when appending the string? - // case NSObjCStructType: return [self structDescriptionAtIndex:index]; - case '^': return [self pointerDescriptionAtIndex:argIndex]; - case '*': return [self cStringDescriptionAtIndex:argIndex]; - case ':': return [self selectorDescriptionAtIndex:argIndex]; - default: return [@""]; // avoid confusion with trigraphs... - } - -} - - -- (NSString *)objectDescriptionAtIndex:(int)anInt -{ - id object; - - [self getArgument:&object atIndex:anInt]; - if (object == nil) - return @"nil"; - else if(![object isProxy] && [object isKindOfClass:[NSString class]]) - return [NSString stringWithFormat:@"@\"%@\"", [object description]]; - else - return [object description]; -} - -- (NSString *)charDescriptionAtIndex:(int)anInt -{ - unsigned char buffer[128]; - memset(buffer, 0x0, 128); - - [self getArgument:&buffer atIndex:anInt]; - - // If there's only one character in the buffer, and it's 0 or 1, then we have a BOOL - if (buffer[1] == '\0' && (buffer[0] == 0 || buffer[0] == 1)) - return [NSString stringWithFormat:@"%@", (buffer[0] == 1 ? @"YES" : @"NO")]; - else - return [NSString stringWithFormat:@"'%c'", *buffer]; -} - -- (NSString *)unsignedCharDescriptionAtIndex:(int)anInt -{ - unsigned char buffer[128]; - memset(buffer, 0x0, 128); - - [self getArgument:&buffer atIndex:anInt]; - return [NSString stringWithFormat:@"'%c'", *buffer]; -} - -- (NSString *)intDescriptionAtIndex:(int)anInt -{ - int intValue; - - [self getArgument:&intValue atIndex:anInt]; - return [NSString stringWithFormat:@"%d", intValue]; -} - -- (NSString *)unsignedIntDescriptionAtIndex:(int)anInt -{ - unsigned int intValue; - - [self getArgument:&intValue atIndex:anInt]; - return [NSString stringWithFormat:@"%d", intValue]; -} - -- (NSString *)shortDescriptionAtIndex:(int)anInt -{ - short shortValue; - - [self getArgument:&shortValue atIndex:anInt]; - return [NSString stringWithFormat:@"%hi", shortValue]; -} - -- (NSString *)unsignedShortDescriptionAtIndex:(int)anInt -{ - unsigned short shortValue; - - [self getArgument:&shortValue atIndex:anInt]; - return [NSString stringWithFormat:@"%hu", shortValue]; -} - -- (NSString *)longDescriptionAtIndex:(int)anInt -{ - long longValue; - - [self getArgument:&longValue atIndex:anInt]; - return [NSString stringWithFormat:@"%ld", longValue]; -} - -- (NSString *)unsignedLongDescriptionAtIndex:(int)anInt -{ - unsigned long longValue; - - [self getArgument:&longValue atIndex:anInt]; - return [NSString stringWithFormat:@"%lu", longValue]; -} - -- (NSString *)longLongDescriptionAtIndex:(int)anInt -{ - long long longLongValue; - - [self getArgument:&longLongValue atIndex:anInt]; - return [NSString stringWithFormat:@"%qi", longLongValue]; -} - -- (NSString *)unsignedLongLongDescriptionAtIndex:(int)anInt -{ - unsigned long long longLongValue; - - [self getArgument:&longLongValue atIndex:anInt]; - return [NSString stringWithFormat:@"%qu", longLongValue]; -} - -- (NSString *)doubleDescriptionAtIndex:(int)anInt; -{ - double doubleValue; - - [self getArgument:&doubleValue atIndex:anInt]; - return [NSString stringWithFormat:@"%f", doubleValue]; -} - -- (NSString *)floatDescriptionAtIndex:(int)anInt -{ - float floatValue; - - [self getArgument:&floatValue atIndex:anInt]; - return [NSString stringWithFormat:@"%f", floatValue]; -} - -- (NSString *)structDescriptionAtIndex:(int)anInt; -{ - void *buffer; - - [self getArgument:&buffer atIndex:anInt]; - return [NSString stringWithFormat:@":(struct)%p", buffer]; -} - -- (NSString *)pointerDescriptionAtIndex:(int)anInt -{ - void *buffer; - - [self getArgument:&buffer atIndex:anInt]; - return [NSString stringWithFormat:@"%p", buffer]; -} - -- (NSString *)cStringDescriptionAtIndex:(int)anInt -{ - char buffer[128]; - - memset(buffer, 0x0, 128); - - [self getArgument:&buffer atIndex:anInt]; - return [NSString stringWithFormat:@"\"%s\"", buffer]; -} - -- (NSString *)selectorDescriptionAtIndex:(int)anInt -{ - SEL selectorValue; - - [self getArgument:&selectorValue atIndex:anInt]; - return [NSString stringWithFormat:@"@selector(%@)", NSStringFromSelector(selectorValue)]; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/NSMethodSignature+OCMAdditions.h b/Tests/Vendor/OCMock/OCMock/NSMethodSignature+OCMAdditions.h deleted file mode 100644 index 23741e3bbf..0000000000 --- a/Tests/Vendor/OCMock/OCMock/NSMethodSignature+OCMAdditions.h +++ /dev/null @@ -1,18 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface NSMethodSignature(PrivateAPI) - -+ (id)signatureWithObjCTypes:(const char *)types; - -@end - -@interface NSMethodSignature(OCMAdditions) - -- (const char *)methodReturnTypeWithoutQualifiers; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/NSMethodSignature+OCMAdditions.m b/Tests/Vendor/OCMock/OCMock/NSMethodSignature+OCMAdditions.m deleted file mode 100644 index a69bb143b6..0000000000 --- a/Tests/Vendor/OCMock/OCMock/NSMethodSignature+OCMAdditions.m +++ /dev/null @@ -1,19 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "NSMethodSignature+OCMAdditions.h" - - -@implementation NSMethodSignature(OCMAdditions) - -- (const char *)methodReturnTypeWithoutQualifiers -{ - const char *returnType = [self methodReturnType]; - while(strchr("rnNoORV", returnType[0]) != NULL) - returnType += 1; - return returnType; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/NSNotificationCenter+OCMAdditions.h b/Tests/Vendor/OCMock/OCMock/NSNotificationCenter+OCMAdditions.h deleted file mode 100644 index ab4832bbfb..0000000000 --- a/Tests/Vendor/OCMock/OCMock/NSNotificationCenter+OCMAdditions.h +++ /dev/null @@ -1,15 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@class OCMockObserver; - - -@interface NSNotificationCenter(OCMAdditions) - -- (void)addMockObserver:(OCMockObserver *)notificationObserver name:(NSString *)notificationName object:(id)notificationSender; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/NSNotificationCenter+OCMAdditions.m b/Tests/Vendor/OCMock/OCMock/NSNotificationCenter+OCMAdditions.m deleted file mode 100644 index 286cb685b1..0000000000 --- a/Tests/Vendor/OCMock/OCMock/NSNotificationCenter+OCMAdditions.m +++ /dev/null @@ -1,17 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "NSNotificationCenter+OCMAdditions.h" -#import "OCObserverMockObject.h" - - -@implementation NSNotificationCenter(OCMAdditions) - -- (void)addMockObserver:(OCMockObserver *)notificationObserver name:(NSString *)notificationName object:(id)notificationSender -{ - [self addObserver:notificationObserver selector:@selector(handleNotification:) name:notificationName object:notificationSender]; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCClassMockObject.h b/Tests/Vendor/OCMock/OCMock/OCClassMockObject.h deleted file mode 100644 index 69945b2199..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCClassMockObject.h +++ /dev/null @@ -1,17 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2005-2008 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCClassMockObject : OCMockObject -{ - Class mockedClass; -} - -- (id)initWithClass:(Class)aClass; - -- (Class)mockedClass; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCClassMockObject.m b/Tests/Vendor/OCMock/OCMock/OCClassMockObject.m deleted file mode 100644 index 65b8fdf02d..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCClassMockObject.m +++ /dev/null @@ -1,43 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2005-2008 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCClassMockObject.h" - - -@implementation OCClassMockObject - -#pragma mark Initialisers, description, accessors, etc. - -- (id)initWithClass:(Class)aClass -{ - [super init]; - mockedClass = aClass; - return self; -} - -- (NSString *)description -{ - return [NSString stringWithFormat:@"OCMockObject[%@]", NSStringFromClass(mockedClass)]; -} - -- (Class)mockedClass -{ - return mockedClass; -} - - -#pragma mark Proxy API - -- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector -{ - return [mockedClass instanceMethodSignatureForSelector:aSelector]; -} - -- (BOOL)respondsToSelector:(SEL)selector -{ - return [mockedClass instancesRespondToSelector:selector]; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCClassMockRecorder.h b/Tests/Vendor/OCMock/OCMock/OCClassMockRecorder.h deleted file mode 100644 index be11b4d473..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCClassMockRecorder.h +++ /dev/null @@ -1,12 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2012 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCMockRecorder.h" - -@interface OCClassMockRecorder : OCMockRecorder -{ -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCClassMockRecorder.m b/Tests/Vendor/OCMock/OCMock/OCClassMockRecorder.m deleted file mode 100644 index 27fdcafb4e..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCClassMockRecorder.m +++ /dev/null @@ -1,26 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2012 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCMockClassObject.h" -#import "OCClassMockRecorder.h" - - -@implementation OCClassMockRecorder -/* -- (id)andForwardToRealObject -{ - [invocationHandlers addObject:[[[OCMRealObjectForwarder alloc] init] autorelease]]; - return self; -} -*/ - -- (void)forwardInvocation:(NSInvocation *)anInvocation -{ - [super forwardInvocation:anInvocation]; - // not as clean as I'd wish... - [(OCMockClassObject *)signatureResolver setupForwarderForSelector:[anInvocation selector]]; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMArg.h b/Tests/Vendor/OCMock/OCMock/OCMArg.h deleted file mode 100644 index 669c094878..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMArg.h +++ /dev/null @@ -1,33 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009-2010 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCMArg : NSObject - -// constraining arguments - -+ (id)any; -+ (void *)anyPointer; -+ (id)isNil; -+ (id)isNotNil; -+ (id)isNotEqual:(id)value; -+ (id)checkWithSelector:(SEL)selector onObject:(id)anObject; -#if NS_BLOCKS_AVAILABLE -+ (id)checkWithBlock:(BOOL (^)(id))block; -#endif - -// manipulating arguments - -+ (id *)setTo:(id)value; - -// internal use only - -+ (id)resolveSpecialValues:(NSValue *)value; - -@end - -#define OCMOCK_ANY [OCMArg any] -#define OCMOCK_VALUE(variable) [NSValue value:&variable withObjCType:@encode(__typeof__(variable))] diff --git a/Tests/Vendor/OCMock/OCMock/OCMArg.m b/Tests/Vendor/OCMock/OCMock/OCMArg.m deleted file mode 100644 index a73e3dfaf4..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMArg.m +++ /dev/null @@ -1,74 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009-2010 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import -#import -#import -#import "OCMPassByRefSetter.h" -#import "OCMConstraint.h" - -@implementation OCMArg - -+ (id)any -{ - return [OCMAnyConstraint constraint]; -} - -+ (void *)anyPointer -{ - return (void *)0x01234567; -} - -+ (id)isNil -{ - return [OCMIsNilConstraint constraint]; -} - -+ (id)isNotNil -{ - return [OCMIsNotNilConstraint constraint]; -} - -+ (id)isNotEqual:(id)value -{ - OCMIsNotEqualConstraint *constraint = [OCMIsNotEqualConstraint constraint]; - constraint->testValue = value; - return constraint; -} - -+ (id)checkWithSelector:(SEL)selector onObject:(id)anObject -{ - return [OCMConstraint constraintWithSelector:selector onObject:anObject]; -} - -#if NS_BLOCKS_AVAILABLE - -+ (id)checkWithBlock:(BOOL (^)(id))block -{ - return [[[OCMBlockConstraint alloc] initWithConstraintBlock:block] autorelease]; -} - -#endif - -+ (id *)setTo:(id)value -{ - return (id *)[[[OCMPassByRefSetter alloc] initWithValue:value] autorelease]; -} - -+ (id)resolveSpecialValues:(NSValue *)value -{ - const char *type = [value objCType]; - if(type[0] == '^') - { - void *pointer = [value pointerValue]; - if(pointer == (void *)0x01234567) - return [OCMArg any]; - if((pointer != NULL) && (object_getClass((id)pointer) == [OCMPassByRefSetter class])) - return (id)pointer; - } - return value; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMBlockCaller.h b/Tests/Vendor/OCMock/OCMock/OCMBlockCaller.h deleted file mode 100644 index 652acc3471..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMBlockCaller.h +++ /dev/null @@ -1,21 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2010 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -#if NS_BLOCKS_AVAILABLE - -@interface OCMBlockCaller : NSObject -{ - void (^block)(NSInvocation *); -} - -- (id)initWithCallBlock:(void (^)(NSInvocation *))theBlock; - -- (void)handleInvocation:(NSInvocation *)anInvocation; - -@end - -#endif diff --git a/Tests/Vendor/OCMock/OCMock/OCMBlockCaller.m b/Tests/Vendor/OCMock/OCMock/OCMBlockCaller.m deleted file mode 100644 index 439d885d37..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMBlockCaller.m +++ /dev/null @@ -1,32 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2010 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCMBlockCaller.h" - -#if NS_BLOCKS_AVAILABLE - -@implementation OCMBlockCaller - --(id)initWithCallBlock:(void (^)(NSInvocation *))theBlock -{ - self = [super init]; - block = [theBlock copy]; - return self; -} - --(void)dealloc -{ - [block release]; - [super dealloc]; -} - -- (void)handleInvocation:(NSInvocation *)anInvocation -{ - block(anInvocation); -} - -@end - -#endif diff --git a/Tests/Vendor/OCMock/OCMock/OCMBoxedReturnValueProvider.h b/Tests/Vendor/OCMock/OCMock/OCMBoxedReturnValueProvider.h deleted file mode 100644 index f2d9c919d9..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMBoxedReturnValueProvider.h +++ /dev/null @@ -1,12 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCMReturnValueProvider.h" - -@interface OCMBoxedReturnValueProvider : OCMReturnValueProvider -{ -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMBoxedReturnValueProvider.m b/Tests/Vendor/OCMock/OCMock/OCMBoxedReturnValueProvider.m deleted file mode 100644 index 04fda55a3a..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMBoxedReturnValueProvider.m +++ /dev/null @@ -1,21 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCMBoxedReturnValueProvider.h" - - -@implementation OCMBoxedReturnValueProvider - -- (void)handleInvocation:(NSInvocation *)anInvocation -{ - if(strcmp([[anInvocation methodSignature] methodReturnType], [(NSValue *)returnValue objCType]) != 0) - @throw [NSException exceptionWithName:NSInvalidArgumentException reason:@"Return value does not match method signature." userInfo:nil]; - void *buffer = malloc([[anInvocation methodSignature] methodReturnLength]); - [returnValue getValue:buffer]; - [anInvocation setReturnValue:buffer]; - free(buffer); -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMConstraint.h b/Tests/Vendor/OCMock/OCMock/OCMConstraint.h deleted file mode 100644 index 3ae1264603..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMConstraint.h +++ /dev/null @@ -1,64 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2007-2010 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - - -@interface OCMConstraint : NSObject - -+ (id)constraint; -- (BOOL)evaluate:(id)value; - -// if you are looking for any, isNil, etc, they have moved to OCMArg - -// try to use [OCMArg checkWith...] instead of the constraintWith... methods below - -+ (id)constraintWithSelector:(SEL)aSelector onObject:(id)anObject; -+ (id)constraintWithSelector:(SEL)aSelector onObject:(id)anObject withValue:(id)aValue; - - -@end - -@interface OCMAnyConstraint : OCMConstraint -@end - -@interface OCMIsNilConstraint : OCMConstraint -@end - -@interface OCMIsNotNilConstraint : OCMConstraint -@end - -@interface OCMIsNotEqualConstraint : OCMConstraint -{ - @public - id testValue; -} - -@end - -@interface OCMInvocationConstraint : OCMConstraint -{ - @public - NSInvocation *invocation; -} - -@end - -#if NS_BLOCKS_AVAILABLE - -@interface OCMBlockConstraint : OCMConstraint -{ - BOOL (^block)(id); -} - -- (id)initWithConstraintBlock:(BOOL (^)(id))block; - -@end - -#endif - - -#define CONSTRAINT(aSelector) [OCMConstraint constraintWithSelector:aSelector onObject:self] -#define CONSTRAINTV(aSelector, aValue) [OCMConstraint constraintWithSelector:aSelector onObject:self withValue:(aValue)] diff --git a/Tests/Vendor/OCMock/OCMock/OCMConstraint.m b/Tests/Vendor/OCMock/OCMock/OCMConstraint.m deleted file mode 100644 index e70e25981d..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMConstraint.m +++ /dev/null @@ -1,136 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2007-2010 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - - -@implementation OCMConstraint - -+ (id)constraint -{ - return [[[self alloc] init] autorelease]; -} - -- (BOOL)evaluate:(id)value -{ - return NO; -} - - -+ (id)constraintWithSelector:(SEL)aSelector onObject:(id)anObject -{ - OCMInvocationConstraint *constraint = [OCMInvocationConstraint constraint]; - NSMethodSignature *signature = [anObject methodSignatureForSelector:aSelector]; - if(signature == nil) - [NSException raise:NSInvalidArgumentException format:@"Unkown selector %@ used in constraint.", NSStringFromSelector(aSelector)]; - NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:signature]; - [invocation setTarget:anObject]; - [invocation setSelector:aSelector]; - constraint->invocation = invocation; - return constraint; -} - -+ (id)constraintWithSelector:(SEL)aSelector onObject:(id)anObject withValue:(id)aValue -{ - OCMInvocationConstraint *constraint = [self constraintWithSelector:aSelector onObject:anObject]; - if([[constraint->invocation methodSignature] numberOfArguments] < 4) - [NSException raise:NSInvalidArgumentException format:@"Constraint with value requires selector with two arguments."]; - [constraint->invocation setArgument:&aValue atIndex:3]; - return constraint; -} - - -@end - - - -#pragma mark - - -@implementation OCMAnyConstraint - -- (BOOL)evaluate:(id)value -{ - return YES; -} - -@end - - - -#pragma mark - - -@implementation OCMIsNilConstraint - -- (BOOL)evaluate:(id)value -{ - return value == nil; -} - -@end - - - -#pragma mark - - -@implementation OCMIsNotNilConstraint - -- (BOOL)evaluate:(id)value -{ - return value != nil; -} - -@end - - - -#pragma mark - - -@implementation OCMIsNotEqualConstraint - -- (BOOL)evaluate:(id)value -{ - return ![value isEqual:testValue]; -} - -@end - - - -#pragma mark - - -@implementation OCMInvocationConstraint - -- (BOOL)evaluate:(id)value -{ - [invocation setArgument:&value atIndex:2]; // should test if constraint takes arg - [invocation invoke]; - BOOL returnValue; - [invocation getReturnValue:&returnValue]; - return returnValue; -} - -@end - -#pragma mark - - -#if NS_BLOCKS_AVAILABLE - -@implementation OCMBlockConstraint - -- (id)initWithConstraintBlock:(BOOL (^)(id))aBlock; -{ - self = [super init]; - block = aBlock; - return self; -} - -- (BOOL)evaluate:(id)value -{ - return block(value); -} - -@end - -#endif diff --git a/Tests/Vendor/OCMock/OCMock/OCMExceptionReturnValueProvider.h b/Tests/Vendor/OCMock/OCMock/OCMExceptionReturnValueProvider.h deleted file mode 100644 index 8e97469d48..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMExceptionReturnValueProvider.h +++ /dev/null @@ -1,12 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCMReturnValueProvider.h" - -@interface OCMExceptionReturnValueProvider : OCMReturnValueProvider -{ -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMExceptionReturnValueProvider.m b/Tests/Vendor/OCMock/OCMock/OCMExceptionReturnValueProvider.m deleted file mode 100644 index 784d1a79da..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMExceptionReturnValueProvider.m +++ /dev/null @@ -1,16 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCMExceptionReturnValueProvider.h" - - -@implementation OCMExceptionReturnValueProvider - -- (void)handleInvocation:(NSInvocation *)anInvocation -{ - @throw returnValue; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMIndirectReturnValueProvider.h b/Tests/Vendor/OCMock/OCMock/OCMIndirectReturnValueProvider.h deleted file mode 100644 index 4efeacb1e9..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMIndirectReturnValueProvider.h +++ /dev/null @@ -1,18 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCMIndirectReturnValueProvider : NSObject -{ - id provider; - SEL selector; -} - -- (id)initWithProvider:(id)aProvider andSelector:(SEL)aSelector; - -- (void)handleInvocation:(NSInvocation *)anInvocation; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMIndirectReturnValueProvider.m b/Tests/Vendor/OCMock/OCMock/OCMIndirectReturnValueProvider.m deleted file mode 100644 index c8b734d7c9..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMIndirectReturnValueProvider.m +++ /dev/null @@ -1,33 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "NSMethodSignature+OCMAdditions.h" -#import "OCMIndirectReturnValueProvider.h" - - -@implementation OCMIndirectReturnValueProvider - -- (id)initWithProvider:(id)aProvider andSelector:(SEL)aSelector -{ - self = [super init]; - provider = [aProvider retain]; - selector = aSelector; - return self; -} - -- (void)dealloc -{ - [provider release]; - [super dealloc]; -} - -- (void)handleInvocation:(NSInvocation *)anInvocation -{ - [anInvocation setTarget:provider]; - [anInvocation setSelector:selector]; - [anInvocation invoke]; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMNotificationPoster.h b/Tests/Vendor/OCMock/OCMock/OCMNotificationPoster.h deleted file mode 100644 index 817da78034..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMNotificationPoster.h +++ /dev/null @@ -1,17 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCMNotificationPoster : NSObject -{ - NSNotification *notification; -} - -- (id)initWithNotification:(id)aNotification; - -- (void)handleInvocation:(NSInvocation *)anInvocation; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMNotificationPoster.m b/Tests/Vendor/OCMock/OCMock/OCMNotificationPoster.m deleted file mode 100644 index 64973a2ae3..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMNotificationPoster.m +++ /dev/null @@ -1,30 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCMNotificationPoster.h" - - -@implementation OCMNotificationPoster - -- (id)initWithNotification:(id)aNotification -{ - self = [super init]; - notification = [aNotification retain]; - return self; -} - -- (void)dealloc -{ - [notification release]; - [super dealloc]; -} - -- (void)handleInvocation:(NSInvocation *)anInvocation -{ - [[NSNotificationCenter defaultCenter] postNotification:notification]; -} - - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMObserverRecorder.h b/Tests/Vendor/OCMock/OCMock/OCMObserverRecorder.h deleted file mode 100644 index 556da3c00e..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMObserverRecorder.h +++ /dev/null @@ -1,19 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCMObserverRecorder : NSObject -{ - NSNotification *recordedNotification; -} - -- (void)notificationWithName:(NSString *)name object:(id)sender; - -- (BOOL)matchesNotification:(NSNotification *)aNotification; - -- (BOOL)argument:(id)expectedArg matchesArgument:(id)observedArg; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMObserverRecorder.m b/Tests/Vendor/OCMock/OCMock/OCMObserverRecorder.m deleted file mode 100644 index e50be50c2a..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMObserverRecorder.m +++ /dev/null @@ -1,75 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import -#import -#import "NSInvocation+OCMAdditions.h" -#import "OCMObserverRecorder.h" - -@interface NSObject(HCMatcherDummy) -- (BOOL)matches:(id)item; -@end - -#pragma mark - - - -@implementation OCMObserverRecorder - -#pragma mark Initialisers, description, accessors, etc. - -- (void)dealloc -{ - [recordedNotification release]; - [super dealloc]; -} - - -#pragma mark Recording - -- (void)notificationWithName:(NSString *)name object:(id)sender -{ - recordedNotification = [[NSNotification notificationWithName:name object:sender] retain]; -} - -- (void)notificationWithName:(NSString *)name object:(id)sender userInfo:(NSDictionary *)userInfo -{ - recordedNotification = [[NSNotification notificationWithName:name object:sender userInfo:userInfo] retain]; -} - - -#pragma mark Verification - -- (BOOL)matchesNotification:(NSNotification *)aNotification -{ - return [self argument:[recordedNotification name] matchesArgument:[aNotification name]] && - [self argument:[recordedNotification object] matchesArgument:[aNotification object]] && - [self argument:[recordedNotification userInfo] matchesArgument:[aNotification userInfo]]; -} - -- (BOOL)argument:(id)expectedArg matchesArgument:(id)observedArg -{ - if([expectedArg isKindOfClass:[OCMConstraint class]]) - { - if([expectedArg evaluate:observedArg] == NO) - return NO; - } - else if([expectedArg conformsToProtocol:objc_getProtocol("HCMatcher")]) - { - if([expectedArg matches:observedArg] == NO) - return NO; - } - else - { - if([expectedArg class] != [observedArg class]) - return NO; - if(([expectedArg isEqual:observedArg] == NO) && - !((expectedArg == nil) && (observedArg == nil))) - return NO; - } - return YES; -} - - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMPassByRefSetter.h b/Tests/Vendor/OCMock/OCMock/OCMPassByRefSetter.h deleted file mode 100644 index 12b99e3521..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMPassByRefSetter.h +++ /dev/null @@ -1,17 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCMPassByRefSetter : NSObject -{ - id value; -} - -- (id)initWithValue:(id)value; - -- (id)value; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMPassByRefSetter.m b/Tests/Vendor/OCMock/OCMock/OCMPassByRefSetter.m deleted file mode 100644 index 919b81ae47..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMPassByRefSetter.m +++ /dev/null @@ -1,29 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCMPassByRefSetter.h" - - -@implementation OCMPassByRefSetter - -- (id)initWithValue:(id)aValue -{ - self = [super init]; - value = [aValue retain]; - return self; -} - -- (void)dealloc -{ - [value release]; - [super dealloc]; -} - -- (id)value -{ - return value; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMRealObjectForwarder.h b/Tests/Vendor/OCMock/OCMock/OCMRealObjectForwarder.h deleted file mode 100644 index 9357a42244..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMRealObjectForwarder.h +++ /dev/null @@ -1,14 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2010 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCMRealObjectForwarder : NSObject -{ -} - -- (void)handleInvocation:(NSInvocation *)anInvocation; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMRealObjectForwarder.m b/Tests/Vendor/OCMock/OCMock/OCMRealObjectForwarder.m deleted file mode 100644 index 7c0a7db14e..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMRealObjectForwarder.m +++ /dev/null @@ -1,29 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2010 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import -#import "OCPartialMockObject.h" -#import "OCMRealObjectForwarder.h" - - -@implementation OCMRealObjectForwarder - -- (void)handleInvocation:(NSInvocation *)anInvocation -{ - id invocationTarget = [anInvocation target]; - SEL invocationSelector = [anInvocation selector]; - SEL aliasedSelector = NSSelectorFromString([OCMRealMethodAliasPrefix stringByAppendingString:NSStringFromSelector(invocationSelector)]); - - [anInvocation setSelector:aliasedSelector]; - if([invocationTarget isProxy] && (class_getInstanceMethod([invocationTarget class], @selector(realObject)))) - { - // the method has been invoked on the mock, we need to change the target to the real object - [anInvocation setTarget:[(OCPartialMockObject *)invocationTarget realObject]]; - } - [anInvocation invoke]; -} - - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMReturnValueProvider.h b/Tests/Vendor/OCMock/OCMock/OCMReturnValueProvider.h deleted file mode 100644 index 3566c6ddb2..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMReturnValueProvider.h +++ /dev/null @@ -1,17 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCMReturnValueProvider : NSObject -{ - id returnValue; -} - -- (id)initWithValue:(id)aValue; - -- (void)handleInvocation:(NSInvocation *)anInvocation; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMReturnValueProvider.m b/Tests/Vendor/OCMock/OCMock/OCMReturnValueProvider.m deleted file mode 100644 index d98b59c995..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMReturnValueProvider.m +++ /dev/null @@ -1,33 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "NSMethodSignature+OCMAdditions.h" -#import "OCMReturnValueProvider.h" - - -@implementation OCMReturnValueProvider - -- (id)initWithValue:(id)aValue -{ - self = [super init]; - returnValue = [aValue retain]; - return self; -} - -- (void)dealloc -{ - [returnValue release]; - [super dealloc]; -} - -- (void)handleInvocation:(NSInvocation *)anInvocation -{ - const char *returnType = [[anInvocation methodSignature] methodReturnTypeWithoutQualifiers]; - if(strcmp(returnType, @encode(id)) != 0) - @throw [NSException exceptionWithName:NSInvalidArgumentException reason:@"Expected invocation with object return type. Did you mean to use andReturnValue: instead?" userInfo:nil]; - [anInvocation setReturnValue:&returnValue]; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMock-Info.plist b/Tests/Vendor/OCMock/OCMock/OCMock-Info.plist deleted file mode 100644 index 4bd402c317..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMock-Info.plist +++ /dev/null @@ -1,30 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIconFile - - CFBundleIdentifier - com.mulle-kybernetik.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSHumanReadableCopyright - Copyright © 2004-2011 Mulle Kybernetik. - NSPrincipalClass - - - diff --git a/Tests/Vendor/OCMock/OCMock/OCMock-Prefix.pch b/Tests/Vendor/OCMock/OCMock/OCMock-Prefix.pch deleted file mode 100644 index 9f3ef37cad..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMock-Prefix.pch +++ /dev/null @@ -1,7 +0,0 @@ -// -// Prefix header for all source files of the 'OCMock' target in the 'OCMock' project -// - -#ifdef __OBJC__ - #import -#endif diff --git a/Tests/Vendor/OCMock/OCMock/OCMock.h b/Tests/Vendor/OCMock/OCMock/OCMock.h deleted file mode 100644 index e18de58a1d..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMock.h +++ /dev/null @@ -1,10 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2004-2008 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import -#import -#import -#import -#import diff --git a/Tests/Vendor/OCMock/OCMock/OCMockClassObject.h b/Tests/Vendor/OCMock/OCMock/OCMockClassObject.h deleted file mode 100644 index cf019765fd..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMockClassObject.h +++ /dev/null @@ -1,20 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2012 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCMockClassObject : OCMockObject -{ - Class mockedClass; -} - -- (id)initWithClass:(Class)aClass; - -- (Class)mockedClass; - -- (void)setupClass:(Class)aClass; -- (void)setupForwarderForSelector:(SEL)selector; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMockClassObject.m b/Tests/Vendor/OCMock/OCMock/OCMockClassObject.m deleted file mode 100644 index 03c8c6d73c..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMockClassObject.m +++ /dev/null @@ -1,120 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2012 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import -#import "OCClassMockRecorder.h" -#import "OCMockClassObject.h" - - -@implementation OCMockClassObject - -#pragma mark Mock table - -static NSMutableDictionary *mockTable; - -+ (void)initialize -{ - if(self == [OCMockClassObject class]) - mockTable = [[NSMutableDictionary alloc] init]; -} - -+ (void)rememberMock:(OCMockClassObject *)mock forClass:(Class)aClass -{ - [mockTable setObject:[NSValue valueWithNonretainedObject:mock] forKey:[NSValue valueWithNonretainedObject:aClass]]; -} - -+ (void)forgetMockForClass:(Class)aClass -{ - [mockTable removeObjectForKey:[NSValue valueWithNonretainedObject:aClass]]; -} - -+ (OCMockClassObject *)existingMockForClass:(Class)aClass -{ - OCMockClassObject *mock = [[mockTable objectForKey:[NSValue valueWithNonretainedObject:aClass]] nonretainedObjectValue]; - if(mock == nil) - [NSException raise:NSInternalInconsistencyException format:@"No mock for class %p", aClass]; - return mock; -} - - -#pragma mark Initialisers, description, accessors, etc. - -- (id)initWithClass:(Class)aClass -{ - [super init]; - mockedClass = aClass; - [[self class] rememberMock:self forClass:aClass]; - [self setupClass:aClass]; - return self; -} - -- (NSString *)description -{ - return [NSString stringWithFormat:@"OCMockClassObject[%@]", NSStringFromClass(mockedClass)]; -} - -- (Class)mockedClass -{ - return mockedClass; -} - -- (void)stopMocking -{ - -} - -- (void)setupClass:(Class)aClass -{ - Method myForwardInvocationMethod = class_getInstanceMethod([self class], @selector(forwardInvocationForRealObject:)); - IMP myForwardInvocationImp = method_getImplementation(myForwardInvocationMethod); - const char *forwardInvocationTypes = method_getTypeEncoding(myForwardInvocationMethod); - Class metaClass = objc_getMetaClass(class_getName(aClass)); - class_replaceMethod(metaClass, @selector(forwardInvocation:), myForwardInvocationImp, forwardInvocationTypes); -} - -- (void)setupForwarderForSelector:(SEL)selector -{ - Method originalMethod = class_getClassMethod(mockedClass, selector); - Class metaClass = objc_getMetaClass(class_getName(mockedClass)); - - IMP forwarderImp = [metaClass instanceMethodForSelector:@selector(aMethodThatMustNotExist)]; - class_replaceMethod(metaClass, method_getName(originalMethod), forwarderImp, method_getTypeEncoding(originalMethod)); - -// SEL aliasSelector = NSSelectorFromString([OCMRealMethodAliasPrefix stringByAppendingString:NSStringFromSelector(selector)]); -// class_addMethod(subclass, aliasSelector, originalImp, method_getTypeEncoding(originalMethod)); -} - -- (void)forwardInvocationForRealObject:(NSInvocation *)anInvocation -{ - // in here "self" is a reference to the real class, not the mock - OCMockClassObject *mock = [OCMockClassObject existingMockForClass:(Class)self]; - if([mock handleInvocation:anInvocation] == NO) - [NSException raise:NSInternalInconsistencyException format:@"Ended up in subclass forwarder for %@ with unstubbed method %@", - [self class], NSStringFromSelector([anInvocation selector])]; -} - - -#pragma mark Proxy API - -- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector -{ - return [mockedClass methodSignatureForSelector:aSelector]; -} - -- (BOOL)respondsToSelector:(SEL)selector -{ - return [mockedClass respondsToSelector:selector]; -} - - -#pragma mark Overrides - -- (id)getNewRecorder -{ - return [[[OCClassMockRecorder alloc] initWithSignatureResolver:self] autorelease]; -} - - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMockObject.h b/Tests/Vendor/OCMock/OCMock/OCMockObject.h deleted file mode 100644 index 8f95185c52..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMockObject.h +++ /dev/null @@ -1,46 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2004-2008 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCMockObject : NSProxy -{ - BOOL isNice; - BOOL expectationOrderMatters; - NSMutableArray *recorders; - NSMutableArray *expectations; - NSMutableArray *rejections; - NSMutableArray *exceptions; -} - -+ (id)mockForClass:(Class)aClass; -+ (id)mockForClassObject:(Class)aClass; -+ (id)mockForProtocol:(Protocol *)aProtocol; -+ (id)partialMockForObject:(NSObject *)anObject; - -+ (id)niceMockForClass:(Class)aClass; -+ (id)niceMockForProtocol:(Protocol *)aProtocol; - -+ (id)observerMock; - -- (id)init; - -- (void)setExpectationOrderMatters:(BOOL)flag; - -- (id)stub; -- (id)expect; -- (id)reject; - -- (void)verify; - -- (void)stopMocking; - -// internal use only - -- (id)getNewRecorder; -- (BOOL)handleInvocation:(NSInvocation *)anInvocation; -- (void)handleUnRecordedInvocation:(NSInvocation *)anInvocation; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMockObject.m b/Tests/Vendor/OCMock/OCMock/OCMockObject.m deleted file mode 100644 index dbe2b7e80f..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMockObject.m +++ /dev/null @@ -1,266 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2004-2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import -#import "OCClassMockObject.h" -#import "OCProtocolMockObject.h" -#import "OCPartialMockObject.h" -#import "OCMockClassObject.h" -#import "OCObserverMockObject.h" -#import -#import "NSInvocation+OCMAdditions.h" - -@interface OCMockObject(Private) -+ (id)_makeNice:(OCMockObject *)mock; -- (NSString *)_recorderDescriptions:(BOOL)onlyExpectations; -@end - -#pragma mark - - - -@implementation OCMockObject - -#pragma mark Class initialisation - -+ (void)initialize -{ - if([[NSInvocation class] instanceMethodSignatureForSelector:@selector(getArgumentAtIndexAsObject:)] == NULL) - [NSException raise:NSInternalInconsistencyException format:@"** Expected method not present; the method getArgumentAtIndexAsObject: is not implemented by NSInvocation. If you see this exception it is likely that you are using the static library version of OCMock and your project is not configured correctly to load categories from static libraries. Did you forget to add the -force_load linker flag?"]; -} - - -#pragma mark Factory methods - -+ (id)mockForClass:(Class)aClass -{ - return [[[OCClassMockObject alloc] initWithClass:aClass] autorelease]; -} - -+ (id)mockForClassObject:(Class)aClass; -{ - return [[[OCMockClassObject alloc] initWithClass:aClass] autorelease]; -} - -+ (id)mockForProtocol:(Protocol *)aProtocol -{ - return [[[OCProtocolMockObject alloc] initWithProtocol:aProtocol] autorelease]; -} - -+ (id)partialMockForObject:(NSObject *)anObject -{ - return [[[OCPartialMockObject alloc] initWithObject:anObject] autorelease]; -} - - -+ (id)niceMockForClass:(Class)aClass -{ - return [self _makeNice:[self mockForClass:aClass]]; -} - -+ (id)niceMockForProtocol:(Protocol *)aProtocol -{ - return [self _makeNice:[self mockForProtocol:aProtocol]]; -} - - -+ (id)_makeNice:(OCMockObject *)mock -{ - mock->isNice = YES; - return mock; -} - - -+ (id)observerMock -{ - return [[[OCObserverMockObject alloc] init] autorelease]; -} - - - -#pragma mark Initialisers, description, accessors, etc. - -- (id)init -{ - // no [super init], we're inheriting from NSProxy - expectationOrderMatters = NO; - recorders = [[NSMutableArray alloc] init]; - expectations = [[NSMutableArray alloc] init]; - rejections = [[NSMutableArray alloc] init]; - exceptions = [[NSMutableArray alloc] init]; - return self; -} - -- (void)dealloc -{ - [recorders release]; - [expectations release]; - [rejections release]; - [exceptions release]; - [super dealloc]; -} - -- (NSString *)description -{ - return @"OCMockObject"; -} - - -- (void)setExpectationOrderMatters:(BOOL)flag -{ - expectationOrderMatters = flag; -} - - -#pragma mark Public API - -- (id)stub -{ - OCMockRecorder *recorder = [self getNewRecorder]; - [recorders addObject:recorder]; - return recorder; -} - - -- (id)expect -{ - OCMockRecorder *recorder = [self stub]; - [expectations addObject:recorder]; - return recorder; -} - - -- (id)reject -{ - OCMockRecorder *recorder = [self stub]; - [rejections addObject:recorder]; - return recorder; -} - - -- (void)verify -{ - if([expectations count] == 1) - { - [NSException raise:NSInternalInconsistencyException format:@"%@: expected method was not invoked: %@", - [self description], [[expectations objectAtIndex:0] description]]; - } - if([expectations count] > 0) - { - [NSException raise:NSInternalInconsistencyException format:@"%@ : %ld expected methods were not invoked: %@", - [self description], (long)[expectations count], [self _recorderDescriptions:YES]]; - } - if([exceptions count] > 0) - { - [[exceptions objectAtIndex:0] raise]; - } -} - -- (void)stopMocking -{ - // no-op for mock objects that are not class object or partial mocks -} - - -#pragma mark Handling invocations - -- (void)forwardInvocation:(NSInvocation *)anInvocation -{ - if([self handleInvocation:anInvocation] == NO) - [self handleUnRecordedInvocation:anInvocation]; -} - -- (BOOL)handleInvocation:(NSInvocation *)anInvocation -{ - OCMockRecorder *recorder = nil; - unsigned int i; - - for(i = 0; i < [recorders count]; i++) - { - recorder = [recorders objectAtIndex:i]; - if([recorder matchesInvocation:anInvocation]) - break; - } - - if(i == [recorders count]) - return NO; - - if([rejections containsObject:recorder]) - { - NSException *exception = [NSException exceptionWithName:NSInternalInconsistencyException reason: - [NSString stringWithFormat:@"%@: explicitly disallowed method invoked: %@", [self description], - [anInvocation invocationDescription]] userInfo:nil]; - [exceptions addObject:exception]; - [exception raise]; - } - - if([expectations containsObject:recorder]) - { - if(expectationOrderMatters && ([expectations objectAtIndex:0] != recorder)) - { - [NSException raise:NSInternalInconsistencyException format:@"%@: unexpected method invoked: %@\n\texpected:\t%@", - [self description], [recorder description], [[expectations objectAtIndex:0] description]]; - - } - [[recorder retain] autorelease]; - [expectations removeObject:recorder]; - [recorders removeObjectAtIndex:i]; - } - [[recorder invocationHandlers] makeObjectsPerformSelector:@selector(handleInvocation:) withObject:anInvocation]; - - return YES; -} - -- (void)handleUnRecordedInvocation:(NSInvocation *)anInvocation -{ - if(isNice == NO) - { - NSException *exception = [NSException exceptionWithName:NSInternalInconsistencyException reason: - [NSString stringWithFormat:@"%@: unexpected method invoked: %@ %@", [self description], - [anInvocation invocationDescription], [self _recorderDescriptions:NO]] userInfo:nil]; - [exceptions addObject:exception]; - [exception raise]; - } -} - - -#pragma mark Helper methods - -- (id)getNewRecorder -{ - return [[[OCMockRecorder alloc] initWithSignatureResolver:self] autorelease]; -} - - -- (NSString *)_recorderDescriptions:(BOOL)onlyExpectations -{ - NSMutableString *outputString = [NSMutableString string]; - - OCMockRecorder *currentObject; - NSEnumerator *recorderEnumerator = [recorders objectEnumerator]; - while((currentObject = [recorderEnumerator nextObject]) != nil) - { - NSString *prefix; - - if(onlyExpectations) - { - if(![expectations containsObject:currentObject]) - continue; - prefix = @" "; - } - else - { - if ([expectations containsObject:currentObject]) - prefix = @"expected: "; - else - prefix = @"stubbed: "; - } - [outputString appendFormat:@"\n\t%@\t%@", prefix, [currentObject description]]; - } - - return outputString; -} - - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMockRecorder.h b/Tests/Vendor/OCMock/OCMock/OCMockRecorder.h deleted file mode 100644 index b11a25387f..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMockRecorder.h +++ /dev/null @@ -1,32 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2004-2010 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCMockRecorder : NSProxy -{ - id signatureResolver; - NSInvocation *recordedInvocation; - NSMutableArray *invocationHandlers; -} - -- (id)initWithSignatureResolver:(id)anObject; - -- (BOOL)matchesInvocation:(NSInvocation *)anInvocation; -- (void)releaseInvocation; - -- (id)andReturn:(id)anObject; -- (id)andReturnValue:(NSValue *)aValue; -- (id)andThrow:(NSException *)anException; -- (id)andPost:(NSNotification *)aNotification; -- (id)andCall:(SEL)selector onObject:(id)anObject; -#if NS_BLOCKS_AVAILABLE -- (id)andDo:(void (^)(NSInvocation *))block; -#endif -- (id)andForwardToRealObject; - -- (NSArray *)invocationHandlers; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCMockRecorder.m b/Tests/Vendor/OCMock/OCMock/OCMockRecorder.m deleted file mode 100644 index 5cd63d2b4c..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCMockRecorder.m +++ /dev/null @@ -1,187 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2004-2011 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import -#import -#import -#import -#import "OCMPassByRefSetter.h" -#import "OCMReturnValueProvider.h" -#import "OCMBoxedReturnValueProvider.h" -#import "OCMExceptionReturnValueProvider.h" -#import "OCMIndirectReturnValueProvider.h" -#import "OCMNotificationPoster.h" -#import "OCMBlockCaller.h" -#import "NSInvocation+OCMAdditions.h" - -@interface NSObject(HCMatcherDummy) -- (BOOL)matches:(id)item; -@end - -#pragma mark - - - -@implementation OCMockRecorder - -#pragma mark Initialisers, description, accessors, etc. - -- (id)initWithSignatureResolver:(id)anObject -{ - signatureResolver = anObject; - invocationHandlers = [[NSMutableArray alloc] init]; - return self; -} - -- (void)dealloc -{ - [recordedInvocation release]; - [invocationHandlers release]; - [super dealloc]; -} - -- (NSString *)description -{ - return [recordedInvocation invocationDescription]; -} - -- (void)releaseInvocation -{ - [recordedInvocation release]; - recordedInvocation = nil; -} - - -#pragma mark Recording invocation handlers - -- (id)andReturn:(id)anObject -{ - [invocationHandlers addObject:[[[OCMReturnValueProvider alloc] initWithValue:anObject] autorelease]]; - return self; -} - -- (id)andReturnValue:(NSValue *)aValue -{ - [invocationHandlers addObject:[[[OCMBoxedReturnValueProvider alloc] initWithValue:aValue] autorelease]]; - return self; -} - -- (id)andThrow:(NSException *)anException -{ - [invocationHandlers addObject:[[[OCMExceptionReturnValueProvider alloc] initWithValue:anException] autorelease]]; - return self; -} - -- (id)andPost:(NSNotification *)aNotification -{ - [invocationHandlers addObject:[[[OCMNotificationPoster alloc] initWithNotification:aNotification] autorelease]]; - return self; -} - -- (id)andCall:(SEL)selector onObject:(id)anObject -{ - [invocationHandlers addObject:[[[OCMIndirectReturnValueProvider alloc] initWithProvider:anObject andSelector:selector] autorelease]]; - return self; -} - -#if NS_BLOCKS_AVAILABLE - -- (id)andDo:(void (^)(NSInvocation *))aBlock -{ - [invocationHandlers addObject:[[[OCMBlockCaller alloc] initWithCallBlock:aBlock] autorelease]]; - return self; -} - -#endif - -- (id)andForwardToRealObject -{ - [NSException raise:NSInternalInconsistencyException format:@"Method %@ can only be used with partial mocks.", - NSStringFromSelector(_cmd)]; - return self; // keep compiler happy -} - - -- (NSArray *)invocationHandlers -{ - return invocationHandlers; -} - - -#pragma mark Recording the actual invocation - -- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector -{ - return [signatureResolver methodSignatureForSelector:aSelector]; -} - -- (void)forwardInvocation:(NSInvocation *)anInvocation -{ - if(recordedInvocation != nil) - [NSException raise:NSInternalInconsistencyException format:@"Recorder received two methods to record."]; - [anInvocation setTarget:nil]; - [anInvocation retainArguments]; - recordedInvocation = [anInvocation retain]; -} - - - -#pragma mark Checking the invocation - -- (BOOL)matchesInvocation:(NSInvocation *)anInvocation -{ - id recordedArg, passedArg; - int i, n; - - if([anInvocation selector] != [recordedInvocation selector]) - return NO; - - n = (int)[[recordedInvocation methodSignature] numberOfArguments]; - for(i = 2; i < n; i++) - { - recordedArg = [recordedInvocation getArgumentAtIndexAsObject:i]; - passedArg = [anInvocation getArgumentAtIndexAsObject:i]; - - if([recordedArg isProxy]) - { - if(![recordedArg isEqual:passedArg]) - return NO; - continue; - } - - if([recordedArg isKindOfClass:[NSValue class]]) - recordedArg = [OCMArg resolveSpecialValues:recordedArg]; - - if([recordedArg isKindOfClass:[OCMConstraint class]]) - { - if([recordedArg evaluate:passedArg] == NO) - return NO; - } - else if([recordedArg isKindOfClass:[OCMPassByRefSetter class]]) - { - // side effect but easier to do here than in handleInvocation - *(id *)[passedArg pointerValue] = [(OCMPassByRefSetter *)recordedArg value]; - } - else if([recordedArg conformsToProtocol:objc_getProtocol("HCMatcher")]) - { - if([recordedArg matches:passedArg] == NO) - return NO; - } - else - { - if(([recordedArg class] == [NSNumber class]) && - ([(NSNumber*)recordedArg compare:(NSNumber*)passedArg] != NSOrderedSame)) - return NO; - if(([recordedArg isEqual:passedArg] == NO) && - !((recordedArg == nil) && (passedArg == nil))) - return NO; - } - } - return YES; -} - - - - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCObserverMockObject.h b/Tests/Vendor/OCMock/OCMock/OCObserverMockObject.h deleted file mode 100644 index 908ad2f32b..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCObserverMockObject.h +++ /dev/null @@ -1,22 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCObserverMockObject : NSObject -{ - BOOL expectationOrderMatters; - NSMutableArray *recorders; -} - -- (void)setExpectationOrderMatters:(BOOL)flag; - -- (id)expect; - -- (void)verify; - -- (void)handleNotification:(NSNotification *)aNotification; - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCObserverMockObject.m b/Tests/Vendor/OCMock/OCMock/OCObserverMockObject.m deleted file mode 100644 index 02017f2ba9..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCObserverMockObject.m +++ /dev/null @@ -1,83 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCObserverMockObject.h" -#import "OCMObserverRecorder.h" - - -@implementation OCObserverMockObject - -#pragma mark Initialisers, description, accessors, etc. - -- (id)init -{ - self = [super init]; - recorders = [[NSMutableArray alloc] init]; - return self; -} - -- (void)dealloc -{ - [recorders release]; - [super dealloc]; -} - -- (NSString *)description -{ - return @"OCMockObserver"; -} - -- (void)setExpectationOrderMatters:(BOOL)flag -{ - expectationOrderMatters = flag; -} - - -#pragma mark Public API - -- (id)expect -{ - OCMObserverRecorder *recorder = [[[OCMObserverRecorder alloc] init] autorelease]; - [recorders addObject:recorder]; - return recorder; -} - -- (void)verify -{ - if([recorders count] == 1) - { - [NSException raise:NSInternalInconsistencyException format:@"%@: expected notification was not observed: %@", - [self description], [[recorders lastObject] description]]; - } - if([recorders count] > 0) - { - [NSException raise:NSInternalInconsistencyException format:@"%@ : %ld expected notifications were not observed.", - [self description], (long)[recorders count]]; - } -} - - - -#pragma mark Receiving notifications - -- (void)handleNotification:(NSNotification *)aNotification -{ - NSUInteger i, limit; - - limit = expectationOrderMatters ? 1 : [recorders count]; - for(i = 0; i < limit; i++) - { - if([[recorders objectAtIndex:i] matchesNotification:aNotification]) - { - [recorders removeObjectAtIndex:i]; - return; - } - } - [NSException raise:NSInternalInconsistencyException format:@"%@: unexpected notification observed: %@", [self description], - [aNotification description]]; -} - - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCPartialMockObject.h b/Tests/Vendor/OCMock/OCMock/OCPartialMockObject.h deleted file mode 100644 index d932d28073..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCPartialMockObject.h +++ /dev/null @@ -1,25 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCClassMockObject.h" - -@interface OCPartialMockObject : OCClassMockObject -{ - NSObject *realObject; -} - -- (id)initWithObject:(NSObject *)anObject; - -- (NSObject *)realObject; - -- (void)stopMocking; - -- (void)setupSubclassForObject:(id)anObject; -- (void)setupForwarderForSelector:(SEL)selector; - -@end - - -extern NSString *OCMRealMethodAliasPrefix; diff --git a/Tests/Vendor/OCMock/OCMock/OCPartialMockObject.m b/Tests/Vendor/OCMock/OCMock/OCPartialMockObject.m deleted file mode 100644 index c5b46afb75..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCPartialMockObject.m +++ /dev/null @@ -1,142 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import -#import "OCPartialMockRecorder.h" -#import "OCPartialMockObject.h" - - -@interface OCPartialMockObject (Private) -- (void)forwardInvocationForRealObject:(NSInvocation *)anInvocation; -@end - - -NSString *OCMRealMethodAliasPrefix = @"ocmock_replaced_"; - -@implementation OCPartialMockObject - - -#pragma mark Mock table - -static NSMutableDictionary *mockTable; - -+ (void)initialize -{ - if(self == [OCPartialMockObject class]) - mockTable = [[NSMutableDictionary alloc] init]; -} - -+ (void)rememberPartialMock:(OCPartialMockObject *)mock forObject:(id)anObject -{ - [mockTable setObject:[NSValue valueWithNonretainedObject:mock] forKey:[NSValue valueWithNonretainedObject:anObject]]; -} - -+ (void)forgetPartialMockForObject:(id)anObject -{ - [mockTable removeObjectForKey:[NSValue valueWithNonretainedObject:anObject]]; -} - -+ (OCPartialMockObject *)existingPartialMockForObject:(id)anObject -{ - OCPartialMockObject *mock = [[mockTable objectForKey:[NSValue valueWithNonretainedObject:anObject]] nonretainedObjectValue]; - if(mock == nil) - [NSException raise:NSInternalInconsistencyException format:@"No partial mock for object %p", anObject]; - return mock; -} - - - -#pragma mark Initialisers, description, accessors, etc. - -- (id)initWithObject:(NSObject *)anObject -{ - [super initWithClass:[anObject class]]; - realObject = [anObject retain]; - [[self class] rememberPartialMock:self forObject:anObject]; - [self setupSubclassForObject:realObject]; - return self; -} - -- (void)dealloc -{ - if(realObject != nil) - [self stopMocking]; - [super dealloc]; -} - -- (NSString *)description -{ - return [NSString stringWithFormat:@"OCPartialMockObject[%@]", NSStringFromClass(mockedClass)]; -} - -- (NSObject *)realObject -{ - return realObject; -} - -- (void)stopMocking -{ - object_setClass(realObject, [self mockedClass]); - [realObject release]; - [[self class] forgetPartialMockForObject:realObject]; - realObject = nil; -} - - -#pragma mark Subclass management - -- (void)setupSubclassForObject:(id)anObject -{ - Class realClass = [anObject class]; - double timestamp = [NSDate timeIntervalSinceReferenceDate]; - const char *className = [[NSString stringWithFormat:@"%@-%p-%f", realClass, anObject, timestamp] UTF8String]; - Class subclass = objc_allocateClassPair(realClass, className, 0); - objc_registerClassPair(subclass); - object_setClass(anObject, subclass); - - Method myForwardInvocationMethod = class_getInstanceMethod([self class], @selector(forwardInvocationForRealObject:)); - IMP myForwardInvocationImp = method_getImplementation(myForwardInvocationMethod); - const char *forwardInvocationTypes = method_getTypeEncoding(myForwardInvocationMethod); - class_addMethod(subclass, @selector(forwardInvocation:), myForwardInvocationImp, forwardInvocationTypes); -} - -- (void)setupForwarderForSelector:(SEL)selector -{ - Class subclass = [[self realObject] class]; - Method originalMethod = class_getInstanceMethod([subclass superclass], selector); - IMP originalImp = method_getImplementation(originalMethod); - - IMP forwarderImp = [subclass instanceMethodForSelector:@selector(aMethodThatMustNotExist)]; - class_addMethod(subclass, method_getName(originalMethod), forwarderImp, method_getTypeEncoding(originalMethod)); - - SEL aliasSelector = NSSelectorFromString([OCMRealMethodAliasPrefix stringByAppendingString:NSStringFromSelector(selector)]); - class_addMethod(subclass, aliasSelector, originalImp, method_getTypeEncoding(originalMethod)); -} - -- (void)forwardInvocationForRealObject:(NSInvocation *)anInvocation -{ - // in here "self" is a reference to the real object, not the mock - OCPartialMockObject *mock = [OCPartialMockObject existingPartialMockForObject:self]; - if([mock handleInvocation:anInvocation] == NO) - [NSException raise:NSInternalInconsistencyException format:@"Ended up in subclass forwarder for %@ with unstubbed method %@", - [self class], NSStringFromSelector([anInvocation selector])]; -} - - - -#pragma mark Overrides - -- (id)getNewRecorder -{ - return [[[OCPartialMockRecorder alloc] initWithSignatureResolver:self] autorelease]; -} - -- (void)handleUnRecordedInvocation:(NSInvocation *)anInvocation -{ - [anInvocation invokeWithTarget:realObject]; -} - - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCPartialMockRecorder.h b/Tests/Vendor/OCMock/OCMock/OCPartialMockRecorder.h deleted file mode 100644 index 95ce4e6310..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCPartialMockRecorder.h +++ /dev/null @@ -1,12 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCMockRecorder.h" - -@interface OCPartialMockRecorder : OCMockRecorder -{ -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCPartialMockRecorder.m b/Tests/Vendor/OCMock/OCMock/OCPartialMockRecorder.m deleted file mode 100644 index f40cb7ce67..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCPartialMockRecorder.m +++ /dev/null @@ -1,27 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2009-2010 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import "OCPartialMockObject.h" -#import "OCMRealObjectForwarder.h" -#import "OCPartialMockRecorder.h" - - -@implementation OCPartialMockRecorder - -- (id)andForwardToRealObject -{ - [invocationHandlers addObject:[[[OCMRealObjectForwarder alloc] init] autorelease]]; - return self; -} - - -- (void)forwardInvocation:(NSInvocation *)anInvocation -{ - [super forwardInvocation:anInvocation]; - // not as clean as I'd wish... - [(OCPartialMockObject *)signatureResolver setupForwarderForSelector:[anInvocation selector]]; -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/OCProtocolMockObject.h b/Tests/Vendor/OCMock/OCMock/OCProtocolMockObject.h deleted file mode 100644 index 88f32299a5..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCProtocolMockObject.h +++ /dev/null @@ -1,16 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2005-2008 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import - -@interface OCProtocolMockObject : OCMockObject -{ - Protocol *mockedProtocol; -} - -- (id)initWithProtocol:(Protocol *)aProtocol; - -@end - diff --git a/Tests/Vendor/OCMock/OCMock/OCProtocolMockObject.m b/Tests/Vendor/OCMock/OCMock/OCProtocolMockObject.m deleted file mode 100644 index 19e25e8796..0000000000 --- a/Tests/Vendor/OCMock/OCMock/OCProtocolMockObject.m +++ /dev/null @@ -1,53 +0,0 @@ -//--------------------------------------------------------------------------------------- -// $Id$ -// Copyright (c) 2005-2008 by Mulle Kybernetik. See License file for details. -//--------------------------------------------------------------------------------------- - -#import -#import "NSMethodSignature+OCMAdditions.h" -#import "OCProtocolMockObject.h" - -@implementation OCProtocolMockObject - -#pragma mark Initialisers, description, accessors, etc. - -- (id)initWithProtocol:(Protocol *)aProtocol -{ - [super init]; - mockedProtocol = aProtocol; - return self; -} - -- (NSString *)description -{ - const char* name = protocol_getName(mockedProtocol); - return [NSString stringWithFormat:@"OCMockObject[%s]", name]; -} - -#pragma mark Proxy API - -- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector -{ - struct objc_method_description methodDescription = protocol_getMethodDescription(mockedProtocol, aSelector, YES, YES); - if(methodDescription.name == NULL) - { - methodDescription = protocol_getMethodDescription(mockedProtocol, aSelector, NO, YES); - } - if(methodDescription.name == NULL) - { - return nil; - } - return [NSMethodSignature signatureWithObjCTypes:methodDescription.types]; -} - -- (BOOL)conformsToProtocol:(Protocol *)aProtocol -{ - return protocol_conformsToProtocol(mockedProtocol, aProtocol); -} - -- (BOOL)respondsToSelector:(SEL)selector -{ - return ([self methodSignatureForSelector:selector] != nil); -} - -@end diff --git a/Tests/Vendor/OCMock/OCMock/en.lproj/InfoPlist.strings b/Tests/Vendor/OCMock/OCMock/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28ff8f..0000000000 --- a/Tests/Vendor/OCMock/OCMock/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ -