Commit Graph

17503 Commits

Author SHA1 Message Date
Natalia Selezneva bb04998159 Scripts: remove loaders when any result was received
^KT-24470 Fixed
2018-05-24 08:47:32 +03:00
Alexey Sedunov 44e7070118 Configuration: Use 'plugins' block in generated/modified Gradle scripts
Follow-up for 172/173/AS3.1/AS3.2 bunches
2018-05-24 02:54:01 +03:00
Yan Zhulanow 6e362f6734 Kapt: Remove kapt1 from Kotlin compiler 2018-05-24 01:01:51 +03:00
Mikhail Glukhikh a76bb80e4d Experimental fixes: additional tests, handle local declarations 2018-05-23 19:06:55 +03:00
Mikhail Glukhikh 51fba03253 Experimental fixes: introduce "Add @UseExperimental" #KT-22760 Fixed 2018-05-23 19:00:51 +03:00
Mikhail Glukhikh f404d6c97a Experimental fixes: introduce "add annotation" (KT-22760) 2018-05-23 18:59:22 +03:00
Alexey Sedunov 1650e69980 Configuration: Use 'plugins' block in generated/modified Gradle scripts
#KT-20665 Fixed
2018-05-23 16:39:20 +03:00
Alexey Sedunov 909ff3a7ec Misc: Migrate to IDEA 181.3 2018-05-23 16:39:20 +03:00
Simon Ogorodnik 78fb775e04 Cleanup duplication 2018-05-23 16:14:39 +03:00
Simon Ogorodnik ce71e0822c Fix nsToMs 2018-05-23 16:14:38 +03:00
Simon Ogorodnik 391c516ed0 Java inspections test 2018-05-23 16:14:37 +03:00
Simon Ogorodnik 16adf383a5 Use single test project for all tests, instead of copying current 2018-05-23 16:14:36 +03:00
Simon Ogorodnik fea2559a28 Add grouping suite and improve whole kotlin tests 2018-05-23 16:14:34 +03:00
Mikhail Glukhikh 3e2563ad73 Extract AllKotlinTest from AllKotlinInspectionTest
(cherry picked from commit 7cb31ee)
2018-05-23 16:14:33 +03:00
Simon Ogorodnik a57a40b5a9 Fix totals 2018-05-23 16:14:33 +03:00
Simon Ogorodnik 9287d2cd24 Fix testFailed reporting 2018-05-23 16:14:31 +03:00
Simon Ogorodnik 750cb38f8c Don't include stacktrace to failure 2018-05-23 16:13:22 +03:00
Simon Ogorodnik 1a015402c8 Fail per file check on first exception 2018-05-23 16:13:21 +03:00
Simon Ogorodnik c8fbf2d3ac Post-review fixes, add errors reporting to test 2018-05-23 16:13:20 +03:00
Simon Ogorodnik 3221900f69 Change soft refs policy 2018-05-23 16:13:19 +03:00
Simon Ogorodnik 94c8a18f10 Remove dependency from test to performanceTest 2018-05-23 16:13:18 +03:00
Simon Ogorodnik d2a60164c6 Handle exceptions 2018-05-23 16:13:17 +03:00
Simon Ogorodnik 7b155fc9d4 Increase heap size for test 2018-05-23 16:12:57 +03:00
Simon Ogorodnik 7d9310acf4 Refactor inspection test output 2018-05-23 16:12:55 +03:00
Simon Ogorodnik 740e6fde35 Create performance test for all inspections 2018-05-23 16:12:54 +03:00
Mikhael Bogdanov f826a253e3 Generate @JvmDefault for property accessors in LIGHT_CLASS MODE 2018-05-23 13:55:38 +02:00
Nikolay Krasko fdc6372776 Remove runtime usage from unused receiver parameter tests 2018-05-23 01:41:02 +03:00
Toshiaki Kameyama e7a9614fb5 "Unused receiver parameter" inspection: Fix false negative in same class (KT-23897)
#KT-23897 Fixed
2018-05-23 01:41:01 +03:00
Toshiaki Kameyama 1d0a11cecd "Remove parameter" quick fix makes generic function call incompilable when type could be inferred from removed parameter only
#KT-23511 Fixed
2018-05-22 17:33:26 +03:00
Toshiaki Kameyama 8271e85dbb ReplaceArrayOfWithLiteralInspection: Remove unnecessary parentheses
#KT-21878 Fixed
2018-05-22 17:33:25 +03:00
Mikhail Glukhikh c95ed9fd20 Result unused: a few enhancements for PSI checks
Related to KT-15063, KT-24433
2018-05-22 17:13:48 +03:00
Mikhail Glukhikh b8375d4864 Extend "async result unused" to "Deferred result unused" #KT-15063 Fixed 2018-05-22 17:07:05 +03:00
Mikhail Glukhikh ffcfa51fbf Introduce inspection "async result unused" #KT-24433 Fixed 2018-05-22 16:39:14 +03:00
Mikhail Glukhikh d0c045e4ba Style fix: AbstractInspectionTest 2018-05-22 16:39:14 +03:00
Mikhail Glukhikh feaaf5df84 Reformat: AbstractKotlinInspection 2018-05-22 16:39:14 +03:00
Mikhail Glukhikh 2a9108bcd3 Fix "Too long character literal -> string" in ILLEGAL_ESCAPE
Related to #KT-23788
2018-05-22 16:38:29 +03:00
Toshiaki Kameyama 85cd1e938e Add "Too long character literal -> string" fix to ILLEGAL_ESCAPE error
So #KT-23788 Fixed
2018-05-22 16:19:41 +03:00
Mikhail Glukhikh 6d39eb9239 Unnecessary parentheses in function call with lambda: simplify
Related to KT-23452
2018-05-22 16:18:42 +03:00
Toshiaki Kameyama b8f3d588b7 Unnecessary parentheses in function call with lambda: fix false positive
So #KT-23452 Fixed
2018-05-22 15:45:02 +03:00
Mikhail Zarechenskiy 1b809413d2 [NI] Fix updated type for lambda, use original type for substitution
#KT-24367 Fixed
2018-05-21 17:56:11 +03:00
Toshiaki Kameyama 5564102a3e Add "Create secondary constructor" quick fix on NONE_APPLICABLE error #KT-22371 Fixed 2018-05-18 18:11:13 +03:00
Toshiaki Kameyama d32b53362d Reformat UnusedReceiverParameterInspection 2018-05-18 18:11:13 +03:00
Alexey Sedunov d2bfb8caec Configuration: Add migration of JPS project to new non-jvm source roots 2018-05-18 12:09:40 +03:00
Alexey Sedunov 9fa26c83b6 Configuration: Introduce special source roots for non-JVM Kotlin modules
#KT-5948 Fixed
 #KT-23672 Fixed
2018-05-18 12:09:40 +03:00
Alexey Sedunov 1fb1431257 Configuration: Setup project settings even if library is not detected
#KT-22305 Fixed
2018-05-18 12:09:39 +03:00
Alexey Sedunov eb14625851 Configuration: Detect platform of libraries added via maven artifact ids
#KT-20511 Fixed
2018-05-18 12:09:39 +03:00
Alexey Sedunov 06f9be1899 Configuration: Unify presentable names of Kotlin configurators
#KT-23658 Fixed
2018-05-18 12:09:39 +03:00
Alexey Sedunov 4a98f1dccc Misc: Follow-up fixes for 172/182 bunches 2018-05-18 12:09:38 +03:00
Nikolay Krasko 580e2972db Initial settings for incompatible API inspection 2018-05-17 12:27:30 +03:00
Nikolay Krasko 3ef67e1d9d Inspection for highlighting problem API usage
It's planned to use this inspection for show patchset branches problems
during development process.
2018-05-17 12:27:29 +03:00