Commit Graph

125 Commits

Author SHA1 Message Date
Michael Bogdanov 12afbffb09 Copy to interface just companion object public const properties 2015-10-09 16:25:15 +03:00
Michael Nedzelsky 0de9e8295a add tests for incremental compilation: package members 2015-10-01 15:16:30 +03:00
Michael Nedzelsky 8557e540fc incremental compilation: do not recompile on changes in private static final values. 2015-10-01 15:16:26 +03:00
Zalim Bashorov a36e4abf4d Move visibility check for toplevel private declarations to Visibilities.PRIVATE and fix it. 2015-10-01 14:57:26 +03:00
Dmitry Petrov 3dfe9951ef Incremental compilation support for multifile classes. 2015-09-30 09:56:05 +03:00
Denis Zharkov a101fffd9a Change INTERFACE_IMPL_CLASS_NAME: $TImpl -> DefaultImpls 2015-09-30 08:19:51 +03:00
Stanislav Erokhin 5a61871d4b Minor. Fix testdata. 2015-09-29 13:33:57 +03:00
Michael Nedzelsky 2f9151ec18 remove incremental test: accessPrivateMembers 2015-09-25 21:16:03 +03:00
Alexey Tsvetkov 743c59331d Remove tests on turning incremental on/off temporary 2015-09-25 20:11:58 +03:00
Alexey Tsvetkov ba33020140 Clean only kotlin caches when incremental compilation is off 2015-09-25 20:11:58 +03:00
Alexey Tsvetkov 1298d115bd Minor: rename test cases 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov c7f66a1585 Fix recompilation of dependent modules on cache/abi version change
New cache version was written to dependent targets,
when they have not been compiled yet

 #KT-9190 Fixed
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 2bed8d0557 Test caches creation with turning incremental on/off 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov b6bbc4015b Write cache version only if incremental compilation is enabled 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov a3f2ccf72d Test that Kotlin incremental caches are created lazily 2015-09-25 20:11:57 +03:00
Stanislav Erokhin 8ab4114291 Minor. Fix testdata. 2015-09-25 19:10:03 +03:00
Michael Nedzelsky ad274c5137 add tests for incremental compilation with changed internal class 2015-09-25 14:02:21 +03:00
Zalim Bashorov 79ac436b9f Add tests for cases when add and remove custom accessors for val with smartcasted usage 2015-09-24 22:50:48 +03:00
Dmitry Jemerov 4ca434da54 remove support for 'trait' keyword 2015-09-22 15:00:24 +02:00
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