Dmitrii Gridin
2fbde7a85c
[Analysis API] reuse PsiClassRenderer for PsiType render
...
To align the format with light classes as now we are powered by them
^KT-66603
2024-03-19 13:57:23 +00:00
Dmitrii Gridin
3c8a95e623
[LC] render all type annotations in tests
...
^KT-66603
2024-03-19 13:57:23 +00:00
Dmitrii Gridin
717dd08fd4
[LC] PsiClassRenderer: render type parameter annotations
...
^KT-65112
2024-02-15 15:18:02 +00:00
Dmitrii Gridin
51cc799204
[SLC] fix flaky test
2023-08-21 20:46:25 +00:00
Dmitrii Gridin
6c24436657
[SLC] make INSTANCE field for object public
...
^KT-56441 Fixed
2023-02-06 17:48:37 +00:00
Dmitrii Gridin
e021655001
[LC] AbstractCompilerLightClassTest: add an additional test extension
...
^KT-56046
2023-02-03 19:49:02 +00:00
Dmitrii Gridin
2e2e633113
[LC] fix PsiClassRenderer
2023-01-02 15:05:43 +00:00
Dmitrii Gridin
a7fae5fd99
[SLC] SymbolLightClassForEnumEntry: improve implementation
...
^KT-54051
^KT-50241
2022-11-29 13:33:35 +00:00
Dmitriy Novozhilov
c34f952126
[Test] Render annotations on enum entries in PSI class renderer
2022-09-15 17:27:20 +03:00
Jinseong Jeon
199219483e
FIR LC: set modifier list as a parent of light annotations
...
^KTIJ-22354 Fixed
2022-08-03 08:57:37 +02:00
Jinseong Jeon
b18999be82
FIR/LC: filter out scripts for facade creation
...
^KTIJ-22016 Fixed
2022-06-20 17:38:50 +02:00
Stanislav Erokhin
f455141ade
[ULC] Fix rendering for Foo.class in annotation value
...
Previously it was Foo::class, but it isn't correct because in java it
is Foo.class
P.s. Array<Foo> cannot be passed as annotation parameter
2021-11-01 10:38:09 +00:00
Dmitry Petrov
851980e36f
JVM_IR KT-45103 optimize direct invoke for lambdas and callable refs
2021-05-18 22:20:12 +03:00
Igor Yakovlev
dbb54c87bc
[FIR IDE] Add Fir lightclasses tests and fix FindUsages tests
2020-11-11 21:02:00 +03:00
Igor Yakovlev
e08763f3dd
[ULC] Add annotations for PsiTypes in UltraLight classes
...
WIP on KT-41148, KT-41406, KT-41420
2020-09-11 12:49:05 +03:00
Igor Yakovlev
309bf49a83
Update lightclass tests renderer
...
+mute invalid old light classes tests
2020-09-11 12:49:04 +03:00
Alexander Udalov
a21f273570
Fix compiler warnings in compiler code
2020-08-17 21:18:20 +02:00
Mikhail Bogdanov
420dd0d440
Extract directive map to separate class
2020-03-19 16:45:10 +01:00
Mikhael Bogdanov
ab7e71fd68
Support per files test directives
2020-03-19 16:45:10 +01:00
Mikhael Bogdanov
ae9a91e17d
Switch 'AbstractCompilerLightClassTest' to new scheme with configuration kind
2020-03-04 14:51:19 +01:00
Mikhael Bogdanov
59679476f6
Always create test files, directive processing would be based on them
...
This is required for extracted 'getTestJdkKind' in previous commits
2020-03-04 14:51:16 +01:00
Mikhael Bogdanov
7040857d77
Convert KotlinMultiFileTestWithJava.java to Kotlin
2020-03-04 14:51:14 +01:00
Mikhael Bogdanov
999b762288
Merge 'getTestJdkKind' and 'getJdkKind' and move to base class
2020-03-04 14:51:12 +01:00
Mikhael Bogdanov
a795c38eb7
Introduce base class for codegen and diagnostic tests
...
Extract base TestFile and TestModule classes.
Move coroutinePackage related logic to base class
2020-03-04 14:51:10 +01:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Nikolay Krasko
062a212b61
Don't build light classes for local classes with parse errors (KT-24323, EA-107235)
...
Also use checks for building light classes in `getLightClassDataHolder`.
2018-05-16 12:55:09 +03:00
Nikolay Krasko
15a704fe36
Use comment directive for not generated case to be valid Java file
2018-05-16 12:55:08 +03:00
Ilmir Usmanov
f60787d57c
Move coroutines to kotlin.coroutines package: tests
...
Introduce COMMON_COROUTINES_TEST directive.
Every test with this directive is run twice: one time with
language version 1.2 and kotlin.coroutines.experimental package
and the other time with language version 1.3 and kotlin.coroutines
package. Each run is a separate method: with suffixes _1_2 and _1_3
respectively.
However, since codegen of release coroutines is not supported in JS
backend, we generate only one method: with suffix _1_2.
#KT-23362
2018-04-23 21:51:59 +03:00
Pavel V. Talanov
f421181e16
Split LightClassGenerationSupport into separate entities
...
LightClassGenerationSupport:
Includes utilities related to generating light classes
Primary client of this service are KtLight* implementation classes
KotlinAsJavaSupport:
Provides APIs to transform kotlin code into Psi* entities
Primary client of this service is JavaElementFinder
2018-03-12 12:04:59 +01:00
Mikhael Bogdanov
f529069077
Move common test parts to tests-common. Minify test jar dependencies
2017-11-28 11:04:39 +01:00
Alexander Udalov
33549362cb
Move compiler/tests-common/{src -> tests}, adjust dependencies
2017-10-31 07:36:45 +01:00