23 Commits
Author SHA1 Message Date
Vladimir Dolzhenko bab54c6d29 [kotlin] Improve test coverage of collected FUS quickfixes data
#KTIJ-389

GitOrigin-RevId: c8554b77a988a77484d1dada64353345b7a1fa35
2023-07-20 05:59:17 +00:00
Mikhail Glukhikh 9af6020c7c [Kotlin] Fix or delete some tests after old inference removal
GitOrigin-RevId: 7ef8ad07baf929bf652cb8b8af8e1d2afdb15f81
2022-08-02 09:31:42 +00:00
Victor Petukhov 79fcfa574e [Kotlin] Remove explicit configuring of new inference in tests
GitOrigin-RevId: 9f49f700c17c7572a09f281464da0509f53e5458
2022-08-02 09:31:13 +00:00
Stanislav Erokhin 579c49dd6e [kt-212-* only] Removed couple of failing tests in QuickFixTestGenerated
QuickFixTestGenerated$ObsoleteKotlinJsPackages.testKotlinDomAndBrowserImport -- fixed in 213 by KTIJ-19041
QuickFixTestGenerated$CreateFromUsage$CreateFunction$Invoke.testLambdaArgument -- well, KTIJ-1262 created already

#KTIJ-1262 Open

GitOrigin-RevId: 2c76463d7d15b9f84a343dcc91bb08f33992962c
2022-01-22 11:10:02 +00:00
Ivan Kylchik 156ff92845 [kotlin:testdata] Replace all occurrences of WITH_RUNTIME with WITH_STDLIB
We are going to deprecate `WITH_RUNTIME` directive in kotlin test
infrastructure. The main reason behind this change is that
`WITH_STDLIB` directive better describes its meaning,
specifically it will add kotlin stdlib to test's classpath.

GitOrigin-RevId: 73a702b404ed63e728ad85fa750d5d87ce5bc7f4
2021-11-19 19:27:17 +00:00
Toshiaki Kameyama 5c3fc7a05e Remove comments from function/property implementation template
#KT-18539 Fixed

GitOrigin-RevId: cfe65b4d353713ed7ea4e30d46ffac265f243335
2019-11-13 02:37:25 +03:00
Mikhail Zarechenskiy 65d2728b7e [IDE-NI-MIGRATE] Migrate QuickFix tests for new inference
GitOrigin-RevId: 26cfb1a014305b8f5874454b92f5f8860f621945
2019-05-06 13:59:24 +03:00
Alexey Sedunov d3875031d0 Create from Usage: Add test for KT-14500
GitOrigin-RevId: 0780ef0fb82e632feb0d5b2c74c1111ba2a4dfc1
2016-11-07 20:03:37 +03:00
Alexey Sedunov e8ad99013c Create from Usage: Make extension functions/properties 'private' by default
#KT-11799 Fixed

GitOrigin-RevId: 50bdd9869850d51b02c4e656ae831457422da4c6
2016-08-18 19:15:37 +03:00
Alexey Sedunov 92ffdc8f3c Create from Usage: Show target class name in the text of "Create member" quick fix
(cherry picked from commit a51d3fc)

GitOrigin-RevId: 7470bb83faad9230f79fffe9c617d716a7a2eac8
2016-07-20 15:39:19 +03:00
Alexey Sedunov 717b1772d2 Create from Usage: Show receiver type in the text of "Create extension" quick fix
(cherry picked from commit c0d5df1)

GitOrigin-RevId: 1c8d03e69bc1a0d0d40043dd55a94edaf240ab17
2016-07-20 15:39:13 +03:00
Dmitry Jemerov 3fef05c014 update testdata for https://github.com/JetBrains/kotlin/pull/896/
GitOrigin-RevId: 2f5583c6f58eae243db6ab13df16e4c18d202c09
2016-07-19 18:58:09 +03:00
Pavel V. Talanov 012d5f8887 Tests: add runtime (and runtime sources) to some tests that rely on being able to resolve references to built ins
GitOrigin-RevId: c12a0b748b366a5b08b96d9a7afe952a9f29d7ce
2015-12-15 20:22:09 +03:00
Yan Zhulanow 3cc5ae0090 Fix tests: "Placing function type parameters after the function name" error
GitOrigin-RevId: efb3914b294b96c779131b5f6c832ee0435bc5ba
2015-11-27 15:51:11 +03:00
Dmitry Jemerov 584ae83759 teach 'create from usage' to add 'operator' modifier when necessary
GitOrigin-RevId: 30d4337927bda54c8dc28bcf585c5f8779b4e5cb
2015-09-25 21:00:26 +03:00
Valentin Kipyatkov f98d55f895 Create function/property from usage: added "member" when appropriate + changed order
GitOrigin-RevId: 8375d7ded124b063ea10bb0b4f3d0b6eb3dcbaa9
2015-06-29 19:29:25 +03:00
Valentin Kipyatkov 302e452503 Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes
GitOrigin-RevId: 45fbc60c20409dcc97f6177dad54704aeaa191ba
2015-05-08 22:29:42 +03:00
Alexey Sedunov 7dc757bf5b Create from usage (function/property): Suggest separate actions for extensions and non-extension declarations
#KT-6023 Fixed

GitOrigin-RevId: 00f05bc6adaa2a29073a40c08154ae123a925a7e
2015-02-20 17:28:36 +03:00
Alexey Sedunov 7dd8bd465c Create From Usage: Do not generate unnecessary/skip necessary empty lines
GitOrigin-RevId: 0206d765c6f6b63e35a1c0252821f463a236241c
2014-11-13 17:27:24 +03:00
Alexey Sedunov eb76a3abec Name suggester: Respect type parameter name when suggesting name for
variables based on that type parameter

GitOrigin-RevId: 69ef3d9c7c2893c782207b0d495855a1367c302e
2014-11-10 21:10:39 +03:00
Alexey Sedunov 7d4e9ac74a Create From Usage: Remove "from usage" words from action text
GitOrigin-RevId: 5d957f0f612c91d2ede211df4d39a567f414de30
2014-11-10 21:10:29 +03:00
Nikolay Krasko 8d6b888764 Insert empty lines after functions and properties (KT-4002)
#KT-4002 Fixed

GitOrigin-RevId: 9a053199bdeb9445443e4fa461dba058f3b24f81
2014-10-13 23:39:23 +03:00
Alexey Sedunov cbf057256f Create From Usage: Move "Create function"-related tests to separate directory
GitOrigin-RevId: e62b3d286f05ef236ffd8aec96f74589178bb932
2014-09-30 18:55:43 +03:00