Commit Graph

202 Commits

Author SHA1 Message Date
Nikolay Krasko 33fd247bde Test that fails with package prefixes but works good without them 2015-11-12 19:19:42 +03:00
Zalim Bashorov ca71f929f9 Add new tests for incremental compilation and disable the one for current IC 2015-11-12 13:43:25 +03:00
Zalim Bashorov e1ad942804 Add separate build logs for tests which result is different in the new incremental compilation 2015-11-12 13:43:24 +03:00
Zalim Bashorov 5ca7ce2b50 Make accessingFunctionsViaRenamedFileClass test more sensible 2015-11-12 13:43:22 +03:00
Michael Nedzelsky 5b59fc74bc fix access from tests to internal elements in production code in case of circular dependency 2015-11-11 19:16:21 +03:00
Nikolay Krasko 23e35ab112 Teach index working with source roots with package prefix
#KT-9167 Fixed
2015-11-10 01:50:09 +03:00
Michael Nedzelsky 981d471ebe fix KT-9843 Bug in incremental compilation: module is not recompiled when optional parameter added
and KT-8434 Removing parameter with default value from function in different module breaks incremental compilation

#KT-9843 Fixed

#KT-8434 Fixed
2015-11-06 07:45:46 +03:00
Zalim Bashorov 04fed203e4 Add tests for lookups to enum static scope and to companion object scope 2015-11-04 22:15:37 +03:00
Zalim Bashorov a6855116b8 Track lookups for nested/inner Java classes 2015-11-04 22:09:55 +03:00
Stanislav Erokhin 87f32ef07b Minor. fix testdata 2015-11-04 14:28:29 +03:00
Mikhail Glukhikh 41ebfd025e More precise diagnostics of smart cast impossible #KT-7240 Fixed 2015-11-03 13:38:51 +03:00
Zalim Bashorov 5d72629b0b Add test for lookups in generic constraints; Add cases with lookup to companion and nested object; 2015-11-02 18:18:37 +03:00
Zalim Bashorov 4cb5398c04 Add tests for lookups to declarations form Java 2015-11-02 18:18:32 +03:00
Zalim Bashorov 519172f182 Add tests for lookups to deserialized and java scopes 2015-11-02 18:18:32 +03:00
Zalim Bashorov 3484c43c8c Minor: fix testdata 2015-11-02 18:18:31 +03:00
Michael Nedzelsky 6ebe0c30ec fix KT-9299 In a project with circular dependencies between modules, IDE reports error on use of internal class from another module, but the corresponding code still compiles and runs.
#KT-9299 Fixed
2015-10-30 14:40:46 +03:00
Zalim Bashorov a5708c9c0d Track lookups in JavaSyntheticPropertiesScope 2015-10-27 19:38:32 +03:00
Yan Zhulanow 10eed8f7cd Fix incremental test (DefaultImpls are not generated for an empty interface) 2015-10-27 02:46:57 +03:00
Dmitry Petrov 1a58636ea9 KT-6165, KT-9547: fix testData for JPS plugin.
Test contains effectively single module (with circular dependencies),
and should not have conflicting declarations.
Rename the package in a library used in this test.

 #KT-9547 Fixed
2015-10-22 11:37:01 +03:00
Dmitry Petrov 5170341624 OverloadResolver:
fix redeclaration diagnostics issue in incremental compilation (KT-6165)
J2K: OverloadUtil.kt
2015-10-22 10:45:49 +03:00
Max Kammerer 715893446c Incremental compilation test data update after making package property backing field private 2015-10-19 21:21:02 +03:00
Alexey Tsvetkov e9e42b0251 Code cleanup 2015-10-19 20:45:03 +03:00
Alexey Tsvetkov 6f96484e1f Fix tests 2015-10-19 20:45:03 +03:00
Dmitry Petrov dda508234f Drop package facades:
- update tests
- cleanup JetTyMapper after rebase
2015-10-19 16:03:22 +03:00
Dmitry Petrov 639300a89d Drop package facades: fix testData for IncrementalProjectPathCaseChangedTest 2015-10-19 16:03:21 +03:00
Dmitry Petrov ac1f0efe7c Drop package facades: fix testData for IncrementalLazyCachesTestGenerated 2015-10-19 16:03:21 +03:00
Dmitry Petrov 621d26aeeb Drop package facades: fix incremental compilation tests & proto comparison tests
(package facades are no longer generated)
2015-10-19 16:03:21 +03:00
Dmitry Petrov f227908151 Drop package facades:
- update incremental compilation tests
2015-10-19 16:03:21 +03:00
Dmitry Petrov c55106a325 Drop package facades:
- incremental cache impl should not depend on package facades
- fix trivial incremental compilation tests
TODO: inlines DO NOT WORK with incremental compilation
2015-10-19 16:03:20 +03:00
Zalim Bashorov de5dc61820 Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error 2015-10-18 22:49:08 +03:00
Stanislav Erokhin d5dbc9638d Added static methods, nested classes and companion object from superclasses. 2015-10-16 20:42:34 +03:00
Alexander Udalov 6a965c9a06 Update IDE tests to use KProperty instead of PropertyMetadata 2015-10-14 20:45:55 +03:00
Michael Bogdanov bee0fb6283 Fix test data 2015-10-13 16:17:05 +03:00
Alexey Tsvetkov a564724fa8 Fix issues with incremental cache version change
#KT-9360 fixed
2015-10-13 16:12:15 +03:00
Alexey Tsvetkov af3f7dfafc Make test generated 2015-10-13 16:12:15 +03:00
Yan Zhulanow 1f2b4e20fe Replace get() and set() to getValue() and setValue() (property delegates) 2015-10-09 22:49:16 +03:00
Mikhail Glukhikh 2fee9d362c Local interfaces are forbidden now 2015-10-09 21:06:33 +03:00
Mikhail Glukhikh 6914d09297 Old backing field with dollar is now forbidden 2015-10-09 21:06:26 +03:00
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
Michael Nedzelsky bc6746b9e6 add tests for comparison of package members 2015-10-01 15:16:22 +03:00
Michael Nedzelsky c7b52bfdc1 fix KT-8977 Ignore non-public API changes for packages in incremental compilation
#KT-8977 Fixed
2015-10-01 15:16:18 +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 0035bbba7c fix check for internal from another module in imports and file level annotations 2015-09-27 20:37:41 +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