Dmitriy Novozhilov
e742af5444
[Test] Run fir diagnostics tests with light tree in sequential mode
...
In parallel mode many tests are failing so it's temporary workaround
2021-01-15 11:16:28 +03:00
Dmitry Savvinov
d6c27608ac
Minor: remove effectively unused test runner
2021-01-14 17:28:14 +03:00
Dmitriy Novozhilov
3c2079c926
[Test] Compute target backend in test generator automatically using reflection
2021-01-12 18:35:16 +03:00
Alexander Udalov
742fef9042
Rewrite generator for OperationsMapGenerated
...
Do not generate operations as lambdas; instead use `when` over
strings/enums, which is generated to tableswitch in the bytecode.
This reduces the proguarded compiler jar size by ~0.57%.
#KT-23565 Fixed
2021-01-12 14:38:41 +01:00
Dmitriy Novozhilov
d15c7861b2
[TEST] Invert dependency between :test-generator and :tests-common modules
...
This is needed to provide ability for declaring new implementations of
test generators, based on existing infrastructure, which won't add
dependency on :compiler:tests-common
Also this commit removes implicit dependency on :compiler:tests-common
from :compiler:tests-common-new
2020-12-16 19:52:29 +03:00
Dmitriy Novozhilov
9e2d691425
[TEST] Move utils for checking all files presented to KtTestUtil
...
This is needed to remove dependency on :tests-common from module
with abstract test generators
2020-12-16 19:52:27 +03:00
Dmitriy Novozhilov
64ce307f7f
[TEST] Drop mechanism for muting tests with .mute files
...
This mechanism is deprecated and replaced with muting in database (.csv files)
2020-12-16 19:52:27 +03:00
Dmitriy Novozhilov
f8ad096abb
[TEST] Mute tests in IC JS Klib tests using exclude pattern instead of .mute file
2020-12-16 19:52:27 +03:00
Dmitriy Novozhilov
32fda13ef9
[TEST] Implement test generators for junit 5 based tests
2020-12-16 19:52:23 +03:00
Dmitriy Novozhilov
c8f3a4802e
[TEST] Introduce test-infrastructure-utils module and extract common test utilities here
2020-12-16 19:52:22 +03:00
Dmitriy Novozhilov
23c088afd6
[TEST-GEN] Reorganize package structure in :generators:test-generator module
2020-12-16 19:52:20 +03:00
Dmitriy Novozhilov
380e8a3814
[TEST-GEN] Extract run of TestGenerator to top of test generation DSL
2020-12-16 19:52:19 +03:00
Dmitriy Novozhilov
2a73aaba4d
[TEST-GEN] Move all generation data to TestGroup.TestClass
2020-12-16 19:52:19 +03:00
Dmitriy Novozhilov
c51ea6b142
[TEST-GEN] Create abstract TestGenerator and move current generator logic to TestGeneratorImpl
2020-12-16 19:52:19 +03:00
Dmitriy Novozhilov
d45fb4dfd8
[TEST-GEN] Extract logic of generating test methods into separate abstraction MethodGenerator
2020-12-16 19:52:19 +03:00
Dmitriy Novozhilov
2acbe96f15
[TEST-GEN] Convert Test Generation DSL classes from java to kotlin
2020-12-16 19:52:19 +03:00
Dmitriy Novozhilov
31bccb4fb0
[TEST-GEN] Rename .java to .kt
2020-12-16 19:52:18 +03:00
Dmitriy Novozhilov
580d2ed693
[TEST-GEN] Add some comments to TestGenerationDSL
2020-12-16 19:52:18 +03:00
Igor Yakovlev
c2bf124d86
[FIR IDE] File symbol scope and symbol test
2020-12-16 12:29:54 +03:00
Ilya Kirillov
835577383b
FIR IDE: introduce expected type provider for return expressions
2020-12-15 22:15:56 +01:00
Ilya Kirillov
299f36183c
FIR IDE: add tests for completion weighers from old testdata
2020-12-15 22:15:53 +01:00
Ilya Kirillov
c61d4b5f9c
FIR IDE: introduce return statement target provider
2020-12-15 22:15:51 +01:00
Svyatoslav Kuzmich
602ed42b99
[Wasm] Move intrinsic generators to generators/wasm
...
Reason: avoid kotlin-stdlib-gen dependency on kotlinStdlib() via wasm.ir
2020-12-15 19:44:19 +03:00
Dmitriy Novozhilov
8c4b7ad1e1
[TEST] Drop generating tests for coroutines of Kotlin 1.2
2020-12-10 01:31:01 +03:00
Alexander Udalov
25c228297a
JVM IR: support noarg compiler plugin
...
#KT-41265 Fixed
2020-12-04 22:12:58 +01:00
Alexander Udalov
a06bffc4b9
Noarg: prohibit noarg for inner and local classes
...
Report warning if old JVM backend is used, and error for JVM IR, which
is supposed to be enabled as default in the next Kotlin release.
#KT-43725 Fixed
2020-12-04 22:12:58 +01:00
Dmitriy Novozhilov
986ab9cb54
Build: remove useless .as40 files
2020-11-28 14:25:54 +03:00
Ilya Kirillov
d5979ffded
FIR IDE: add tests for checking module invalidation
2020-11-27 23:14:57 +01:00
Ilya Kirillov
15277c0974
FIR IDE: introduce memory leak checking in symbols test
2020-11-23 15:30:36 +01:00
Ilya Kirillov
da7b12f7e1
FIR IDE: introduce ProjectWideOutOfBlockKotlinModificationTrackerTest
2020-11-23 15:30:12 +01:00
Ilya Kirillov
880e76b203
FIR IDE: introduce FIR IDE specific out of block modification tracker
2020-11-23 15:30:07 +01:00
Ilya Kirillov
6c1faec171
FIR IDE: introduce file structure tests
2020-11-23 15:30:05 +01:00
Ilya Gorbunov
d38e145529
Use new kotlin.io.path API in generators
2020-11-20 09:03:13 +03:00
Igor Yakovlev
dbb54c87bc
[FIR IDE] Add Fir lightclasses tests and fix FindUsages tests
2020-11-11 21:02:00 +03:00
Ilya Kirillov
71b5b6df7c
FIR IDE: add tests for lazy resolving single declaration in file
2020-10-14 22:10:58 +03:00
Roman Golyshev
0682084ca3
[FIR Completion] Generate part of performance tests for FIR completion
2020-10-08 11:10:50 +03:00
Ilya Kirillov
96422ea3fe
FIR IDE: introduce highlighting performance test
2020-10-07 19:45:01 +03:00
Roman Golyshev
2b76fe8a72
[FIR Completion] Enable basic insertion handler tests for FIR completion
...
Enable tests that are passing
2020-10-01 15:42:50 +03:00
Steven Schäfer
48b736e551
JVM IR: Enable evaluate expression tests for the JVM IR backend
2020-10-01 14:35:05 +02:00
Nikolay Krasko
2df030f583
as42: Apply 201 <-> AS41 diff
2020-09-29 15:32:32 +03:00
Igor Yakovlev
d2bdab2ef5
[FIR IDE] Add find usages tests for FIR plugin
2020-09-25 17:26:22 +03:00
Toshiaki Kameyama
37ba9eccc4
KT-31553 Complete Statement: Wrong auto-insertion of closing curly brace for a code block ( #2378 )
...
* Complete statement: wrap property initializer by run/when block
#KT-31553 Fixed
2020-09-25 16:04:03 +02:00
Yan Zhulanow
15b2850ee0
Parcelize: Add IDE support for the Parcelize compiler plugin with sources extracted from Android Extensions plugin (KT-40030)
2020-09-24 15:50:57 +09:00
Yan Zhulanow
b7796d63d8
Parcelize: Add the Parcelize compiler plugin with sources extracted from Android Extensions plugin (KT-40030)
2020-09-24 15:50:57 +09:00
Abduqodiri Qurbonzoda
36e6247125
Add more details about bit shift operations #KT-41112
2020-09-16 04:05:12 +03:00
Vladimir Ilmov
75d4c7e91c
Find stdlib usages test case
...
relates to #KT-39196
2020-09-09 17:30:04 +02:00
Ilya Kirillov
87898021a1
FIR IDE: introduce multi module lazy resolve tests
2020-09-02 11:16:17 +03:00
Ilya Kirillov
8714ad575f
FIR IDE: move FIR IDE completion tests to idea-fir module
2020-09-02 11:16:16 +03:00
Dmitriy Novozhilov
bc1b6d3588
Rename :core:descriptors.common to :core:compiler.common
2020-08-25 10:41:34 +03:00
Dmitriy Novozhilov
82a9b1492b
Move RenderingUtils to :core:descriptors.common module
2020-08-25 10:41:32 +03:00