Commit Graph

60 Commits

Author SHA1 Message Date
Alexey Tsvetkov 4beeb8d657 Add test for KT-31131
Original commit: 56d5846ef1
2019-05-29 10:23:18 +02:00
Alexey Tsvetkov 3ccf89be00 Register kotlin_module as output of all files
Previously kotlin_module was registered as output
only for files containing top-level declarations

Original commit: 5760b8cf8b
2018-07-09 15:48:11 +03:00
Alexey Tsvetkov 88c4f73e3c Invalidate usages of removed classes before round
#KT-23165 fixed

Original commit: 3eb968807e
2018-04-03 21:11:12 +03:00
Alexey Tsvetkov f1a78a7037 Fix IC test data
Test data was broken starting from 994fc1cc5e44322ed671e60530474781c35a7e7b

Original commit: 67a5cab343
2018-02-14 16:09:07 +03:00
Nikolay Krasko 45f3911ebc Update idea to 173.3.4 (173.4548.28)
Original commit: f05e926670
2018-02-03 00:15:45 +03:00
Alexey Tsvetkov 2845ea857a Explicitly request rebuild when untracked java file is removed
Previously a rebuild was happenning because FileNotFoundException
was thrown when getting psiFile of removed file.

Original commit: ee94a64718
2017-12-22 16:12:20 +03:00
Alexey Tsvetkov 8683fce476 Turn off class redeclaration test for JS IC temporarily
So the tests could be run on TC.
Turn on after KT-19846 is fixed.

Original commit: 50bf74b909
2017-12-22 16:12:20 +03:00
Alexey Tsvetkov 09c1299c84 Recompile only files from last iteration after compile error
Original commit: 0fee7883ed
2017-12-22 16:12:20 +03:00
Alexey Tsvetkov c58c65caea Fix IC test build log diverged from JPS
JPS marks dirty direct usages of removed classes since 172.* before a build.
Generic IC also marks dirty all subclasses and their usages.
That is necessary because a method from a removed class could be used
through a subclass.
JPS and generic IC logs diverged in 172 branch, but non-JPS tests
were not run on CI.

Original commit: 7712044146
2017-12-22 16:12:20 +03:00
Denis Zharkov c3ea422125 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

Original commit: df533053f9
2017-12-12 16:17:58 +03:00
Denis Zharkov 30eec21d1d Refine dirty files computation in case of Java source changes
#KT-17621 In Progress

Original commit: ae6421476d
2017-12-12 16:17:58 +03:00
Alexey Tsvetkov 272c198ff6 Avoid deserializing .kotlin_module as class proto
#KT-20184 fixed

Original commit: 18261838b6
2017-11-16 14:47:59 +03:00
Alexey Tsvetkov 30f808400b Mock constant search in JPS tests
Original commit: b73d5cbe1f
2017-08-29 04:28:06 +03:00
Alexey Tsvetkov 3021bce5d1 Move JVM specific IC tests to separate dir
Original commit: 2312013c41
2017-08-29 04:28:06 +03:00
Alexey Tsvetkov 602929d142 Move JVM specific IC tests with class hierarchy changes
Original commit: 0a5fe3ef7c
2017-08-29 02:24:38 +03:00
Alexey Tsvetkov c55df3ffab Move JVM specific IC test data to separate dir
Original commit: 166883d847
2017-08-29 02:24:37 +03:00
Alexey Tsvetkov dd44a567d6 Add IC compiler tests with Java
Original commit: 7810da7018
2017-08-29 02:24:37 +03:00
Alexey Tsvetkov 1b94afaedc Remove old IC: remove experimental-ic-build.log
This commit moves each experimental-ic-build.log
into a corresponding build.log file.

Original commit: 5af9d29cbe
2017-07-31 19:34:58 +03:00
Nikolay Krasko 0548ec683d ! (TODO) Update build test data in 171
Original commit: 1d29c81346
2017-03-20 18:45:40 +01:00
Alexey Tsvetkov efc1164489 JPS: implement tracking of null annotations
#KT-12933 fixed
    #KT-14266 fixed

Original commit: 05f278ce20
2017-03-20 18:45:21 +01:00
Stanislav Erokhin df295ddfc4 Set reference target and report custom error instead unresolved reference for cases: interface, generic parameter, object + invoke, class without companion.
#KT-2787 Fixed.

Original commit: bebc75c8ef
2016-09-01 18:01:55 +03:00
Michael Bogdanov d525cd1581 Fix for KT-11964: No TABLESWITCH in when on enum bytecode if enum constant is imported
#KT-11964 Fixed

