Commit Graph

214 Commits

Author SHA1 Message Date
Alexey Tsvetkov 8839938183 Simplify lazy caches tests
Original commit: c9012b10c5
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 675671f4d5 Test turning incremental compilation on/off
Original commit: e90dc047bd
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 0eb4f20d14 Test versioning of experimental incremental compilation
Original commit: a8b551e518
2015-12-02 20:56:36 +03:00
Yan Zhulanow 84fea1a41d Fix tests: "infix modifier required" and "operator modifier required" errors
Original commit: 9d1af5a17e
2015-11-27 15:51:11 +03:00
Zalim Bashorov 663d0f2e7e Return platform independent path in IncrementalCacheImpl::getClassFilePath
Fix ExperimentalIncrementalJpsTestGenerated.PureKotlin.testFunctionBecameInline on Windows.

Original commit: 93eb09a654
2015-11-24 16:05:46 +03:00
Mikhail Glukhikh cc0adf19a9 Exposed visibility deprecation warnings made errors + relevant test fixes
Original commit: 4e44466cf9
2015-11-20 15:21:01 +03:00
Michael Nedzelsky e6af8e20a5 fix KT-10064 Regression: Error with multiple main functions within a single package
#KT-10064 Fixed

Original commit: aa8f3df9a8
2015-11-19 19:59:27 +03:00
Dmitry Petrov cdda7e87f7 Drop createQualifier: testData update
Original commit: 9856af48ca
2015-11-18 14:35:53 +03:00
Dmitry Petrov fdef6653e2 Properly resolve values in 1st qualifier part (see implicitReceiverProperty test).
Look into QUALIFIER for left-most "unrolled" qualified expression
    in CallExpressionResolver#getQualifiedExpressionTypeInfo.
Drop some unused functions.

Original commit: b532fa2bbf
2015-11-18 14:35:53 +03:00
Dmitry Petrov 33e89e9c16 Reuse package/class qualifier prefix resolution for qualified expression resolution.
Original commit: 3556f9751e
2015-11-18 14:35:52 +03:00
Mikhail Glukhikh 97f2891ae9 Diagnostics corrected for smart cast impossible
Original commit: 03287d5d66
2015-11-17 10:26:26 +03:00
Michael Nedzelsky a3fd9b8209 Hack for checking access to internal declarations during incremental compilation
Original commit: e5e4f9e775
2015-11-17 00:26:43 +03:00
Nikolay Krasko 6f3c2c1493 Test that fails with package prefixes but works good without them
Original commit: 33fd247bde
2015-11-12 19:19:42 +03:00
Zalim Bashorov 8c43a177db Add new tests for incremental compilation and disable the one for current IC
Original commit: ca71f929f9
2015-11-12 13:43:25 +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
Zalim Bashorov b00f51c523 Make accessingFunctionsViaRenamedFileClass test more sensible
Original commit: 5ca7ce2b50
2015-11-12 13:43:22 +03:00
Michael Nedzelsky ba12afbbb9 fix access from tests to internal elements in production code in case of circular dependency
Original commit: 5b59fc74bc
2015-11-11 19:16:21 +03:00
Nikolay Krasko b77f4ffe9f Teach index working with source roots with package prefix
#KT-9167 Fixed

Original commit: 23e35ab112
2015-11-10 01:50:09 +03:00
Michael Nedzelsky 02543e165b 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

Original commit: 981d471ebe
2015-11-06 07:45:46 +03:00
Zalim Bashorov 35cb01217e Add tests for lookups to enum static scope and to companion object scope
Original commit: 04fed203e4
2015-11-04 22:15:37 +03:00
Zalim Bashorov 1a566ee995 Track lookups for nested/inner Java classes
Original commit: a6855116b8
2015-11-04 22:09:55 +03:00
Stanislav Erokhin dbef220656 Minor. fix testdata
Original commit: 87f32ef07b
2015-11-04 14:28:29 +03:00
Mikhail Glukhikh 71ad871488 More precise diagnostics of smart cast impossible #KT-7240 Fixed
Original commit: 41ebfd025e
2015-11-03 13:38:51 +03:00
Zalim Bashorov 64a1cac2b9 Add test for lookups in generic constraints; Add cases with lookup to companion and nested object;
Original commit: 5d72629b0b
2015-11-02 18:18:37 +03:00
Zalim Bashorov e41b323fb4 Add tests for lookups to declarations form Java
Original commit: 4cb5398c04
2015-11-02 18:18:32 +03:00
Zalim Bashorov ee0ec87da6 Add tests for lookups to deserialized and java scopes
Original commit: 519172f182
2015-11-02 18:18:32 +03:00
Zalim Bashorov 171bfa8d67 Minor: fix testdata
Original commit: 3484c43c8c
2015-11-02 18:18:31 +03:00
Michael Nedzelsky 731268085f 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

