Ilya Chernikov
d039d191f2
Fix tests in the new build infrastructure
2017-09-19 23:58:30 +02:00
Ilya Chernikov
a61facf3d1
Clean most of the shared source roots conflicts
2017-09-19 23:58:29 +02:00
Alexander Podkhalyuzin
3f8170d369
Clean idea files generated on the gradle import, add them to .gitignore
2017-09-19 23:58:27 +02:00
Ilya Chernikov
336e24b837
Fix project structure after rebase on master
2017-09-19 21:37:25 +02:00
Ilya Chernikov
b6c255cea5
Refactor: project renaming, using improved build dsl
2017-09-19 21:37:22 +02:00
Ilya Chernikov
96d5e0bb21
Refactoring - renaming projects, applying sourceSets DSL
2017-09-19 21:37:18 +02:00
Ilya Chernikov
513ab08edd
Refactor and clean preloader project
2017-09-19 21:37:16 +02:00
Ilya Chernikov
61dfb75e0e
Implement Gradle Kotlin DSL build
2017-09-19 21:37:06 +02:00
Nikolay Krasko
6fd3ce07b3
Force remove JpsModel in BaseKotlinJpsBuildTestCase tests
2017-09-08 12:56:28 +03:00
Alexey Tsvetkov
cb1ffdccd7
Add test where unused file is removed
2017-08-29 04:28:10 +03:00
Alexey Tsvetkov
cf72b14b34
Fix typo in test name
2017-08-29 04:28:08 +03:00
Alexey Tsvetkov
141c889a84
Make test case more useful
2017-08-29 04:28:08 +03:00
Alexey Tsvetkov
5f9bad5905
Add JS specific build logs to inline properties IC tests
...
Unlike the JVM target platform, the JS back-end does
not track getters' and setters' usages separately,
so when either accessor of some property is changed,
all usages of that property will be rebuilt.
2017-08-29 04:28:07 +03:00
Alexey Tsvetkov
73b63bb343
Refactor inline properties tests
2017-08-29 04:28:07 +03:00
Alexey Tsvetkov
b73d5cbe1f
Mock constant search in JPS tests
2017-08-29 04:28:06 +03:00
Alexey Tsvetkov
2312013c41
Move JVM specific IC tests to separate dir
2017-08-29 04:28:06 +03:00
Alexey Tsvetkov
556c43ae00
Update lookup tracker test "classifierMembers"
...
Before the change, the initial build has been failing,
so lookups from deserialized descriptors were not tested.
2017-08-29 04:28:06 +03:00
Alexey Tsvetkov
4a591bf5b6
Avoid processing JS IC output when compilation failed
2017-08-29 04:28:05 +03:00
Alexey Tsvetkov
919daefb0e
Rename IncrementalCacheImpl->IncrementalJvmCache
2017-08-29 04:28:04 +03:00
Alexey Tsvetkov
1c4ada2008
Fix searching serialized classes package contains multiple fragments
2017-08-29 04:28:03 +03:00
Alexey Tsvetkov
0a5fe3ef7c
Move JVM specific IC tests with class hierarchy changes
2017-08-29 02:24:38 +03:00
Alexey Tsvetkov
e16c5ddb97
Avoid using JVM only APIs in IC tests to reuse with JS
2017-08-29 02:24:38 +03:00
Alexey Tsvetkov
23bc907d3f
Move multi-module IC tests to separate dir
...
At the moment they are used only with JPS
2017-08-29 02:24:37 +03:00
Alexey Tsvetkov
166883d847
Move JVM specific IC test data to separate dir
2017-08-29 02:24:37 +03:00
Alexey Tsvetkov
7810da7018
Add IC compiler tests with Java
2017-08-29 02:24:37 +03:00
Alexey Tsvetkov
4aea9b349c
Refactor incremental services
2017-08-29 02:24:37 +03:00
Alexey Tsvetkov
6fedf07f56
Introduce ChangesCollector
2017-08-29 02:24:37 +03:00
Alexey Tsvetkov
9727ec401b
Remove Target parameter from GeneratedFile
2017-08-29 02:24:36 +03:00
Alexey Tsvetkov
d1fd88fb8e
Minimize usage of TargetId in IC
2017-08-29 02:24:36 +03:00
Mikhail Glukhikh
3623f581b8
Eliminate a set of warnings, mostly nullability ones
2017-08-18 15:10:27 +03:00
Sergey Igushkin
71bf649b1e
Fix compilation error in AbstractLookupTrackerTest.kt
2017-08-14 19:27:50 +03:00
Alexey Tsvetkov
0226d15d29
Normalize paths in AbstractLookupTrackerTest
...
Otherwise the tests are failing on Windows
2017-08-11 20:51:06 +03:00
Alexey Tsvetkov
99439620d4
JPS: completely skip chunk containing only dummy targets
...
Such chunks were added in intellij-community, see
commit fdeae7754c593e78b6748dfa66ce7198c2780d35
(https://github.com/JetBrains/intellij-community/commit/fdeae7754c593e78b6748dfa66ce7198c2780d35 )
2017-08-10 22:05:48 +03:00
Alexey Tsvetkov
239943867b
Add JS specific proto comparison test
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
0d3b882852
Add proto comparison tests where members annotations are changed
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
6354d9d54f
Treat SEALED_SUBCLASS_FQ_NAME_LIST change as a class signature change
...
#KT-19580
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
856276328e
Treat JS class annotation list change as class signature change
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
e0ef08cf18
Add raw ProtoCompareGenerated output to proto comparison test data
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
642c5414a3
Minor: rename js.result.out->result-js.out
...
This way result.out and result-js.out are closer in
a list of files (e.g. in Intellij project view).
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
7e7fcd352c
Compare lookups after comparing build logs
...
This way tests are more informative when
compilation goes wrong.
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
82c977f2d2
Add JS lookup tracker tests
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
6cfd090b20
Extract JVM lookup tracker tests
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
f3f7ca4b95
Show in lookup tracker log if there is no lookups in file
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
ab90221a93
Minor: reformat AbstractLookupTrackerTest#runCompiler
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
485e2345a9
Decouple lookup tracker tests from JPS
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
bb2fab5b5d
Extract LookupTracker service from IncrementalCompilationComponents
...
We don't need a `TargetId` to `IncrementalCache` mapping in JS
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
a4c7dbd693
Remove .touch actions for lookup test cases that fail to compile
...
It is useless to touch and recompile, because the first compilation
has failed anyway
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
61b3c1c429
Do not print NONE changes in proto tests
...
otherwise MainKt: NONE is added in all js tests
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
1cce1ef1f6
Isolate JS compiler in proto tests
...
Proto tests are still in the 'jps-tests' module
which is included in non-compiler tests.
It is not safe to call the compiler
directly in non-compiler tests
because it might affect IDE tests.
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
ed5b6e07aa
Implement JS proto comparison
2017-08-10 21:19:41 +03:00