Original commit: 3b419e8ba3
2016-06-29 09:32:45 +03:00
Zalim Bashorov 6e4d8d1670 IC: take into account added and removed classes when calculate affected names
Original commit: 51c6abdbed
2016-04-11 19:26:18 +03:00
Nikolay Krasko ea14bae514 Temporary ad-hock jps-tests enable with testdata modification
Original commit: 46a1028494
2016-04-06 21:46:00 +03:00
Alexey Tsvetkov e679750102 Test: override build.log in gradle IC tests
Original commit: 61814eb23f
2016-03-30 03:40:53 +03:00
Alexey Tsvetkov 378aafae69 Add missing enum entry added/removed tests
#KT-6200 fixed

Original commit: 9523a8b88d
2016-03-04 14:43:52 +03:00
Alexey Tsvetkov cd0c962c7c Add dummy files to fix gradle incremental tests
Gradle won't call kotlin task if source directory is empty

KT-8487

Original commit: 402436f3eb
2016-03-03 16:45:19 +03:00
Zalim Bashorov 998dfacd5f KotlinBuilder: use proper API to update Java mappings
Original commit: d832a3d290
2016-02-19 19:11:10 +03:00
Zalim Bashorov e30ef13260 KotlinBuilder: don't request additional round when it's unnecessary & fix warnings
Original commit: e33e31ad16
2016-02-10 21:37:12 +03:00
Zalim Bashorov e7dcf02ffe Introduce TestingContext to pass data between tests and KotlinBuilder; introduce BuildLogger to log build events (build finished, files marked as dirty) in KotlinBuilder
Original commit: f6e7f8c3c0
2016-02-09 23:27:25 +03:00
Michael Bogdanov 0218b84990 Private visibility for non-const, non-jvmField class companion property backing field
Original commit: e116cc3206
2015-12-29 16:45:22 +03:00
Zalim Bashorov 43b6a9dbbc Minor: use ".touch" extension instead of ".new" in incremental compilation tests when it possible
Original commit: d9b67ae0ef
2015-12-17 19:41:24 +03:00
Dmitry Petrov cdda7e87f7 Drop createQualifier: testData update
Original commit: 9856af48ca
2015-11-18 14:35:53 +03:00
Zalim Bashorov e6493a0f39 Add separate build logs for tests which result is different in the new incremental compilation
Original commit: e1ad942804
2015-11-12 13:43:24 +03:00
Dmitry Petrov 848216756d Drop package facades:
- update incremental compilation tests

Original commit: f227908151
2015-10-19 16:03:21 +03:00
Denis Zharkov e3aa1fa4cb Get rid of deprecated annotations in testData
Original commit: bae3320d52
2015-09-18 10:14:32 +03:00
Zalim Bashorov d9b5b94a0e Minor: fix testdata files
(build.log files for incremental compilation tests)

Original commit: 2f9f5a3cd5
2015-09-07 16:29:09 +03:00
Dmitry Petrov c61115b274 Update debug tests & incremental compilation tests depending on part class naming
Original commit: 7af88f6797
2015-09-07 16:28:43 +03:00
Michael Bogdanov 25fafd4201 Incremental tests patched
Original commit: 0936351983
2015-09-07 16:28:39 +03:00
Michael Nedzelsky d41a3e205c add tests for incremental compilation when only private part changed
Original commit: 62f6cc7f0b
2015-07-28 19:48:51 +03:00
Dmitry Jemerov a1cf175bb8 rename @overloads annotation to @jvmOverloads
Original commit: 1188e57597
2015-05-27 12:23:08 +02:00
Evgeny Gerashchenko c445089f21 KT-7587 Overloads are not generated during partial compilation of package
#KT-7587 fixed

Original commit: 0498bd7739
2015-05-14 21:51:08 +03:00
Pavel V. Talanov 24f63e82e1 default -> companion: replace all mentions of default and default object
Original commit: 06916d98c6
2015-03-17 15:47:39 +03:00
Pavel V. Talanov ebb37aed1d Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now

Original commit: 59f192ef90
2015-03-06 19:36:54 +03:00
Evgeny Gerashchenko f0908bed24 Incremental: fixed adding file to package and using it from Java
Original commit: 3aa5f5200b
2015-03-04 18:59:21 +03:00
Pavel V. Talanov 6fc44a498f Refactor: process mentions of class object
Rename usages that refer to "default object" concept now
Test data file names are left as is

Original commit: 48fbce9582
2015-03-03 20:57:08 +03:00
Evgeny Gerashchenko 88964f4276 Added tests with conversion between Java and Kotlin and moving class.
Original commit: 460a77275a
2015-02-18 18:51:59 +03:00
Evgeny Gerashchenko 7c78491e42 Fixed test data according to fixed bug in IDEA JPS.
Original commit: f09fd923f3
2015-02-18 18:51:50 +03:00
Pavel V. Talanov 19499caee0 Update test data that mentioned old JvmAbi constants
Original commit: a1f4c06a49
2015-02-16 15:38:34 +03:00
Evgeny Gerashchenko 72fdd2c6ba Test with Java and Kotlin changed simultaneously.
Original commit: 00f2ba5124
2015-01-19 15:36:56 +03:00