Alexey Sedunov
efc369dbe4
Misc: KtParsingTestCase fixes for 172/173/AS3.1 bunches
2018-05-24 02:54:00 +03:00
Yan Zhulanow
ece6141891
Pill: Fix module-related path rendering
2018-05-24 01:06:30 +03:00
Yan Zhulanow
0b0089711a
Android Extensions: Avoid duplicating variants in compiler plugin options
2018-05-24 01:01:52 +03:00
Yan Zhulanow
015d7f3300
Kapt: Do not retain references to Kotlin compiler classes in customized Javac components
...
This should fix potential memory leakages.
2018-05-24 01:01:52 +03:00
Yan Zhulanow
99ecedc32e
Kapt: Ensure there isn't duplicating entries in the processor loading classpath
...
(cherry picked from commit 1354a0d)
2018-05-24 01:01:52 +03:00
Yan Zhulanow
aa8c266940
Pill: Add kotlin-scripting-gradle and kotlin-gradle-plugin-integration-tests to JPS model (in 'full' variant)
2018-05-24 01:01:52 +03:00
Yan Zhulanow
b6d59da8a8
Kapt3: Avoid normal compilation in case if no apClasspath entries are passed (#KT-24538)
2018-05-24 01:01:52 +03:00
Yan Zhulanow
dd40b3a15c
Kapt: Remove obsolete kapt1-related tests
2018-05-24 01:01:51 +03:00
Yan Zhulanow
6e362f6734
Kapt: Remove kapt1 from Kotlin compiler
2018-05-24 01:01:51 +03:00
Yan Zhulanow
662b79780d
Kapt: Remove kapt1 support from Gradle and incremental compilation
2018-05-24 01:01:51 +03:00
Yan Zhulanow
58643ea99d
Kapt: Remove annotation processor wrappers for kapt1 (it's obsolete now)
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
Sergey Igushkin
721d9df4e0
(minor) Fix testApplyWithFeaturePlugin
2018-05-23 18:41:10 +03:00
Sergey Igushkin
571905824d
Add AP option providers of Android Gradle plugin as @Nested to Kapt
...
Also remove these option providers from the javac task compiler argument
providers so as to avoid output intersections of javac vs kapt.
The options generated by the providers are added to the Kapt subplugin
options as well in order to be passed to Kapt. Since these options
are a list, not a map, pass them without name (Kapt should decode them
into plain arguments). Remove the '-A' prefix as it is there for
command line annotation processor options, but we don't need it, it
is added by Kapt internally.
Issue #KT-23964 Fixed
Issue #KT-24420 Fixed
2018-05-23 18:41:10 +03:00
Simon Ogorodnik
77429b1ca5
Revert: Partial: Add grouping suite and improve whole kotlin tests ( fea2559)
...
Revert occasional change in misc.xml
2018-05-23 17:08:36 +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
Roman Artemev
de9aea6e98
[JS BE] Fix delegation of suspend method member (KT-23094)
2018-05-23 14:59:59 +03:00
Roman Artemev
8862b26bbd
Add test case to check delegation of suspend method
2018-05-23 14:59:59 +03:00
Mikhael Bogdanov
f826a253e3
Generate @JvmDefault for property accessors in LIGHT_CLASS MODE
2018-05-23 13:55:38 +02:00
Alexander Udalov
402ceefe60
Regenerate tests
2018-05-23 12:26:10 +02:00
Ilya Gorbunov
3d2a641057
Minor: explicit public visibility
2018-05-23 05:44:34 +03:00
Ilya Gorbunov
d9656a939b
Do not produce libraries json declarations dump
...
It's no longer needed for checking binary compatibility.
Clean build of these libraries is no longer required too.
Cleanup build.gradle of binary-compatibility-validator.
2018-05-23 05:00:57 +03:00
Ilya Gorbunov
ad8c64e127
bcv: refactor: do not convert flags to string representation
2018-05-23 05:00:57 +03:00
Ilya Gorbunov
66a9a90455
bcv: cleanup the old way of reading kotlin visibilities
2018-05-23 05:00:57 +03:00
Ilya Gorbunov
84d96d9537
Use asm:6.0 in kotlinp
...
Some class files can't be read with asm:4.0.
Make shadowJar when assembling the project.
2018-05-23 05:00:57 +03:00
Ilya Gorbunov
fcf323851e
bcv: use kotlinx-metadata-jvm to read kotlin visibilities
...
It's no longer required to dump kotlin-to-java declaration mapping to json
before using binary-compatibility-validator.
@JvmOverloads are not supported yet, so remove them from test.
Use asm:6.0 in bcv
2018-05-23 05:00:56 +03:00
Ilya Gorbunov
1872550f25
binary-compatibility-validator: add test case for parameters with default values
...
Move JvmOverloads test there.
2018-05-23 05:00:56 +03: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
Ilya Gorbunov
793d34b913
Suppress errors about non-public primary constructor and forbidden varargs
2018-05-22 22:27:00 +03:00