Michael Nedzelsky
8cd978bfd8
add tests for KT-8158 make Kotlin compiler invoked from IDEA cancellable
2015-07-03 16:14:08 +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
fe3437e8a1
Fixed iml files in test data. Order entry for own sources is obligatory.
2015-06-01 19:02:12 +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
Evgeny Gerashchenko
37d6c9bf25
Minor. Fixed typo in test data.
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
Nikolay Krasko
3c7e7ffda6
Place light classes finder before standard PsiElementFinderImpl
...
Source elements should have priority over libraries.
2015-05-13 21:32:09 +03:00
Nikolay Krasko
2d8dcaddd0
Compile modules with circular dependency as one module
2015-05-06 14:19:20 +03:00
Michael Nedzelsky
563ab47502
JS: add jps build test for Kotlin/Javascript two-module project
2015-04-03 05:36:13 +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
Yan Zhulanow
b7f8496e5b
Move Android JPS plugin tests to android-jps-plugin module
2015-02-26 15:25:47 +03:00
Mikhail Mutcianko
95fd4006d9
fix android jps build test case
...
- add proper way of setting up android sdk for jps
- add missing android plugin runtime library
2015-02-26 15:25:38 +03:00
Mikhail Mutcianko
1912b2b0ec
add android jps builder test stub
...
wtf
2015-02-26 15:25:35 +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
Evgeny Gerashchenko
c60797e306
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.
2015-01-19 15:36:57 +03:00
Evgeny Gerashchenko
72687758a5
Rebuilding dependent modules.
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko
00f2ba5124
Test with Java and Kotlin changed simultaneously.
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko
967f470b16
Added multi-module tests on incremental compilation.
...
Changing code wasn't required, Java's incremental caches were enough.
2015-01-19 15:36:55 +03:00
Evgeny Gerashchenko
2b438a286f
Updated test data according to changes in IDEA.
2015-01-16 20:19:37 +03:00
Evgeny Gerashchenko
c6c3e5a4c6
Updated test data according to JPS. Behavior is still wrong, but it is work in progress on IDEA side.
2014-12-20 15:06:53 +03:00
Michael Nedzelsky
d909a66d4d
do not copy js files from libraries in case of compile errors
2014-12-16 21:37:46 +03:00
Evgeny Gerashchenko
7924568355
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
2014-12-16 16:33:41 +03:00
Evgeny Gerashchenko
8de11e4664
Added test checking that we don't create Kotlin incremental caches for targets without Kotlin.
2014-12-15 16:46:27 +03:00
Michael Nedzelsky
bd090d0e5f
add tests for jps-plugin (Kotlin Javascript projects)
2014-12-12 03:04:19 +03:00
Evgeny Gerashchenko
4e702e34f0
Fixed incremental compilation, when removing all callables from file.
2014-12-10 14:28:21 +03:00
Evgeny Gerashchenko
153272a189
Updated test data for tests according to change in JPS.
...
These tests were not deterministic. Now they are. When package facade's sources change (files added to package, etc), all package gets recompiled now. Behavior is tolerable, but not very desirable.
2014-12-09 12:08:03 +03:00
Evgeny Gerashchenko
9c880de735
Compilation errors are rendered to log without "Kotlin:ERROR:" prefix and without path to file. Sometimes javac adds path to file, sometimes doesn't. This had led tests to fail on some platforms.
2014-11-26 18:42:24 +03:00
Evgeny Gerashchenko
19ad2406ff
Moved test data into common directory.
2014-11-26 14:32:12 +03:00
Evgeny Gerashchenko
adcd4d4ca0
Fixed case of file name.
2014-11-26 14:32:11 +03:00
Michael Bogdanov
5412a67d29
Generate static backing fields for properties in object
...
#KT-4973 Fixed
2014-11-20 10:20:31 +03:00
Evgeny Gerashchenko
1a374efcd1
Fixed KNPE when inline functions/constants are completely removed.
2014-11-12 16:25:01 +03:00
Evgeny Gerashchenko
155775f925
Minor. Added test when compilation error is introduced and fixed in other package.
2014-11-07 14:52:02 +03:00