Commit Graph

114 Commits

Author SHA1 Message Date
Matyáš Kříž 7eb5517b27 After-rebase fix. 2019-09-11 15:54:13 +02:00
Matyáš Kříž ba7f7049f4 Add documentation to ObjC matchers and functions. 2019-09-11 11:47:11 +02:00
Matyáš Kříž d48f2ab5cc Add swiftdoc for convenience matchers as well as some info to README.md. 2019-09-10 17:44:23 +02:00
Matyáš Kříž 0d786501bc Add most common matchers for sequences and dictionaries. 2019-09-05 18:22:12 +02:00
Matyáš Kříž b0c66e7afa Add initial convenience matchers for `Array`, `Dictionary`, and `Set` types. 2019-09-04 17:25:36 +02:00
Matyáš Kříž 922889ca32 Remove redundant optional classes. 2019-05-16 19:10:40 +02:00
Matyáš Kříž e16fb3a383 Add support for optional read only properties. 2019-05-16 18:51:03 +02:00
Matyáš Kříž d0182512e0 Fix `where` that doesn't work in Swift 4. 2019-05-16 13:39:29 +02:00
Matyáš Kříž 0c3333e8d7 Add a future API improvement (it's ambiguous at the moment). 2019-05-16 13:32:38 +02:00
Matyáš Kříž 449b71e3db Fix `any()` not working anymore by itself with optional parameters in functions. 2019-05-15 17:44:34 +02:00
Matyáš Kříž 1cc26c2ee1 Add `Dictionary` matching. 2019-05-14 18:44:44 +02:00
Matyáš Kříž 083a6b5c17 Add support for rethrowing functions. 2019-05-14 17:39:15 +02:00
Matyáš Kříž bf8033643c Address PR comments. 2019-05-14 14:07:54 +02:00
Matyáš Kříž 803bd38b58 Add throwing and rethrowing stub functionality. 2019-05-14 14:07:54 +02:00
Matyáš Kříž ffc33ba6db Make closures with no parameters work. 2019-05-14 14:07:54 +02:00
Matyáš Kříž 7cd237c212 Add possibility to mock functions with closures containing up to 7 parameters. 2019-05-14 14:07:54 +02:00
Matyáš Kříž 58deea7542 Fix optional closure matching. 2019-05-14 14:07:54 +02:00
Tadeas Kriz 93a42ccacc Fix not being able to put Optional into functions accepting Optionals. 2019-05-14 14:04:47 +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
Matyáš Kříž 6affe4029b Add support for inout method parameters. 2019-05-14 14:04:47 +02:00
Dylan Maryk 6c5501792b Fix warnings when using Swift 5.0 2019-05-06 09:45:50 +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 c6baeda34c Add first draft of a new Mock initialization DSL. 2018-07-06 15:39:08 +02:00
Tadeas Kriz ae465a4689 Add enableDefaultImplementation to protocol Mock. 2018-06-05 16:42:41 +02:00
Tadeas Kriz 59f2240831 Reintroduce support for pre-0.11.0 Cuckoo spies. 2018-06-05 16:35:51 +02:00
Grant Sheldon b086f6e1f0 Fix sameInstance(as:) ambiguous reference compile-time error. 2018-01-28 20:02:55 -08:00
Arjan Duijzer eaab7db26d Added ParameterMatcher for (optional) throwing closures and optionals, e.g. anyThrowingClosure(), anyOptionalThrowingClosure and null()
Added Acceptance test for inheritance stubbing and verifying
2017-12-29 14:14:46 +01:00
Tadeas Kriz b95d48ecf7 Change `get` in property verification to method instead of a property. 2017-11-14 22:55:23 +01:00
Tadeas Kriz 8e49eefd4d Remove TemplateEncoder and change Spy behavior. 2017-11-14 22:24:18 +01:00
Tadeas Kriz eb1992abdb Add Array and Set equalTo functions when Element is Equatable. 2017-11-09 19:55:52 +01:00
Tadeas Kriz 3adcde2fc0 Fix warnings. 2017-11-09 16:05:28 +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
Tadeas Kriz cfe0b0189d Fix #103. 2017-04-27 15:45:33 +02:00
Tadeas Kriz 9c09ea19d8 Fix crash when using non-ASCII characters. 2017-04-27 14:46:58 +02:00
Tadeas Kriz dc5610dca9 Bump version. 2017-04-25 18:06:26 +02:00
Christian Oberdörfer 0a9a8a3b9d Fixed directory names for case sensitive file systems 2017-04-25 18:02:39 +02:00
Tadeas Kriz 129ba1b9d5 Bump version. 2017-04-19 23:04:22 +02:00
Tadeas Kriz 80245e024e Rename `equalTo` to `sameInstance`. 2017-04-13 16:10:45 +02:00
Tadeas Kriz 61ab7df415 Fix issues from merge. 2017-02-24 18:08:58 +01:00
Valerij Gerasimenko 78330f15dc rename manager to cuckoo_manager 2017-02-24 17:49:45 +01:00
Arjan Duijzer 4c86636835 Added support for mocking Inherited types 2017-02-23 15:39:53 +01:00
Zarek Parker 81009add6c Throw exception instead of fatalError when possible 2017-01-19 10:28:24 +01:00
Tadeas Kriz eb569cda77 Bump version and fill changelog. 2017-01-16 17:03:08 +01:00
Tadeas Kriz f966c7ac1b Bump version. 2016-12-20 12:19:16 +01:00
Tadeas Kriz 4a1dbbd97c Bump version to 0.8.1. 2016-12-08 15:55:33 +01:00