Commit Graph

156 Commits

Author SHA1 Message Date
Matyáš Kříž dcf7358b19 WIP: Initial SwiftSyntax support. 2023-05-04 23:33:11 +02:00
David Steinacher f0f77397a5 add missing () when closure is an autoclosure 2023-02-12 16:30:21 +01:00
Matyáš Kříž 835c61246a Completely convert project to Tuist. 2023-01-07 18:58:48 +01:00
Farid Mammadov cbb5f5d416 Add support async/await in Protocol with Associated Type. 2023-01-03 16:46:43 +01:00
sk409 8d7b893bc2 Support NSObjectProtocol inheritance for protocol. 2022-09-19 17:39:55 +02:00
sk409 5a9301b97c Remove closure argument name. 2022-09-01 17:00:52 +02:00
Antonio J Pallares 55149ddee9 test: add tests with `OCMQuantifier`s 2022-08-16 16:49:01 +02:00
Yoji Ueda 0ff327d675 Remove unnecessary await expression in MockTemplate. 2022-08-16 16:42:21 +02:00
Tyler Thompson 5d52a7f75b Add support for nested classes. 2022-06-17 19:06:07 +02:00
sk409 3f6e9a84e8 Add support for multiline method signatures. 2022-06-17 18:23:07 +02:00
Roland Kakonyi a3c4ad13f7 Add support for unavailable platforms from available attributes. 2022-06-17 17:49:03 +02:00
Ailton Vieira Pinto Filho 53b8ff4428 Add support for concurrency mocking. 2022-01-18 19:37:21 +01:00
Matyáš Kříž 0259cd8730 Remove unnecessary whitespace in tests. 2021-07-22 16:24:45 +02:00
Andreas Ganske 798ea3fcdc Make stubbing more thread safe 2021-05-19 14:37:43 +02:00
Mike Gray f6429bb757 Add tests for verify generic return 2020-07-31 13:14:32 -04:00
Matyáš Kříž a0a7c82526 Sidestep `SourceKitten`'s off-by-one bug when parsing generic parameter inheritance. 2020-06-28 16:45:16 +02:00
Matyáš Kříž e2bb73412f Fix incorrect `where` clause parsing. 2020-06-28 16:44:48 +02:00
Matyáš Kříž b3bec5f8ff Clean up project. 2020-06-28 16:43:22 +02:00
Matyáš Kříž db48119479 Add generic closure test. 2020-06-18 19:41:47 +02:00
Matyáš Kříž 5afae85bbe Integrate `tuist`. 2020-04-01 15:07:38 +02:00
Matyáš Kříž b1c7c77dbb Fix type equality check to rule out whitespace inconsistencies. 2020-04-01 15:07:13 +02:00
Matyáš Kříž 24f743f950 Add `then` with `return` to the tests.
Add missing space.
2020-03-09 19:34:07 +01:00
nisin 826e5c4427 Compare on arrays containing values (OCMock test) 2020-03-09 19:34:07 +01:00
nisin 972f0594f7 add test Sequence Type result by OCMock extention 2020-03-09 19:34:07 +01:00
Rodrigo F. Fernandes 60525cc68f Adds tvOS target 2020-02-20 21:06:40 +01:00
Tadeas Kriz 619d8c73dd Adjust accessibility to match enclosing container. 2020-02-20 21:05:29 +01:00
Matyáš Kříž cc5afef8f7 Add test cases for closures. 2019-11-06 13:42:04 +01:00
Matyáš Kříž 44dedd3859 Improve code stylistically. 2019-11-05 16:00:49 +01:00
Pubbus 808a19f920 Code cleaning 2019-11-05 16:00:49 +01:00
Pubbus ff4c627d42 Add tests for closure return type extraction. 2019-11-05 16:00:49 +01:00
Matyáš Kříž 308cb86548 Finalize ObjC mocking. 2019-09-11 11:43:41 +02:00
Matyáš Kříž 30c664f744 Add a test with Swift class with dynamic method. 2019-09-11 11:43:41 +02:00
Matyáš Kříž d2f83928ba Add possibility to use `objectiveAny` with String.
by @TadeasKriz
2019-09-11 11:43:41 +02:00
Matyáš Kříž 3a42272199 Add initial ObjC mocking functionality utilizing OCMock. 2019-09-11 11:43:41 +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říž c5f6d0cd25 Add verifications for the concrete value matching test. 2019-09-06 10:38:34 +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říž 9947868805 Add container accessibility to appropriate places in templates. 2019-07-30 16:18:39 +02:00
Matyáš Kříž 62befddc20 Add tests for type guesser verification. 2019-07-22 13:10:48 +02:00
Matyáš Kříž 39257d9cc8 Add initial implementation of a type guesser. 2019-07-22 13:10:48 +02:00
Matyáš Kříž e405dbfe0a Copy protocol's accessibility to the implementation caller class. 2019-07-22 13:09:53 +02:00
Matyáš Kříž 86432954a9 Revert accessibility inheritance. 2019-07-22 13:09:53 +02:00
Matyáš Kříž b5c472b4a2 Remove forgotten return value. 2019-05-29 20:16:56 +02:00
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říž d69bcd5bdd Fix a bug concerning empty public name methods with no private ones. 2019-05-26 15:36:12 +02:00
Matyáš Kříž e16fb3a383 Add support for optional read only properties. 2019-05-16 18:51:03 +02:00
Dotor, Dr. Alexander f9e035475c Add tests for stubbing optional read only properties. 2019-05-16 18:51:03 +02:00
Matyáš Kříž b4c2bbe5b7 Fix incorrect test and simplify two ternary operators. 2019-05-15 17:48:16 +02:00