Ivan Kylchik
37f02390ec
[TESTS] Extract common backend directives into ConfigurationDirectives
2021-11-08 23:50:33 +03:00
Dmitriy Novozhilov
e56c87a17a
[Build] Move utils for generation JUnit 5 tests to :generators module
2021-10-12 17:26:18 +03:00
Dmitriy Novozhilov
ca40cbede5
[Test] Get rid of BackendKindExtractor
2021-08-02 20:07:49 +03:00
Dmitriy Novozhilov
a66f3d26fd
[Test] Replace three fixed phases of tests with step system
...
Now each test is just a sequence of any number of different steps. There
are two kinds of steps:
1. Run some facade
2. Run handlers of specific artifact kind
Through the test each module passed to each step (if it is compatible
by kinds of artifacts)
2021-08-02 20:07:45 +03:00
Ivan Kylchik
2a5153f0fd
Move visualizer black box tests generator to separate class
2021-03-31 19:46:23 +03:00
Ivan Kylchik
736efe0403
[VISUALIZER] Edit black box test to run visualizer on all modules
2021-03-29 18:11:24 +03:00
Ivan Kylchik
097b5a74fb
[VISUALIZER] Rewrite black box runner using callback to TestRunner
2021-03-29 18:11:23 +03:00
Ivan Kylchik
0f70ec032d
[VISUALIZER] Add new visualizer tests processing codegen box test data
2021-03-29 18:11:21 +03:00
Ivan Kylchik
29920d729f
[VISUALIZER] Remove unnecessary abstract property frontendFacade
...
Right frontend facade will be chosen by frontendKind
2021-03-29 18:11:20 +03:00
Ivan Kylchik
0160174c7a
Extract VisualizerDirectives to separate file
2021-03-19 18:30:34 +03:00
Ivan Kylchik
de351d8bd3
Extract output handlers in visualiser's tests to separate files
2021-03-19 18:30:33 +03:00
Ivan Kylchik
6a439ad186
Add Test postfix to Abstract(Psi|Fir)Visualizer classes
2021-03-19 18:30:31 +03:00
Ivan Kylchik
13ef126d4c
[VISUALIZER] Remove ignore directive from correct test files
2021-03-19 18:30:27 +03:00
Ivan Kylchik
919591909e
Update test data for compiler visualizer
2021-03-19 18:29:56 +03:00
Ivan Kylchik
4ac38e5f29
Rewrite compiler visualizer tests using new test infrastructure
2021-03-19 18:29:55 +03:00
Dmitriy Novozhilov
f82c7c4678
[FIR] Cleanup session creation utils
2021-03-11 13:10:04 +03:00
Dmitriy Novozhilov
908732b3c1
[TEST] Move generated visualizer tests to test-gen directories
2020-11-27 12:55:48 +03:00
Ilya Kirillov
7611135a4a
FIR: add raw fir building delegate expression test
2020-10-14 22:11:04 +03:00
Ilya Kirillov
3f9735dd5d
FIR: use enum in RawFirBuilder to indicate its mode: normals, stubs, or lazy bodies
2020-10-14 22:11:00 +03:00
Alexander Udalov
7fb7dc0210
Fix deprecation warnings related to Project extensions
2020-09-08 20:26:20 +02:00
Arsen Nagdalian
b8b60864fd
[FIR] Add contracts tests and place them in a separate directory
2020-08-25 12:58:39 +03:00
Dmitriy Novozhilov
41cdb61ef3
[FIR] Move all symbol providers to separate package
2020-05-29 10:20:57 +03:00
Dmitriy Novozhilov
8d686226c7
[FIR] Introduce FirResolveProcessors
2020-05-24 18:04:47 +03:00
Dmitriy Novozhilov
24c8a659ee
[FIR] Add FirSession as parameter for FirTotalResolveTransformer
2020-05-20 10:40:55 +03:00
Denis Zharkov
6fdbc38cf1
FIR: Fix label/receiver for lambda within infix calls
...
While this fix only changes label name, it's important for proper
lambda resolution because receiver is set for a lambda
only in presence of a label
This commit fixes a lot of checkType calls in diagnostic tests
2020-04-21 09:52:52 +03:00
Dmitriy Novozhilov
a446aa2266
[FIR] Set implicit type for delegated constructor calls in fir builder
2020-04-17 12:37:28 +03:00
Dmitriy Novozhilov
4e1bf5f1e2
[FIR] Add extracting contracts in raw fir builder and light tree builder
2020-04-15 11:12:57 +03:00
Dmitriy Novozhilov
6c9dd8bb22
[FIR] Reorganize modules of raw fir builders
2020-03-25 18:07:27 +03: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
46397dca4a
Switch 'AbstractVisualizer' to new scheme with configuration kind
2020-03-04 14:51:20 +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
Mikhail Glukhikh
2b05320ae9
[Raw FIR] Synchronize enum entry building in PSI / light AST modes
2020-01-10 10:23:51 +03:00
Alexander Udalov
8a4510c21b
Regenerate tests
2020-01-02 10:31:00 +01:00
Simon Ogorodnik
1715f1a864
[FIR] Refactoring: create use-site scopes via scope provider
2019-12-30 12:52:58 +03:00
Mikhail Glukhikh
a8a50fa657
Fix raw FIR building with parenthesized expression as selector
2019-12-27 09:57:34 +03:00
Dmitriy Novozhilov
e7f8c8e155
[TEST] Regenerate tests after previous commit
2019-12-12 16:11:45 +03:00
Dmitriy Novozhilov
43e621530f
[FIR] Add type parameters to FirQualifierExpression
...
It is needed for resolving qualifiers with type arguments
like `Array<String>::class`
2019-11-25 14:44:44 +03:00
Dmitriy Novozhilov
35dd1cf75a
[FIR] Fix binding return expression to function
2019-11-19 10:43:46 +03:00
Dmitriy Novozhilov
f0ba9c3c40
[FIR] Make file separator in AbstractVisualizer OS independent
2019-11-07 10:39:21 +03:00
Nikolay Krasko
4ed64b0283
Regenerate tests with TargetBackend.ANY remove and using runTest with this
2019-10-23 12:49:48 +03:00
Mikhail Glukhikh
4cd8b78779
FIR: eliminate most usages of FirSession.service() and getService()
2019-10-08 16:19:54 +03:00
Ivan Cilcic
24cce75899
Add FIR_IGNORE directive to test files that must be skipped
2019-08-30 11:54:21 +03:00
Ivan Cilcic
262f57d938
Add more tests in uncommonCases folder
...
1) dataClass.kt - test with data class
2) receiver.kt - test with Int extension receiver
3) delegation.kt - test with implementation by delegation
2019-08-30 11:50:35 +03:00
Ivan Cilcic
f0c7aadb20
Exctract common code from psi and fir visualizer classes
2019-08-30 11:50:33 +03:00
Ivan Cilcic
7a45155eb3
Create tests for fir visualizer
2019-08-30 11:50:33 +03:00
Ivan Cilcic
2179f97006
Create fir visualizer abstract test class and extract common code with psi tests
2019-08-30 11:50:32 +03:00