Permalink
Browse files

Delete OCHamcrest 1.7

  • Loading branch information...
1 parent f258948 commit 816aa92da78dca050994fbb8c2fef84ce9bc98fb @jonreid committed Jun 10, 2012
Showing with 0 additions and 6,027 deletions.
  1. +0 −27 Frameworks/OCHamcrest-1.7/LICENSE.txt
  2. +0 −1 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Headers
  3. +0 −1 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/OCHamcrest
  4. +0 −1 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Resources
  5. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCAllOf.h
  6. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCAnyOf.h
  7. +0 −40 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCAssertThat.h
  8. +0 −31 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCBaseDescription.h
  9. +0 −25 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCBaseMatcher.h
  10. +0 −88 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCBoxNumber.h
  11. +0 −21 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCCollectMatchers.h
  12. +0 −42 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCConformsToProtocol.h
  13. +0 −48 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCDescribedAs.h
  14. +0 −55 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCDescription.h
  15. +0 −61 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCHasCount.h
  16. +0 −42 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCHasDescription.h
  17. +0 −49 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCHasProperty.h
  18. +0 −62 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCInvocationMatcher.h
  19. +0 −52 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIs.h
  20. +0 −61 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsAnything.h
  21. +0 −45 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsCloseTo.h
  22. +0 −67 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContaining.h
  23. +0 −45 ...works/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContainingInAnyOrder.h
  24. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionContainingInOrder.h
  25. +0 −50 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsCollectionOnlyContaining.h
  26. +0 −52 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContaining.h
  27. +0 −51 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingEntries.h
  28. +0 −47 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingKey.h
  29. +0 −47 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsDictionaryContainingValue.h
  30. +0 −34 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsEmptyCollection.h
  31. +0 −42 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsEqual.h
  32. +0 −47 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsEqualIgnoringCase.h
  33. +0 −48 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsEqualIgnoringWhiteSpace.h
  34. +0 −323 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsEqualToNumber.h
  35. +0 −40 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsIn.h
  36. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsInstanceOf.h
  37. +0 −45 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsNil.h
  38. +0 −45 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsNot.h
  39. +0 −40 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCIsSame.h
  40. +0 −54 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCMatcher.h
  41. +0 −385 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCNumberAssert.h
  42. +0 −113 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCOrderingComparison.h
  43. +0 −17 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCRequireNonNilObject.h
  44. +0 −19 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCRequireNonNilString.h
  45. +0 −30 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCSelfDescribing.h
  46. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCStringContains.h
  47. +0 −48 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCStringContainsInOrder.h
  48. +0 −41 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCStringDescription.h
  49. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCStringEndsWith.h
  50. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCStringStartsWith.h
  51. +0 −18 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCSubstringMatcher.h
  52. +0 −20 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/HCWrapInMatcher.h
  53. +0 −28 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/NSObject+HCSelfDescribingValue.h
  54. +0 −135 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Headers/OCHamcrest.h
  55. BIN Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/OCHamcrest
  56. +0 −42 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/A/Resources/Info.plist
  57. +0 −1 Frameworks/OCHamcrest-1.7/OCHamcrest.framework/Versions/Current
  58. +0 −1 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Headers
  59. +0 −1 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/OCHamcrestIOS
  60. +0 −1 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Resources
  61. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCAllOf.h
  62. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCAnyOf.h
  63. +0 −40 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCAssertThat.h
  64. +0 −31 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCBaseDescription.h
  65. +0 −25 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCBaseMatcher.h
  66. +0 −88 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCBoxNumber.h
  67. +0 −21 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCCollectMatchers.h
  68. +0 −42 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCConformsToProtocol.h
  69. +0 −48 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCDescribedAs.h
  70. +0 −55 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCDescription.h
  71. +0 −61 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCHasCount.h
  72. +0 −42 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCHasDescription.h
  73. +0 −49 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCHasProperty.h
  74. +0 −62 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCInvocationMatcher.h
  75. +0 −52 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIs.h
  76. +0 −61 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsAnything.h
  77. +0 −45 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCloseTo.h
  78. +0 −67 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContaining.h
  79. +0 −45 ...ks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContainingInAnyOrder.h
  80. +0 −43 ...works/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionContainingInOrder.h
  81. +0 −50 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsCollectionOnlyContaining.h
  82. +0 −52 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContaining.h
  83. +0 −51 ...works/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingEntries.h
  84. +0 −47 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingKey.h
  85. +0 −47 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingValue.h
  86. +0 −34 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEmptyCollection.h
  87. +0 −42 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqual.h
  88. +0 −47 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualIgnoringCase.h
  89. +0 −48 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualIgnoringWhiteSpace.h
  90. +0 −323 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsEqualToNumber.h
  91. +0 −40 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsIn.h
  92. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsInstanceOf.h
  93. +0 −45 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsNil.h
  94. +0 −45 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsNot.h
  95. +0 −40 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCIsSame.h
  96. +0 −54 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCMatcher.h
  97. +0 −385 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCNumberAssert.h
  98. +0 −113 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCOrderingComparison.h
  99. +0 −17 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCRequireNonNilObject.h
  100. +0 −19 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCRequireNonNilString.h
  101. +0 −30 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCSelfDescribing.h
  102. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCStringContains.h
  103. +0 −48 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCStringContainsInOrder.h
  104. +0 −41 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCStringDescription.h
  105. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCStringEndsWith.h
  106. +0 −43 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCStringStartsWith.h
  107. +0 −18 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCSubstringMatcher.h
  108. +0 −20 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/HCWrapInMatcher.h
  109. +0 −28 ...eworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/NSObject+HCSelfDescribingValue.h
  110. +0 −135 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Headers/OCHamcrestIOS.h
  111. BIN Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/OCHamcrestIOS
  112. +0 −42 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/A/Resources/Info.plist
  113. +0 −1 Frameworks/OCHamcrest-1.7/OCHamcrestIOS.framework/Versions/Current
