Wito Chandra
e0a1b1f6fe
Fix CI-status badge
2018-03-23 17:41:42 +01:00
Ralph Schön
9287e60611
Updated readme run script
...
This run script should work for the Xcode default structur to get started
2018-03-23 17:40:00 +01:00
Matyáš Kříž
26ba750b2b
Make the bash script safe to use with names that contain spaces.
2018-03-19 13:40:26 +01:00
Gyuri Grell
f5093adcae
Fixes a regression introduced in 96ebbbf
...
* There was an attempt to make the file order deterministic, but the sorting that was added only worked if all mocks were generated in a single file. If generated to a path, which creates a file per mock, the filenames and the file contents did not match. Solution was to sort the set of paths passed in as options instead, moving the sorting a little earlier than before.
2018-02-21 10:08:02 +01:00
Grant Sheldon
b086f6e1f0
Fix sameInstance(as:) ambiguous reference compile-time error.
2018-01-28 20:02:55 -08:00
Arjan Duijzer
614dfaa515
Added test-cases for excluding Classes and Protocols from Mock stub generation
2018-01-02 11:21:21 +01: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
Arjan Duijzer
f0f31bd0e9
Adding support for overloaded method names
2017-12-29 10:55:11 +01:00
Tadeas Kriz
0f52ceef7e
Add a few more tests.
2017-11-15 00:16:23 +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
f3190d8bcb
Don't test iOS for now.
2017-11-14 17:26:48 +01:00
Tadeas Kriz
d179601d9c
Disable signing.
2017-11-14 17:13:24 +01:00
Tadeas Kriz
0ecde3fdcd
Remove workspace and improve project setup.
2017-11-14 17:03:12 +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
Ian Keen
96ebbbf9ca
Fix nondeterministic handling of input files
2017-11-09 11:23:02 +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
Tadeas Kriz
01ee3fa05c
Bump version.
2017-10-05 21:19:12 +02: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
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
KaosDG
1bdc14698c
Updating .travis.yml for XCode 9
2017-10-02 19:40:03 +02: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
d9b2614d2b
Update template.
2017-04-27 16:26:52 +02:00
Tadeas Kriz
cfe0b0189d
Fix #103 .
2017-04-27 15:45:33 +02:00
Tadeas Kriz
12e8cdcc8b
Fix #118 .
2017-04-27 15:36:26 +02:00
Tadeas Kriz
9c09ea19d8
Fix crash when using non-ASCII characters.
2017-04-27 14:46:58 +02:00
Arjan Duijzer
8d09211853
Add option to exclude classes and/or protocols from mock generation
2017-04-25 23:13:04 +02:00
Arjan Duijzer
e2e7928018
Typo oprional -> optional
2017-04-25 22:46:01 +02:00
Tadeas Kriz
dc5610dca9
Bump version.
2017-04-25 18:06:26 +02:00
Tadeas Kriz
25c061a489
Fix build timeouting.
2017-04-25 18:02:57 +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
a11123f502
Fix build issue where `.build` was deleted on `pod install.
2017-04-17 19:54:44 +02:00
Tadeas Kriz
80245e024e
Rename `equalTo` to `sameInstance`.
2017-04-13 16:10:45 +02:00
Tadeas Kriz
7922866b4a
Update travis env.
2017-04-02 19:03:18 +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
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
Tadeas Kriz
c24f2edd60
Switch Generator to Swift Package Manager.
2017-02-24 17:52:11 +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
Michael Lee "Goliath" Sewell
0b661068b3
Fix secondary Slack link.
...
c8f2d94d98
missed a spot.
2017-02-23 15:52:51 +01:00
Arjan Duijzer
7328aedcfd
.flatMap { $0 } hunt
2017-02-23 15:39:53 +01:00