Commit Graph

30 Commits

Author SHA1 Message Date
Matyáš Kříž 083a6b5c17 Add support for rethrowing functions. 2019-05-14 17:39:15 +02:00
Matyáš Kříž edb170175e WIP allow non-optional values to be passed as matchers for optionals. 2019-05-14 14:04:47 +02:00
Dylan Maryk 773bc177d4 Fix errors when using Swift 5.0 2019-05-06 09:45:41 +02:00
Tadeas Kriz fa8231105a Fix escaping closure (crashing in Xcode 10). 2018-10-09 13:52:37 +02:00
Tadeas Kriz 12f9bac435 Fix warnings. 2018-10-09 13:52:23 +02:00
Tadeas Kriz 59f2240831 Reintroduce support for pre-0.11.0 Cuckoo spies. 2018-06-05 16:35:51 +02:00
Tadeas Kriz 8e49eefd4d Remove TemplateEncoder and change Spy behavior. 2017-11-14 22:24:18 +01:00
Tadeas Kriz 2bf60e5dc1 Double the maximum of parameters for `call` and `callThrows`. 2017-10-17 15:25:11 +02:00
Tadeas Kriz 52dcdbf17f Fix #151. 2017-10-17 11:55:16 +02:00
KaosDG dec5e08c1e fixes some deprecation warnings, and another attempt at writing good closures. 2017-10-02 19:40:03 +02:00
KaosDG 4ca15ff61d working on the generated mocks.
Closures are a problem :(
2017-10-02 19:40:03 +02:00
Zarek Parker 81009add6c Throw exception instead of fatalError when possible 2017-01-19 10:28:24 +01:00
Tadeas Kriz f45238f485 Add new DSL methods to workaround Swift 3’s removal of parameter splat. 2016-11-09 12:08:01 +01:00
Filip Dolník f684533f03 Convert code to Swift 3. 2016-09-22 10:00:38 +02:00
Filip Dolník 39b233b766 Refactor fail description. 2016-07-07 18:48:49 +02:00
Filip Dolník 0855fa6c26 Update comments. 2016-07-05 21:44:41 +02:00
Filip Dolník 05cb848704 Refactor tests. 2016-07-05 18:29:10 +02:00
Filip Dolník 0b941cb609 Refactor Matchers. 2016-07-04 16:22:53 +02:00
Filip Dolník 4c1e30e90d Refactor Verification. 2016-07-04 14:02:54 +02:00
Filip Dolník c060de73c6 Refactor Verification. 2016-07-04 08:28:07 +02:00
Filip Dolník e22fc7d283 Fix bug with calling unstubbed methods. 2016-06-29 15:22:45 +02:00
Filip Dolník 11f714de15 Add verifyNoMoreInteractions. 2016-06-27 17:51:49 +02:00
Filip Dolník a137c5127b Refactor stubbing. 2016-06-27 10:23:49 +02:00
Filip Dolník 1910a3bbfe Add on going stubbing. 2016-06-27 10:22:04 +02:00
Filip Dolník 020b92c9ff Add thenCallRealImplementation. 2016-06-27 10:20:28 +02:00
Filip Dolník c310348d28 Add functions to reset mocks. 2016-06-26 09:21:46 +02:00
Tadeas Kriz 50ff843740 Revert Descriptions to before "spring-cleanup" PR. 2016-06-07 20:11:10 +02:00
Filip Dolník fa9175c604 Fix infinite loop caused by Description. 2016-06-07 17:51:43 +02:00
Filip Dolník 132d9cd7f3 Refactoring 2. 2016-05-30 11:49:55 +02:00
Filip Dolník c9cfe955eb Refactoring. 2016-05-29 17:25:48 +02:00