Jinseong Jeon
eac9af521e
[FIR2IR] differentiate external Java stub origin from external stub
2020-05-08 17:45:39 +03:00
Dmitriy Novozhilov
4eb9eb0537
[FIR] Rename FirExtensionPoint to FirExtension
...
Also rename `FirExtensionPointService` to `FirExtensionsService`
2020-05-08 15:10:02 +03:00
Dmitriy Novozhilov
35cce7eedd
[FIR] Initialize extension service in all FIR tests
2020-05-08 15:09:57 +03:00
Dmitriy Novozhilov
7f8a8ca099
[FIR] Add ability to register extension points in diagnostic tests
2020-05-08 15:09:56 +03:00
Steven Schäfer
1f97486fdd
Parcelize: Improve testing infrarstructure
...
- Support newer android versions
- Allow testing against Java files using android APIs
- Update test expectations
- Auto-generate ParcelBoxTests
- Create tests for the JVM IR backend
2020-05-06 22:51:12 +02:00
Yunir Salimzyanov
550aa1ba59
Remove partial quotes in csv files
...
Cause: github do not want to render fields with such kind of quotes
2020-04-30 19:30:56 +03:00
Yunir Salimzyanov
cf8b29a636
Add missing commas to csv files
2020-04-30 19:30:56 +03:00
Yunir Salimzyanov
856d8e64a2
Escape fields with extra commas in csv for muted tests
2020-04-30 19:30:55 +03:00
Dmitriy Dolovov
90e888a1b6
Discriminate overloading expect MemberDescriptors
...
Issue #KT-38298
2020-04-28 13:16:18 +07:00
Mikhail Glukhikh
34ae35b2aa
Move FirJvmClassCodegen inside fir:fir2ir:jvm-backend #KT-38156 Fixed
...
This removes dependency of IR JVM backend from FIR
2020-04-28 07:35:13 +03:00
Jinseong Jeon
57fe01c375
FIR2IR: populate overriddenSymbols for overriding functions
...
#KT-38416 Fixed
2020-04-27 11:50:24 +03:00
Denis Zharkov
65e444a39c
FIR: Properly support local functions in DEBUG_INFO_CALL
2020-04-21 09:48:03 +03:00
Denis Zharkov
27b860682b
FIR: Support DEBUG_INFO_EXPRESSION_TYPE
2020-04-21 09:48:03 +03:00
Denis Zharkov
6cd1ae9c82
Prepare AbstractFirOldFrontendDiagnosticsTest to RawFirBuilders failures
2020-04-21 09:48:03 +03:00
Denis Zharkov
b62400124a
FIR: Support DEBUG_INFO_CALL calls in tests
2020-04-21 09:48:03 +03:00
Mikhail Glukhikh
4bb6410ce3
[FIR TEST] Temporary ignore overrideDefaultArgument test (KT-38416)
...
This test enters an infinite loop and can't finish
2020-04-20 17:05:35 +03:00
Dmitriy Dolovov
8d2e999776
HMPP: Parameterize NativePlatform with KonanTarget
2020-04-14 21:06:48 +07:00
Mikhail Bogdanov
dec93c8b49
Add ANDROID target
2020-04-14 13:53:22 +02:00
Mikhail Bogdanov
115cf4666e
Get rid of CodegenTestCase from CodegenTestsOnAndroidGenerator superclass
2020-04-14 13:53:22 +02:00
Nikolay Krasko
dbbb81c78d
201: Minor: remove author to fix conformance test
2020-04-13 19:50:59 +03:00
Mikhail Glukhikh
5c758af0a6
[FIR] Use ScopeSession from resolve transformer in FIR2IR
2020-04-09 15:22:55 +03:00
Ilya Gorbunov
fcada0a5e3
Make use of contracts of time measurement functions
2020-04-03 19:36:36 +03:00
Dmitriy Novozhilov
bb8d743741
[FIR-TEST] Throw RuntimeException instead of AssertionError in FirResolveBench
...
This is needed for better usability of testing of changes which
brake testdata and introduce new exceptions from compiler at same time
2020-04-03 10:08:23 +03:00
Nikolay Krasko
b199403c57
201: Revert adding RUN_SLOW_ASSERTIONS enabling in KtUsefulTestCase
2020-04-01 18:03:41 +03:00
Victor Petukhov
218c13efc5
[FIR] Remove links to spec sentences during comparison fir and old front-end test data
2020-03-30 11:15:55 +03:00
Victor Petukhov
a29385e758
[Spec tests] Small clean-up CheckerTestUtil and around it
2020-03-30 11:15:55 +03:00
Victor Petukhov
f76faaf1b0
[Spec tests] Unify platform dependent part of fixed exception
2020-03-30 11:15:53 +03:00
Dmitriy Dolovov
9bbfe9c1ac
Rename: KonanPlatform, KonanPlatforms -> NativePlatform, NativePlatforms
2020-03-29 23:20:52 +07:00
Alexander Udalov
9e014e462b
Do not use CommonPlatforms directly in CommonResolverForModuleFactory
...
This allows to get rid of dependency of this code on CommonPlatforms,
which depends on all platforms (JVM, JS, Native), and eventually move it
to 'frontend'.
2020-03-28 21:30:03 +01:00
Mikhail Glukhikh
b27152f903
Replace some FIR syntax errors with more proper diagnostics
2020-03-27 16:46:59 +03:00
Mikhail Glukhikh
2f63c8a46a
[FIR] Enhance diagnostic DSL to be able to use concrete factories
...
Before this commit, things like DiagnosticFactory0<KtDeclaration>
were effectively unusable.
2020-03-27 16:46:58 +03:00
Juan Chen
aba7706dec
[FIR] fix test module set up (this fixes 193 BB tests)
...
Added creation and initialization of the test module and its dependencies.
When looking at the emptyProgression test,
I found that getProgressionLastElement was not found,
which should be resolved from the dependencies.
2020-03-26 10:30:47 +03:00
Dmitriy Novozhilov
6c9dd8bb22
[FIR] Reorganize modules of raw fir builders
2020-03-25 18:07:27 +03:00
Dmitriy Novozhilov
84ed3f5cf2
[FIR-TEST] Add validation of diagnostics for light tree tests
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
2c37627b15
[FIR] Add unified diagnostics for psi and light tree
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
1a3fef5fa1
[FIR] Switch names of FirDiagnostic and ConeDiagnostic
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
caafe84611
[FIR-TEST] Get rid of FirDiagnosticsTestLightTreeHelper
2020-03-25 11:35:42 +03:00
simon.ogorodnik
0afbf25943
[FIR2IR] Implement JvmBackendClassResolver for boxing optimizer
2020-03-24 18:58:18 +03:00
Dmitriy Novozhilov
496489cdf4
[FIR] Introduce CheckerContext for call and declaration checkers
2020-03-19 23:11:17 +03:00
Mikhail Bogdanov
8b330193ac
Minor. Throw proper exception in test framework on directive processing
2020-03-19 16:45:11 +01:00
Mikhail Bogdanov
3f87899014
Switch converter test to new directive scheme
2020-03-19 16:45:10 +01:00
Mikhail Bogdanov
d793fea8d2
Use multimap for directives
2020-03-19 16:45:10 +01: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
34547b4e27
Minor. Remove redundant getters
2020-03-19 16:45:10 +01:00
Dmitriy Novozhilov
39372c06cf
[FIR] Move all checkers and theirs infrastructure to separate module
2020-03-19 09:51:01 +03:00
Jinseong Jeon
b71b0fa32c
Update stepping tests to inspect source name, instead of method info.
2020-03-17 13:39:35 +01:00
Alexander Udalov
3762b5cba7
Minor, remove extraneous field CodegenTestCase.coroutinesPackage
...
After a795c38eb7 , this field is available in the base class
KotlinBaseTest.
2020-03-12 13:51:40 +01:00
Mikhail Glukhikh
7ea4c20f3d
[FIR TEST] Fix FIR_IDENTICAL adding for Fir2IrTextTestGenerated
2020-03-10 15:19:34 +03:00
Mikhail Glukhikh
db38dfc21b
Diagnostic test: make messages about FIR_IDENTICAL inconsistency clearer
2020-03-05 09:41:07 +03:00