Matyáš Kříž
b3fd0dacfd
Some more cleaning along with one more compile test case.
2019-05-29 20:06:10 +02:00
Matyáš Kříž
fe3af6709e
Clean up and fix a bug where adding a private name to a function made it generate twice and fail the compilation.
2019-05-29 19:44:49 +02:00
Matyáš Kříž
bf8033643c
Address PR comments.
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říž
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
Matyáš Kříž
98559606f8
Generate public variables and functions in public classes.
2019-05-14 14:04:47 +02:00
Arjan Duijzer
f0f31bd0e9
Adding support for overloaded method names
2017-12-29 10:55:11 +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
KaosDG
4ca15ff61d
working on the generated mocks.
...
Closures are a problem :(
2017-10-02 19:40:03 +02:00
Tadeas Kriz
35d18f6eb5
Add stencil templates to replace Generator.
2017-02-24 17:53:17 +01:00
Arjan Duijzer
4c86636835
Added support for mocking Inherited types
2017-02-23 15:39:53 +01: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
Filip Dolník
aeb465339a
Merge with CuckooGenerator.
2016-08-26 12:14:35 +02:00