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
bc7e18fb8a
[TEST] Regenerate tests after previous commit
2020-12-16 19:52:28 +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
Mikhail Glukhikh
037c505069
Unbind general FirDiagnostic from PsiFile & PsiElement
2020-11-26 08:37:49 +03:00
Mikhail Glukhikh
1795c4f3e5
Implement common Diagnostic(Factory/Renderer) in related FIR classes
2020-11-26 08:37:46 +03:00
Ilmir Usmanov
3b5706972e
Extract effect from lambda argument if it is in parentheses
...
Otherwise, contracts on the parameter have no effect.
#KT-42044 Fixed
#KT-26229 Fixed
2020-10-12 20:16:19 +02:00
anastasiia.spaseeva
31de584d14
[Spec tests] Generate sections json map
2020-10-01 12:32:22 +03:00
anastasiia.spaseeva
5c0528b61e
[Spec tests] Add tests for primary constructors declaration
2020-07-28 20:26:33 +03:00
anastasiia.spaseeva
0488dc985f
[Spec tests] Add tests for intersection and OR
2020-07-28 20:26:32 +03:00
anastasiia.spaseeva
46774fb6d6
[Spec tests] Add call without an explicit receiver tests for top-level non-extension functions
2020-07-28 20:26:32 +03:00
anastasiia.spaseeva
4ad3847224
[Spec tests] Add tests for subtyping rules for simple classifier type
2020-07-28 20:26:30 +03:00
anastasiia.spaseeva
1801344c76
[Spec tests] Add tests for inner-and-nested-type-contexts section
2020-07-28 20:26:29 +03:00
anastasiia.spaseeva
d5ddb26180
[Spec tests] Add overload resolution tests for plus assign operator call
2020-07-28 20:26:28 +03:00
anastasiia.spaseeva
4db209648d
[Spec tests] Update spec version
2020-07-28 20:26:26 +03:00
anastasiia.spaseeva
3f862830f2
[Spec tests] Add tests for resolving callable references and some co-tests
2020-07-28 20:26:24 +03:00
anastasiia.spaseeva
cfbfec77a5
[Spec tests] Add tests for Algorithm of MSC selection
2020-07-28 20:26:23 +03:00
anastasiia.spaseeva
73850e97d7
[Spec tests] Add test for Coercion to Unit error diagnostics absence
2020-07-28 20:26:22 +03:00
anastasiia.spaseeva
26ac87d9be
[Spec tests] Update spec testData
2020-07-28 20:26:21 +03:00
Vladimir Dolzhenko
9319c4c96e
DryRun mode for GenerateTests is added
...
Relates to #KTI-17
2020-06-08 19:05:10 +00:00
anastasiia.spaseeva
5ba9d09278
[Spec tests] Fix fir test runner for spec tests
2020-05-26 17:27:06 +03:00
anastasiia.spaseeva
d9160a26e9
[Spec tests] Add property helpers to testMaps
2020-05-22 02:52:02 +03:00
anastasiia.spaseeva
cbba52e43c
[Spec tests] Make collectInfoFromTests for both spec and implementation tests
2020-05-22 02:52:01 +03:00
anastasiia.spaseeva
270972ca1c
[Spec tests] Make main link nullable for case if implementation tests don't have this one
2020-05-22 02:52:00 +03:00
anastasiia.spaseeva
3a46b5a45a
[Spec tests] Add path element at testMaps for main links also
2020-05-22 02:52:00 +03:00
anastasiia.spaseeva
d94c212a60
[Spec tests] Add linkType element to testMaps
2020-05-22 02:51:59 +03:00
anastasiia.spaseeva
3a31150df4
[Spec tests] Metadata refactoring: remove duplicated links in testMaps
2020-05-22 02:51:58 +03:00
anastasiia.spaseeva
d32aca87d1
[Spec tests] Change metadata structure of implementation and spec tests
2020-05-22 02:51:57 +03:00
Denis Zharkov
04076ea748
Add FIR version of spec diagnostic tests
2020-04-21 09:52:52 +03:00
Denis Zharkov
26cb0ba144
Prepare spec tests for FIR version
2020-04-21 09:52:52 +03:00
Denis Zharkov
9be2fc9b12
Sort excluded dirs in generated spec tests
...
To make the order more stable and platform-independent
2020-04-21 09:52:52 +03:00
anastasiia.spaseeva
b1dbacf45f
[Spec tests] Fix test-info parser for relevant places
2020-04-01 16:30:24 +03:00
anastasiia.spaseeva
9f684bfd65
[Spec tests] Add tests for call-with-specified-type-parameters
2020-04-01 16:30:23 +03:00
anastasiia.spaseeva
0397470b85
[Spec tests] Update tests with spec version 0.1-313
2020-03-30 19:12:55 +03:00
Victor Petukhov
c8206c4666
[Spec tests] Fix mistakes during parsing compiler tests to extract spec links
2020-03-30 16:40:57 +03:00
anastasiia.spaseeva
90d1cdf2e1
[Spec tests] Add tests for section call-with-trailing-lambda-expressions
2020-03-30 11:15:55 +03:00
anastasiia.spaseeva
4736b3b348
[Spec tests] Add tests for call-with-named-parameters
2020-03-30 11:15:55 +03:00
anastasiia.spaseeva
bb1ee952ba
[Spec tests] Add tests for call-without-an-explicit-receiver, receivers
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
35de6a3f6e
[Spec tests] Add tests for overload-resolution, building-the-overload-candidate-set-ocs, operator-call:
...
-properties available through the invoke convention are non-eligible for operator calls
-smart casts and overload-resolution
-candidate sets
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
4301744d2d
[Spec tests] Add test for infix fun + KT-36786
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
c9bb994fb5
[Spec tests] Add tests to check overload resolution for implicitly imported infix functions
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
9711fda353
[Spec tests] Add tests for property-like callables prioritization
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
157e33d08b
[Spec tests] Add tests for receivers prioritization
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
3b35374186
[Spec tests] Add diagnostics tests for building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
81b6e5a373
[Spec tests] Add box tests for callables-and-invoke-convention to check priority
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
5986ffae1e
[Spec tests] Add tests for expressions and statements
2020-03-30 11:15:53 +03:00
anastasiia.spaseeva
509036b08b
[Spec tests] Update spec tests metadata
2020-03-30 11:15:53 +03:00
anastasiia.spaseeva
1caafdc9d4
[Spec tests] Updating tests for kotlin 1.4.0
2020-03-30 11:15:53 +03:00
victor.petukhov
f62901d7d9
[Spec tests] Actualize spec tests
2020-03-30 11:15:52 +03:00