Original commit: 6ebe0c30ec
2015-10-30 14:40:46 +03:00
Zalim Bashorov d7a4c9a54d Track lookups in JavaSyntheticPropertiesScope
Original commit: a5708c9c0d
2015-10-27 19:38:32 +03:00
Yan Zhulanow 4899abe828 Fix incremental test (DefaultImpls are not generated for an empty interface)
Original commit: 10eed8f7cd
2015-10-27 02:46:57 +03:00
Dmitry Petrov abac00df69 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

Original commit: 1a58636ea9
2015-10-22 11:37:01 +03:00
Dmitry Petrov 3b8d50f06e OverloadResolver:
fix redeclaration diagnostics issue in incremental compilation (KT-6165)
J2K: OverloadUtil.kt

Original commit: 5170341624
2015-10-22 10:45:49 +03:00
Max Kammerer 13aedbd161 Incremental compilation test data update after making package property backing field private
Original commit: 715893446c
2015-10-19 21:21:02 +03:00
Alexey Tsvetkov 406783b53d Code cleanup
Original commit: e9e42b0251
2015-10-19 20:45:03 +03:00
Alexey Tsvetkov b4033f2bcd Fix tests
Original commit: 6f96484e1f
2015-10-19 20:45:03 +03:00
Dmitry Petrov 1bd1fbeee4 Drop package facades:
- update tests
- cleanup JetTyMapper after rebase

Original commit: dda508234f
2015-10-19 16:03:22 +03:00
Dmitry Petrov 099d588802 Drop package facades: fix testData for IncrementalProjectPathCaseChangedTest
Original commit: 639300a89d
2015-10-19 16:03:21 +03:00
Dmitry Petrov 70ff0d9676 Drop package facades: fix testData for IncrementalLazyCachesTestGenerated
Original commit: ac1f0efe7c
2015-10-19 16:03:21 +03:00
Dmitry Petrov f0cd2702cb Drop package facades: fix incremental compilation tests & proto comparison tests
(package facades are no longer generated)

Original commit: 621d26aeeb
2015-10-19 16:03:21 +03:00
Dmitry Petrov 848216756d Drop package facades:
- update incremental compilation tests

Original commit: f227908151
2015-10-19 16:03:21 +03:00
Dmitry Petrov c26a7dfd29 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

Original commit: c55106a325
2015-10-19 16:03:20 +03:00
Zalim Bashorov 86acb982e5 Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error
Original commit: de5dc61820
2015-10-18 22:49:08 +03:00
Stanislav Erokhin 3f18729d01 Added static methods, nested classes and companion object from superclasses.
Original commit: d5dbc9638d
2015-10-16 20:42:34 +03:00
Alexander Udalov 4a10df80fb Update IDE tests to use KProperty instead of PropertyMetadata
Original commit: 6a965c9a06
2015-10-14 20:45:55 +03:00
Michael Bogdanov ba98b64776 Fix test data
Original commit: bee0fb6283
2015-10-13 16:17:05 +03:00
Alexey Tsvetkov c8f50089a8 Fix issues with incremental cache version change
#KT-9360 fixed

Original commit: a564724fa8
2015-10-13 16:12:15 +03:00
Alexey Tsvetkov 9d7712fdf6 Make test generated
Original commit: af3f7dfafc
2015-10-13 16:12:15 +03:00
Yan Zhulanow 6e19e8c055 Replace get() and set() to getValue() and setValue() (property delegates)
Original commit: 1f2b4e20fe
2015-10-09 22:49:16 +03:00
Mikhail Glukhikh adda278298 Local interfaces are forbidden now
Original commit: 2fee9d362c
2015-10-09 21:06:33 +03:00
Mikhail Glukhikh 533a26ef9d Old backing field with dollar is now forbidden
Original commit: 6914d09297
2015-10-09 21:06:26 +03:00