…of the object itself
KWValue could only wrap Objective-C BOOL type, but lacked support for stdbool. As a result, `-[KWValue boolValue]` would raise an exception when invoked with a wrapped `bool` value. Add support for `bool` wrapping. - Rename `KWObjCTypeIsBool` to `KWObjCTypeIsBoolean`, and have it return `YES` for both `BOOL` and `bool`. - Add `NSNumber` conversion method for `bool`. - Add tests. Fixes issue #506.
Fixes issue #479. See Apple's 64-bit Transition Guide for details: https://developer.apple.com/library/ios/documentation/General/Conceptual/CocoaTouch64BitGuide/ConvertingYourAppto64-Bit/ConvertingYourAppto64-Bit.html
…will not get casted to 0.
We've used to wrap objects into non-retained NSValues, and put them into NSDictionary. We've used to override -copyWithZone with `return [self retain]` to allow using objects as keys and still being able to observe them.
…ation with object or user info or both
The old implementation appeared to mimic that of `beforeEach` and `afterEach`--it only allowed one per context. However, there is no need for such a restriction when registering custom matchers. This commit allows any number of matchers to be registered in a single context. Other changes: - Remove obsolete forward class declarations from KWExample header. - Delete commented out code from KWMatcherFactory. - Consolidate duplicated code in KWExample, KWContext in internal methods. - Add missing variable name from block typedef (only used in `defineMatcher` macro).
This allows mocked protocols to also autocomplete these methods by declaring them with type id<YourProtocol, KiwiStubAdditions>.
Extracts `+[SenTestSuite patchTestSuiteForBundlePathIMP]` into its own category defined in TestSuiteConfigurationAdditions.h, extending either `SenTestSuite` or `XCTestSuite`, depending on whether Kiwi is compiled with the `XCT_EXPORT` macro.