Tianyu Geng
d3dfb33f89
FIR: consolidate duplicated logic in FirOverrideChecker
2021-06-09 16:27:26 +03:00
Aleksei.Cherepanov
b5ef6c9316
Add tests for SAM conversions
...
Add tests for KT-45191 [JPS] Marking method as "default" in Java SAM interface doesn't affect dependencies, which was fixed in intlellij(212): cbad0d91 support kotlin-generated lambda usage
#KT-45191 Fixed
2021-04-17 03:36:17 +03:00
Ilya Chernikov
4a79f544f7
FIR: Mute IC test due to java tracking peculiarities
...
should be fixed after implementing proper java tracking for FIR
2021-03-24 21:24:20 +01:00
Ilya Chernikov
7e08820009
FIR: Mute IC tests with missing FIR diagnostics
2021-03-24 21:24:20 +01:00
Ilya Chernikov
14121a1d9a
FIR: Disable java tracking in FIR IC
...
until it is properly implemented,
fixes some IC tests for now, making it less pecise
2021-03-24 21:24:19 +01:00
Alexander Udalov
1deb317e0d
Update and regenerate incremental compilation tests for 1.5
...
Set TargetBackend.JVM_IR for these tests by default; remove the
generated IR-based test and add a new old-backend-based test. This fixes
the issue where some (3) of these tests were not properly ignored
because of incorrect target backend used in the test generator.
Also update test data for some tests which use local functions, which
are not generated to separate anonymous classes in JVM IR.
2021-01-28 13:19:27 +03:00
Pavel Kirpichenkov
0a1b3a8455
Clearify diagnostic messages that involve internal visibilities
...
KT-7354 Fixed
Visibility.displayText is deprecated with warning.
Diagnostics for java visibilities changed.
2019-09-16 19:00:43 +03:00
Alexey Tsvetkov
5760b8cf8b
Register kotlin_module as output of all files
...
Previously kotlin_module was registered as output
only for files containing top-level declarations
2018-07-09 15:48:11 +03:00
Alexey Tsvetkov
67a5cab343
Fix IC test data
...
Test data was broken starting from 0954d1ab1b
2018-02-14 16:09:07 +03:00
Nikolay Krasko
f05e926670
Update idea to 173.3.4 (173.4548.28)
2018-02-03 00:15:45 +03:00
Denis Zharkov
df533053f9
Record special name lookup when trying use interface as a SAM
...
It was already working in JPS, because it see our synthetic classes
as subclasses for SAM's, but with non-JPS build we have to manually
tracking places that should be recompiled after SAM members are changed
2017-12-12 16:17:58 +03:00
Denis Zharkov
ae6421476d
Refine dirty files computation in case of Java source changes
...
#KT-17621 In Progress
2017-12-12 16:17:58 +03:00
Alexey Tsvetkov
b73d5cbe1f
Mock constant search in JPS tests
2017-08-29 04:28:06 +03:00
Alexey Tsvetkov
7810da7018
Add IC compiler tests with Java
2017-08-29 02:24:37 +03:00
Alexey Tsvetkov
5af9d29cbe
Remove old IC: remove experimental-ic-build.log
...
This commit moves each experimental-ic-build.log
into a corresponding build.log file.
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
05f278ce20
JPS: implement tracking of null annotations
...
#KT-12933 fixed
#KT-14266 fixed
2017-03-20 18:45:21 +01:00
Stanislav Erokhin
bebc75c8ef
Set reference target and report custom error instead unresolved reference for cases: interface, generic parameter, object + invoke, class without companion.
...
#KT-2787 Fixed.
2016-09-01 18:01:55 +03:00
Michael Bogdanov
3b419e8ba3
Fix for KT-11964: No TABLESWITCH in when on enum bytecode if enum constant is imported
...
#KT-11964 Fixed
2016-06-29 09:32:45 +03:00
Alexey Tsvetkov
61814eb23f
Test: override build.log in gradle IC tests
2016-03-30 03:40:53 +03:00
Alexey Tsvetkov
9523a8b88d
Add missing enum entry added/removed tests
...
#KT-6200 fixed
2016-03-04 14:43:52 +03:00
Zalim Bashorov
e33e31ad16
KotlinBuilder: don't request additional round when it's unnecessary & fix warnings
2016-02-10 21:37:12 +03:00
Zalim Bashorov
f6e7f8c3c0
Introduce TestingContext to pass data between tests and KotlinBuilder; introduce BuildLogger to log build events (build finished, files marked as dirty) in KotlinBuilder
2016-02-09 23:27:25 +03:00
Zalim Bashorov
d9b67ae0ef
Minor: use ".touch" extension instead of ".new" in incremental compilation tests when it possible
2015-12-17 19:41:24 +03:00
Dmitry Petrov
9856af48ca
Drop createQualifier: testData update
2015-11-18 14:35:53 +03:00
Dmitry Petrov
f227908151
Drop package facades:
...
- update incremental compilation tests
2015-10-19 16:03:21 +03:00
Denis Zharkov
bae3320d52
Get rid of deprecated annotations in testData
2015-09-18 10:14:32 +03:00
Zalim Bashorov
2f9f5a3cd5
Minor: fix testdata files
...
(build.log files for incremental compilation tests)
2015-09-07 16:29:09 +03:00
Dmitry Petrov
7af88f6797
Update debug tests & incremental compilation tests depending on part class naming
2015-09-07 16:28:43 +03:00
Michael Bogdanov
0936351983
Incremental tests patched
2015-09-07 16:28:39 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Pavel V. Talanov
48fbce9582
Refactor: process mentions of class object
...
Rename usages that refer to "default object" concept now
Test data file names are left as is
2015-03-03 20:57:08 +03:00
Evgeny Gerashchenko
00f2ba5124
Test with Java and Kotlin changed simultaneously.
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko
9c880de735
Compilation errors are rendered to log without "Kotlin:ERROR:" prefix and without path to file. Sometimes javac adds path to file, sometimes doesn't. This had led tests to fail on some platforms.
2014-11-26 18:42:24 +03:00
Evgeny Gerashchenko
21105fcae4
Tests with SAM conversions.
2014-11-07 14:51:59 +03:00
Evgeny Gerashchenko
3237791433
Added tests with adding method to superclass.
2014-11-07 14:51:58 +03:00
Evgeny Gerashchenko
335c3f4506
Tests with renamed method, incremental compilation between Kotlin and Java.
2014-11-07 14:51:56 +03:00
Evgeny Gerashchenko
9234ef3803
Tests with constants, incremental compilation between Kotlin and Java.
2014-11-07 14:51:54 +03:00
Evgeny Gerashchenko
70331e3b82
Initial support for kotlin-java interop in incremental compilation.
2014-11-07 14:51:53 +03:00