Commit Graph

206 Commits

Author SHA1 Message Date
Stanislav Erokhin 68389d34e4 Optimized task creation for local functions and variables 2015-09-18 21:01:22 +03:00
Zalim Bashorov 27a196b25b Track lookups for conventions 2015-09-18 18:31:19 +03:00
Denis Zharkov bae3320d52 Get rid of deprecated annotations in testData 2015-09-18 10:14:32 +03:00
Dmitry Petrov 37d5a16a3d Incremental compilation test for @file:JvmName 2015-09-08 13:02:57 +03:00
Alexey Tsvetkov 93776b711e Add file without usage to classInlineFunctionChanged test case 2015-09-08 05:49:35 +03:00
Alexey Tsvetkov a22e15449d Fix incremental compilation for delegated property with inline accessor 2015-09-08 05:49:35 +03:00
Alexey Tsvetkov 196e59247f Update build logs in incremental tests 2015-09-08 05:49:35 +03:00
Alexey Tsvetkov 45dae5e1a4 Change one package part, then another at different steps 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov d9e9f11028 Remove duplicating simple test case 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 5d305a7286 Add test for inline function lines changed only 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 8d1480e877 Add incremental compilation inline call site tests 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 61423a19f0 Fix incremental compilation of inline call assigned to val 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 44e13dd697 Add another package part with inline to multi-module inline test 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 12ebe4426c Add file without inline call to multi module test 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 32c041d4db Add simple inline incremental compilation test cases 2015-09-08 05:49:29 +03:00
Zalim Bashorov 2f9f5a3cd5 Minor: fix testdata files
(build.log files for incremental compilation tests)
2015-09-07 16:29:09 +03:00
Michael Bogdanov 47635c19a2 Generate calls through new minifacades 2015-09-07 16:28:59 +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
Stanislav Erokhin d92e71861e Changed JetScope to LexicalScope in ClassDescriptorWithResolutionScopes and DeclarationScopeProvider 2015-08-27 12:01:13 +03:00
Zalim Bashorov 3465126bee Add test lookup tracking for local declarations 2015-08-24 19:50:10 +03:00
Zalim Bashorov 3b21d391c5 Add test for lookups to classifier members 2015-08-24 19:50:09 +03:00
Zalim Bashorov cca57af401 Provide LookupLocation when resolve calls 2015-08-24 19:50:04 +03:00
Zalim Bashorov 556c755e83 Add test for lookups to top level declarations 2015-08-24 19:50:03 +03:00
Zalim Bashorov b32040f610 Store lookup info inside testData code instead of separate file 2015-08-24 19:50:01 +03:00
Zalim Bashorov 7e250ab2ca Add test infrastructure to check the tracking lookups
Added simple test to verify infrastructure.
2015-08-08 02:08:19 +03:00
Michael Nedzelsky 62f6cc7f0b add tests for incremental compilation when only private part changed 2015-07-28 19:48:51 +03:00
Denis Zharkov c9f79c2d05 Adjust testData: get rid of obsolete annotations 2015-06-12 09:23:31 +03:00
Evgeny Gerashchenko 0ddfedba49 Allowed accessing private members from same package, but different package fragment instance. 2015-06-11 18:58:32 +03:00
Evgeny Gerashchenko c48378260e 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 2015-06-09 20:03:21 +03:00
Evgeny Gerashchenko 959364aa77 Fixed sticking of incremental cache data when case of file path is changed. 2015-06-09 20:03:20 +03:00
Evgeny Gerashchenko 0bf249d6ae Do not recompile module when anonymous object or local class is changed. 2015-06-04 17:50:14 +03:00
Evgeny Gerashchenko 7de531fe09 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. 2015-06-01 19:02:11 +03:00
Dmitry Jemerov 1188e57597 rename @overloads annotation to @jvmOverloads 2015-05-27 12:23:08 +02:00
Evgeny Gerashchenko 0498bd7739 KT-7587 Overloads are not generated during partial compilation of package
#KT-7587 fixed
2015-05-14 21:51:08 +03:00
Evgeny Gerashchenko 2aeccc7011 Expanded incremental compilation tests with cache version change. 2015-03-18 15:20:45 +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 59f192ef90 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
2015-03-06 19:36:54 +03:00
Evgeny Gerashchenko 3aa5f5200b Incremental: fixed adding file to package and using it from Java 2015-03-04 18:59:21 +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
Nikolay Krasko f1774bd6fb Fixed test data according to fixed bug in IDEA JPS. 2015-02-19 14:36:23 +03:00
Evgeny Gerashchenko 460a77275a Added tests with conversion between Java and Kotlin and moving class. 2015-02-18 18:51:59 +03:00
Evgeny Gerashchenko f09fd923f3 Fixed test data according to fixed bug in IDEA JPS. 2015-02-18 18:51:50 +03:00
Evgeny Gerashchenko d1a2fd9c66 KT-6586 accessing Kotlin class static class object variable's value from Java does not properly update between compiles
#KT-6586 fixed
2015-02-18 13:37:34 +03:00
Alexander Udalov 6ce8d6bd2e Serialize descriptors for local/anonymous classes on JVM
Reflection needs this information to work for local classes and anonymous
objects
2015-02-16 21:46:21 +03:00
Pavel V. Talanov a1f4c06a49 Update test data that mentioned old JvmAbi constants 2015-02-16 15:38:34 +03:00
Evgeny Gerashchenko 1a486bf969 Reverted wrong test data for tests where files are added to package. Let them fail. 2015-02-11 19:19:55 +03:00
Evgeny Gerashchenko c5593a5b80 Correctly processing disappeared protos, files with constants/inline function. 2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko f071802e19 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.
2015-02-06 17:44:39 +03:00
Evgeny Gerashchenko c1b6e3a63d Minor. Swapped test data. "other" and "same" packages were confused. 2015-01-30 14:01:33 +03:00