Commit Graph

30 Commits

Author SHA1 Message Date
Tadeas Kriz 4b403883ea Fix not being able to put Optional into functions accepting Optionals. 2019-03-20 19:17:55 +01:00
Matyáš Kříž 417075a94a WIP allow non-optional values to be passed as matchers for optionals. 2019-03-19 12:58:21 +01:00
Matyáš Kříž ba434e6e91 Add support for inout method parameters. 2019-03-12 17:44:32 +01:00
Matyáš Kříž 231216b588 Code cleaning. 2018-11-05 15:12:00 +01:00
Tadeas Kriz 12f9bac435 Fix warnings. 2018-10-09 13:52:23 +02:00
Matyáš Kříž bee9b97bf0 Add a debug flag that generates general info above methods when used. 2018-04-06 19:38:00 +02:00
Tadeas Kriz 8e49eefd4d Remove TemplateEncoder and change Spy behavior. 2017-11-14 22:24:18 +01:00
KaosDG 75be1e38d7 Adjusted the logic for determining if a closure is implicitly escaping (optional closure)
Adjusted the nested Closure logic so that we can pass whether the parent method `throws`
Adjusted the Mock.swift.stencil to account for the above, and some cleanup
Added a few more test cases in TestedSubclass.swift for closures that throw, etc.
2017-10-02 19:40:03 +02:00
KaosDG 85da0d9fb1 added open/close nested closure filters for the withoutActuallyEscaping(…) portion.
cleaned up the mock stencil a little.
added a sample multi-closure method
2017-10-02 19:40:03 +02:00
Tadeas Kriz fe13945a78 Remove old generator methods. 2017-02-24 18:37:50 +01:00
Tadeas Kriz 61ab7df415 Fix issues from merge. 2017-02-24 18:08:58 +01:00
Tadeas Kriz 35d18f6eb5 Add stencil templates to replace Generator. 2017-02-24 17:53:17 +01:00
Valerij Gerasimenko 78330f15dc rename manager to cuckoo_manager 2017-02-24 17:49:45 +01:00
Valerij Gerasimenko ad4cc004db skip deinit generation. update optional protocol method generation 2017-02-23 23:22:47 +01:00
Louis van der Stam 463ed7a6c1 Generate empty init functions when generating a mock from a protocol. 2017-02-23 15:53:36 +01:00
Miguel Bassila c0063f1a69 Update minAccessibility to return Open when val1 or val2 is Open 2017-02-14 16:35:09 +01:00
Louis van der Stam b0661e94b2 Fixed the access modifier and added a public class with public members… 2017-01-16 16:49:23 +01:00
Louis van der Stam 25a6a217b0 Added some to the tested class and inspected the generated code 2017-01-13 15:48:27 +01:00
Filip Dolník 5094d166d8 Fix support of closures and unwrapped optionals. 2016-12-18 21:31:41 +01:00
Filip Dolník 36dc88e877 Fix PR issues. 2016-09-23 17:47:08 +02:00
Filip Dolník a4dfb0e301 Remove auto generated inits. 2016-09-22 10:01:21 +02:00
Filip Dolník c4a7e16d69 Add stub objects. 2016-09-22 10:01:21 +02:00
Filip Dolník b3f6d78c8d Add support for Swift 3. 2016-09-22 10:00:38 +02:00
Filip Dolník f684533f03 Convert code to Swift 3. 2016-09-22 10:00:38 +02:00
Tadeas Kriz 2c545b932b Add generation of no-impl stubs. 2016-09-20 22:45:29 +02:00
Filip Dolník 2ea2325157 Add spy method to Mock protocol. 2016-09-07 14:55:33 +02:00
Filip Dolník 4a2a72fac9 Fix spies. 2016-09-07 14:37:18 +02:00
Filip Dolník c7dd503669 Fix #54. 2016-09-07 12:57:45 +02:00
Tadeas Kriz d8b65f542f Fix #55. 2016-08-31 15:54:44 +02:00
Filip Dolník aeb465339a Merge with CuckooGenerator. 2016-08-26 12:14:35 +02:00