@@ -1,27 +0,0 @@
-BSD License
-
-Copyright 2012 hamcrest.org
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this list of
-conditions and the following disclaimer. Redistributions in binary form must reproduce
-the above copyright notice, this list of conditions and the following disclaimer in
-the documentation and/or other materials provided with the distribution.
-
-Neither the name of Hamcrest nor the names of its contributors may be used to endorse
-or promote products derived from this software without specific prior written
-permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
-EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
-SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
-WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGE.
@@ -1,43 +0,0 @@
-//
-// OCHamcrest - HCAllOf.h
-// Copyright 2012 hamcrest.org. See LICENSE.txt
-//
-// Created by: Jon Reid
-//
-
-#import <OCHamcrest/HCBaseMatcher.h>
-
-
-@interface HCAllOf : HCBaseMatcher
-{
- NSArray *matchers;
-}
-
-+ (id)allOf:(NSArray *)theMatchers;
-- (id)initWithMatchers:(NSArray *)theMatchers;
-
-@end
-
-
-OBJC_EXPORT id<HCMatcher> 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
@@ -1,43 +0,0 @@
-//
-// OCHamcrest - HCAnyOf.h
-// Copyright 2012 hamcrest.org. See LICENSE.txt
-//
-// Created by: Jon Reid
-//
-
-#import <OCHamcrest/HCBaseMatcher.h>
-
-
-@interface HCAnyOf : HCBaseMatcher
-{
- NSArray *matchers;
-}
-
-+ (id)anyOf:(NSArray *)theMatchers;
-- (id)initWithMatchers:(NSArray *)theMatchers;
-
-@end
-
-
-OBJC_EXPORT id<HCMatcher> 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
@@ -1,40 +0,0 @@
-//
-// OCHamcrest - HCAssertThat.h
-// Copyright 2012 hamcrest.org. See LICENSE.txt
-//
-// Created by: Jon Reid
-//
-
-#import <objc/objc-api.h>
-
-@protocol HCMatcher;
-
-
-OBJC_EXPORT void HC_assertThatWithLocation(id testCase, id actual, id<HCMatcher> 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
@@ -1,31 +0,0 @@
-//
-// OCHamcrest - HCBaseDescription.h
-// Copyright 2012 hamcrest.org. See LICENSE.txt
-//
-// Created by: Jon Reid
-//
-
-#import <Foundation/Foundation.h>
-#import <OCHamcrest/HCDescription.h>
-
-
-/**
- Base class for all HCDescription implementations.
-
- @ingroup core
- */
-@interface HCBaseDescription : NSObject <HCDescription>
-@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
@@ -1,25 +0,0 @@
-//
-// OCHamcrest - HCBaseMatcher.h
-// Copyright 2012 hamcrest.org. See LICENSE.txt
-//
-// Created by: Jon Reid
-//
-
-#import <Foundation/Foundation.h>
-#import <OCHamcrest/HCMatcher.h>
-
-#import <objc/objc-api.h> // Convenience header, to provide OBJC_EXPORT
-
-
-/**
- Base class for all HCMatcher implementations.
-
- Most implementations can just implement @c -matches: and let
- <code>-matches:describingMismatchTo:</code> call it. But if it makes more sense to generate the
- mismatch description during the matching, override <code>-matches:describingMismatchTo:</code>
- and have @c -matches: call it with a @c nil description.
-
- @ingroup core
- */
-@interface HCBaseMatcher : NSObject <HCMatcher>
-@end
@@ -1,88 +0,0 @@
-//
-// OCHamcrest - HCBoxNumber.h
-// Copyright 2012 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 <typename T>
-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
@@ -1,21 +0,0 @@
-//
-// OCHamcrest - HCCollectMatchers.h
-// Copyright 2012 hamcrest.org. See LICENSE.txt
-//
-// Created by: Jon Reid
-//
-
-#import <Foundation/Foundation.h>
-#import <objc/objc-api.h>
-
-#import <stdarg.h>
-
-@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);
@@ -1,42 +0,0 @@
-//
-// OCHamcrest - HCConformsToProtocol.h
-// Copyright 2012 hamcrest.org. See LICENSE.txt
-//
-// Created by: Todd Farrell
-//
-
-#import <OCHamcrest/HCBaseMatcher.h>
-
-
-@interface HCConformsToProtocol : HCBaseMatcher
-{
- Protocol *theProtocol;
-}
-
-+ (id)conformsToProtocol:(Protocol *)protocol;
-- (id)initWithProtocol:(Protocol *)protocol;
-
-@end
-
-
-OBJC_EXPORT id<HCMatcher> HC_conformsToProtocol(Protocol *aProtocol);
-
-/**
- conformsToProtocol(aProtocol) -
- Matches if object conforms to a given protocol.
-
- @param aProtocol The protocol to compare against as the expected protocol.
-
- This matcher checks whether the evaluated object conforms to @a aProtocol.
-
- Example:
- @li @ref conformsToProtocol(\@protocol(NSObject))
-
- (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym
- @c HC_conformsToProtocol instead.)
-
- @ingroup object_matchers
- */
-#ifdef HC_SHORTHAND
- #define conformsToProtocol HC_conformsToProtocol
-#endif
Oops, something went wrong.

0 comments on commit 816aa92

Please sign in to comment.