Commit Graph

249 Commits

Author SHA1 Message Date
Alexey Tsvetkov f315d6d64d Change one package part, then another at different steps
Original commit: 45dae5e1a4
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 5f59e24523 Remove duplicating simple test case
Original commit: d9e9f11028
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 010b348712 Add test for inline function lines changed only
Original commit: 5d305a7286
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 82dc684309 Add incremental compilation inline call site tests
Original commit: 8d1480e877
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 1e20f25119 Fix incremental compilation of inline call assigned to val
Original commit: 61423a19f0
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 2a2315756a Add another package part with inline to multi-module inline test
Original commit: 44e13dd697
2015-09-08 05:49:31 +03:00
Alexey Tsvetkov c6dc98555f Add file without inline call to multi module test
Original commit: 12ebe4426c
2015-09-08 05:49:31 +03:00
Alexey Tsvetkov c660628162 Add simple inline incremental compilation test cases
Original commit: 32c041d4db
2015-09-08 05:49:29 +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
Michael Bogdanov ab61199599 Generate calls through new minifacades
Original commit: 47635c19a2
2015-09-07 16:28:59 +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
Stanislav Erokhin 29305a7014 Changed JetScope to LexicalScope in ClassDescriptorWithResolutionScopes and DeclarationScopeProvider
Original commit: d92e71861e
2015-08-27 12:01:13 +03:00
Zalim Bashorov 7a7064677b Add test lookup tracking for local declarations
Original commit: 3465126bee
2015-08-24 19:50:10 +03:00
Zalim Bashorov 4032df4960 Add test for lookups to classifier members
Original commit: 3b21d391c5
2015-08-24 19:50:09 +03:00
Zalim Bashorov 60ce016ca5 Provide LookupLocation when resolve calls
Original commit: cca57af401
2015-08-24 19:50:04 +03:00
Zalim Bashorov 2d5f0f428c Add test for lookups to top level declarations
Original commit: 556c755e83
2015-08-24 19:50:03 +03:00
Zalim Bashorov b983e9c868 Store lookup info inside testData code instead of separate file
Original commit: b32040f610
2015-08-24 19:50:01 +03:00
Zalim Bashorov 27ac8066f6 Add test infrastructure to check the tracking lookups
Added simple test to verify infrastructure.

Original commit: 7e250ab2ca
2015-08-08 02:08:19 +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
Denis Zharkov 2293c9852a Adjust testData: get rid of obsolete annotations
Original commit: c9f79c2d05
2015-06-12 09:23:31 +03:00
Evgeny Gerashchenko 20622ebe51 Allowed accessing private members from same package, but different package fragment instance.
Original commit: 0ddfedba49
2015-06-11 18:58:32 +03:00
Evgeny Gerashchenko 92f07e6281 Path hash code is case-agnostic. This is to avoid changing it if e.g. path to project is reconfigured from C:\Work to c:\work
Original commit: c48378260e
2015-06-09 20:03:21 +03:00
Evgeny Gerashchenko e352af9bb8 Fixed sticking of incremental cache data when case of file path is changed.
Original commit: 959364aa77
2015-06-09 20:03:20 +03:00
Evgeny Gerashchenko d422bb9827 Do not recompile module when anonymous object or local class is changed.
Original commit: 0bf249d6ae
2015-06-04 17:50:14 +03:00
Evgeny Gerashchenko daa16c768b Fixed package proto for circular dependencies. Case when package is present in different modules which depend on each other. We should generate separate package facades for this case.
Original commit: 7de531fe09
2015-06-01 19:02:11 +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
Evgeny Gerashchenko d56cbffbe0 Expanded incremental compilation tests with cache version change.
Original commit: 2aeccc7011
2015-03-18 15:20:45 +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
Nikolay Krasko d5e88324fc Fixed test data according to fixed bug in IDEA JPS.
Original commit: f1774bd6fb
2015-02-19 14:36:23 +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
Evgeny Gerashchenko 5bb5fe0c49 KT-6586 accessing Kotlin class static class object variable's value from Java does not properly update between compiles
#KT-6586 fixed

Original commit: d1a2fd9c66
2015-02-18 13:37:34 +03:00
Alexander Udalov ce38b4c43f Serialize descriptors for local/anonymous classes on JVM
Reflection needs this information to work for local classes and anonymous
objects

Original commit: 6ce8d6bd2e
2015-02-16 21:46:21 +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 c7a26e4522 Reverted wrong test data for tests where files are added to package. Let them fail.
Original commit: 1a486bf969
2015-02-11 19:19:55 +03:00
Evgeny Gerashchenko 8d02c74ddd Correctly processing disappeared protos, files with constants/inline function.
Original commit: c5593a5b80
2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko 143ab5dad2 Simplified process of filtering out obsolete package parts and loading descriptors from incremental caches.
Now when file is deleted or dirty (compiled right now), its old package part is used. Current package of file doesn't matter.

Original commit: f071802e19
2015-02-06 17:44:39 +03:00
Evgeny Gerashchenko 09715786fe Minor. Swapped test data. "other" and "same" packages were confused.
Original commit: c1b6e3a63d
2015-01-30 14:01:33 +03:00
Evgeny Gerashchenko fadeb20c5c Rebuilding dependants fully only when constants/inline functions changed. This is not 100% precise, but it is faster. It is a compromise until we implement preciser incremental compilation.
Original commit: c60797e306
2015-01-19 15:36:57 +03:00
Evgeny Gerashchenko 41522a3b65 Rebuilding dependent modules.
Original commit: 72687758a5
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko 72fdd2c6ba Test with Java and Kotlin changed simultaneously.
Original commit: 00f2ba5124
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko 2f3028e45e Added multi-module tests on incremental compilation.
Changing code wasn't required, Java's incremental caches were enough.

Original commit: 967f470b16
2015-01-19 15:36:55 +03:00
Evgeny Gerashchenko c5bc52a1b0 Updated test data according to changes in IDEA.
Original commit: 2b438a286f
2015-01-16 20:19:37 +03:00
Evgeny Gerashchenko 97551f9a11 Updated test data according to JPS. Behavior is still wrong, but it is work in progress on IDEA side.
Original commit: c6c3e5a4c6
2014-12-20 15:06:53 +03:00
Evgeny Gerashchenko 5eba550aef Added test for KT-6454 Obsolete class-files for lambdas aren't removed from output when 'inline' annotation is added to function.
The bug is reproducible only for non-incremental compilation mode, which
will be deprecated soon.

 #KT-6454 can't reproduce

Original commit: 7924568355
2014-12-16 16:33:41 +03:00