Commit Graph

35 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říž 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říž 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
Dylan Maryk 6c5501792b Fix warnings when using Swift 5.0 2019-05-06 09:45:50 +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 eb1992abdb Add Array and Set equalTo functions when Element is Equatable. 2017-11-09 19:55:52 +01:00
KaosDG 4ca15ff61d working on the generated mocks.
Closures are a problem :(
2017-10-02 19:40:03 +02:00
Tadeas Kriz 80245e024e Rename `equalTo` to `sameInstance`. 2017-04-13 16:10:45 +02:00
Filip Dolník 36dc88e877 Fix PR issues. 2016-09-23 17:47:08 +02:00
Filip Dolník 01988d3ca6 Add Matchable extensions for int types. 2016-09-22 10:01:21 +02: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 9a06f24f71 Refactor Description. 2016-07-04 09:33:57 +02:00
Filip Dolník c060de73c6 Refactor Verification. 2016-07-04 08:28:07 +02:00
Filip Dolník 7b0889cca7 Fix merge error. 2016-06-14 11:20:30 +02:00
Filip Dolník 482e598482 Add support for optional types. 2016-06-12 10:18:06 +02:00
Filip Dolník 7d9ca5e0c3 Add anyNillableClosure matcher. 2016-06-12 10:18:06 +02:00
Tadeas Kriz 598be22967 Fix description texts from last commit. 2016-06-07 20:57:15 +02:00
Tadeas Kriz c72e91b311 Add some tests for descriptions. 2016-06-07 20:51:35 +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 d12a988947 Fix file structure. 2016-06-06 14:10:50 +02:00