Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 5, 2014
  1. @sharplet
  2. @sharplet
  3. @sharplet
Commits on May 4, 2014
  1. @sharplet
  2. @sharplet
Commits on May 3, 2014
  1. @sharplet
  2. @sharplet
Commits on Apr 27, 2014
  1. @modocache

    KWValue support for stdbool.

    modocache authored
    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.
Commits on Mar 25, 2014
  1. @chrisdevereux
Commits on Mar 23, 2014
  1. @chrisdevereux

    whitespace

    chrisdevereux authored
  2. @chrisdevereux
  3. @chrisdevereux
Commits on Mar 18, 2014
  1. @supermarin

    Merge pull request #481 from akashivskyy/unresolved-verifier

    supermarin authored
    Do not throw exceptions when making expectations on a nil subject
Commits on Mar 15, 2014
  1. @akashivskyy
Commits on Mar 14, 2014
  1. @modocache
Commits on Mar 11, 2014
  1. @modocache

    Revert pull request #427.

    modocache authored
    Reverts c811d87, 090a4ab, 253322a, and e86cc03, part of pull
    request #427, in favor of resolving issue #473.
    
    This removes the `CONFIG_START` and `CONFIG_END` macros in the hopes of
    adding them again, after further testing, at a later date.
Commits on Mar 5, 2014
  1. Use NSTimeInterval for Async Verifiers so that timeouts in [0.1,1.0) …

    Ian Terrell authored
    …will not get casted to 0.
Commits on Mar 2, 2014
  1. @jessedc
Commits on Mar 1, 2014
  1. @supermarin
Commits on Feb 28, 2014
  1. @supermarin

    converted KWStub to ARC

    supermarin authored
Commits on Feb 27, 2014
  1. @supermarin
Commits on Feb 26, 2014
  1. @supermarin

    [broken] Replaced NSMutableDictionaries with NSMapTables

    supermarin authored
    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.
Commits on Feb 23, 2014
  1. @lukeredpath @supermarin
Commits on Feb 19, 2014
  1. @modocache

    Merge branch 'master' into deprecation

    modocache authored
    Conflicts:
    	Kiwi.xcodeproj/project.pbxproj
Commits on Feb 15, 2014
  1. @paulz

    use series of matchers for notification to be posted to match notific…

    paulz authored
    …ation with object or user info or both
  2. @paulz
Commits on Feb 12, 2014
  1. @supermarin

    "Merge pull request #443 from modocache/multiple-custom-matchers\n\nA…

    supermarin authored
    …llow multiple `registerMatchers` in one context."
    
    Conflicts:
    	Kiwi.xcodeproj/project.pbxproj
  2. @sgleadow
  3. @sgleadow
  4. @sgleadow
Commits on Feb 11, 2014
  1. @modocache

    Allow multiple `registerMatchers` in one context.

    modocache authored
    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).
Commits on Feb 9, 2014
  1. @modocache

    Merge pull request #439 from NachoSoto/master

    modocache authored
    Changed NSObject categories to protocols conformed by the categories
Commits on Jan 31, 2014
  1. @NachoSoto

    Changed NSObject categories to protocols conformed by the categories

    NachoSoto authored
    This allows mocked protocols to also autocomplete these methods by
    declaring them with type id<YourProtocol, KiwiStubAdditions>.
Commits on Dec 16, 2013
  1. @sharplet

    Define KW_TEST_CASE and KW_TEST_SUITE macros

    sharplet authored
    Removes duplication of `#ifdef XCT_EXPORT ... #endif` directives by
    instead providing macros that expand to the appropriate class name
    (e.g., `SenTestSuite` vs. `XCTestSuite`, `SenTestCase` vs.
    `XCTestCase`).
  2. @sharplet

    Add support for XCTestSuite in suite configuration setup/teardown

    sharplet authored
    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.
Something went wrong with that request. Please try again.