Emiel Verlinden
a19958b964
Add option to prefix classnames of mocks and stubs.
2020-06-28 16:45:33 +02:00
Matyáš Kříž
44dedd3859
Improve code stylistically.
2019-11-05 16:00:49 +01:00
Matyáš Kříž
39257d9cc8
Add initial implementation of a type guesser.
2019-07-22 13:10:48 +02:00
Matyáš Kříž
86432954a9
Revert accessibility inheritance.
2019-07-22 13:09:53 +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říž
d69bcd5bdd
Fix a bug concerning empty public name methods with no private ones.
2019-05-26 15:36:12 +02:00
Matyáš Kříž
505da8310f
Fix known problems with return type containing “w”.
2019-05-14 14:07:54 +02:00
Matyáš Kříž
ae4d42b8d5
After-rebase fixes.
2019-05-14 14:07:54 +02:00
Matyáš Kříž
7d07b486ac
Finish generic where clause functionality.
2019-05-14 14:07:54 +02:00
Matyáš Kříž
79c7961e68
Add support for inheritance generic parameters in methods.
2019-05-14 14:07:54 +02:00
Matyáš Kříž
f2b492e60e
Add generic protocol parsing and generation.
...
It doesn’t compile yet, though.
2019-05-14 14:07:54 +02:00
Matyáš Kříž
b739903983
Add generic class support.
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
Matyáš Kříž
170f1b4004
Ignore everything final.
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
Matyáš Kříž
1cd91fb1f4
Finish subimports.
2019-01-24 11:09:03 +01:00
Matyáš Kříž
4f24586e9c
Make regular expressions easier to modify and fix missing backslash.
2019-01-24 11:09:03 +01:00
Matyáš Kříž
312257727f
Add support for importing individual types.
2019-01-24 11:09:03 +01:00
Matyáš Kříž
233a04fda5
Add `debugMode` capability to `Tokenizer` to output less information in debug mode.
2019-01-24 11:08:16 +01:00
Matyáš Kříž
f9f947fc5b
Ignore classes marked as `final`.
2019-01-24 11:08:16 +01:00
Matyáš Kříž
aa0b7ec77a
Use older string subscripting to compile on Xcode 9.
2019-01-24 11:08:16 +01:00
Matyáš Kříž
04c9db0400
Generate attributes for methods and variables.
2019-01-24 11:08:16 +01:00
Matyáš Kříž
5867e24421
Add basic attribute generation.
2019-01-24 11:07:08 +01:00
Matyáš Kříž
acf338e4a1
Fix two bugs introduced by code cleaning.
2018-11-09 13:36:14 +01:00
Matyáš Kříž
5c3c305216
Coalesce to `false` if there are no attributes.
2018-11-05 17:29:05 +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
Marek Slavik
0fc242dcec
Make project compilable.
2018-09-27 15:24:52 +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
KaosDG
725e30ef3f
Updating Cuckoo for Swift 4.0
...
- Created new swift 4 Package, and updated to latest API.
- Updated package dependencies. Note: FileKit points to /develop branch, this should be updated once a Sweift 4 version is released.
- Required code changes to build in Swift-4.0
2017-10-02 19:40:03 +02:00
Tadeas Kriz
9c09ea19d8
Fix crash when using non-ASCII characters.
2017-04-27 14:46:58 +02:00
Arjan Duijzer
e2e7928018
Typo oprional -> optional
2017-04-25 22:46:01 +02:00
Tadeas Kriz
2f90d0276a
Add to compilable and green test state.
2017-04-02 18:03:31 +02:00
Tadeas Kriz
b035408a6b
WIP: Add objc support.
2017-02-24 20:07:52 +01:00
Tadeas Kriz
c24f2edd60
Switch Generator to Swift Package Manager.
2017-02-24 17:52:11 +01:00
Valerij Gerasimenko
ad4cc004db
skip deinit generation. update optional protocol method generation
2017-02-23 23:22:47 +01:00
Arjan Duijzer
93a2f7d831
var inheritedTypes: [InheritanceDeclaration] { get }
2017-02-23 15:39:53 +01:00
Arjan Duijzer
4c86636835
Added support for mocking Inherited types
2017-02-23 15:39:53 +01:00
Louis van der Stam
2875ec43bd
Changed after review.
2017-01-16 15:46:05 +01:00
Louis van der Stam
4448feeebb
Added function with constructed default values. Don’t know how to properly test this.
2017-01-16 15:46:05 +01:00
Filip Dolník
f3064ae797
Improve error handling.
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
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