Vyacheslav Gerasimov
68f1d91e1b
as40: Upgrade to AS 4.0 C7
2019-12-25 20:19:36 +03:00
Michael Kuzmin
254dc8f71c
Build: Drop IntelliJ 2018.3 and Android Studio 3.4 support
...
Delete *.183 and *.as34 bunch-files
2019-12-19 18:31:07 +03:00
Ilya Kirillov
aca193ddd2
Wizard: Add initial version of the new project wizard
2019-12-18 15:54:16 +03:00
Yan Zhulanow
a19f8ffe6a
Revert "Debugger: Add IR-powered ranking tests"
...
This reverts commit ce21a559
Because of the erroneous behavior in 'BuilderFactoryForDuplicateSignatureDiagnostics.groupMembersDescriptorsBySignature', two functions with arguments of different inline class types are considered to have the same JVM signature.
Before the error wasn't reported, as classes didn't have proper source elements.
This issue has to be fixed before enabling ranking tests.
2019-12-13 12:23:24 +09:00
Dmitriy Novozhilov
5b1f96ba1b
[TEST] Add ability to exclude some testdata with pattern in test generator
2019-12-12 16:11:42 +03:00
Yan Zhulanow
ce21a55943
Debugger: Add IR-powered ranking tests
2019-12-11 20:04:03 +09:00
Mikhail Glukhikh
2b82618715
Fix unresolved references in bunch generate tests
2019-12-11 13:01:38 +03:00
Mikhail Glukhikh
ccb343e26b
FIR: preliminary implementation of diagnostics highlighter (~30% supported)
2019-12-10 12:57:13 +03:00
Mikhail Glukhikh
900227fdfa
KtReferenceResolver: implement resolveToPsiElements() via FE IR (~60% supported)
2019-12-10 12:57:11 +03:00
Aleksandr Prokopyev
1dc44b4000
Debugger: Tests refactor
2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev
5975251a32
Debugger: Coroutines stack frames with variables & coroutine dumps
2019-11-19 12:29:06 +03:00
Pavel Kirpichenkov
8c52bb4212
Add frontend checks for missing dependency supertypes
...
Call checker and declaration checker are used in order to preserve backward compatibility.
Attempt to use classifier usage checker was not good enouth,
since not all errors found with it would actually be reported before.
For example types and constructor calls don't cause supertypes to resolve,
so missing supertypes would not lead to errors in case they are the only use of class name.
Updated tests failing due to missing Java dependencies in superclasses.
2019-11-18 12:06:41 +03:00
Pavel Kirpichenkov
388cd53105
Add filtering during generation of mockJDK JAR
...
Adjustments for missing superclasses checker.
Some hierarchies in mock JDK are incomplete.
Absence of its .class file causes some tests to fail without an actual error.
To mitigate this problem, top-level classes and interfaces can only inherit from entries that belong to mock JDK.
Absent superclasses are replaced with java.lang.Object.
This only affects runtime jar of mock JDK.
2019-11-18 12:06:41 +03:00
Igor Yakovlev
1ccda6a8d4
Add fast find usages for data class components
...
This commit add feature for disabling searching for data class ComponentN method and destruction declarations that could encrease usages search.
See KT-23278
2019-11-13 17:38:35 +03:00
Alexander Udalov
ce09be3f59
Add TargetBackend.isIR, simplify JVM IR test configuration
2019-11-11 12:10:29 +01:00
Alexey Tsvetkov
6e9cd85b54
Exclude some proto messages from proto comparison in IC
2019-11-08 14:14:58 +03:00
Alexey Tsvetkov
28e6219b0b
Fix proto comparison for fields mapped to type table
2019-11-08 14:14:58 +03:00
Alexey Tsvetkov
c694752b4f
Generate Klib JS extensions for proto comparison
2019-11-08 14:14:58 +03:00
Georgy Bronnikov
688a2185fa
Tests for Kapt3 with JVM_IR backend
2019-11-07 13:28:09 +03:00
Mark Punzalan
1738c2d4f6
Invoke GenerateInRangeExpressionTestData and
...
GeneratePrimitiveVsObjectEqualityTestData during
:compiler:generateTests.
2019-10-28 15:26:38 +01:00
Nikolay Krasko
8563614b69
193: Mute navigation tests in 193 (KT-34542)
2019-10-28 14:06:05 +03:00
Alexander Udalov
e7fe144f5c
Minor, fix markdown rendering in GenerateGradleOptions
...
To make it more in line with changes in
https://github.com/JetBrains/kotlin-web-site/commit/649bd6bbc453942d792a7a81f874ddf62dd884d3
and
https://github.com/JetBrains/kotlin-web-site/commit/4e78c2ea945eebfcedfdf696334a3298aebf2ff7
2019-10-25 19:26:20 +02:00
Nikolay Krasko
ebf5e4b590
Mute IncrementalJsKlibCompilerRunnerTestGenerated tests (KT-34538)
...
#KT-34538 Fixed
2019-10-23 12:49:49 +03:00
Nikolay Krasko
e1a5a55972
Refactoring: remove ownImports method
2019-10-23 12:49:49 +03:00
Nikolay Krasko
28abfe6dfa
Avoid generating irrelevant imports in test classes
...
Now methods can request generating additional imports.
2019-10-23 12:49:47 +03:00
Nikolay Krasko
0c5dc507e9
Allow to add additional annotations to generated classes
2019-10-23 12:49:47 +03:00
Nikolay Krasko
98ac2af402
Use TargetBackend.ANY as default parameter and migrate to more generic runTest method
2019-10-23 12:49:47 +03:00
Ilya Kirillov
999918d499
New J2K: add multi-file conversion tests from old j2k
2019-10-12 12:50:34 +03:00
Anton Bannykh
82e8bcfca9
Proto: update the workaround which reduces memory allocations
2019-10-11 13:58:22 +03:00
Natalia Selezneva
1bb6a7cc91
Remove fir tests from idea <= 183
...
Broken at 17dcdb59de
2019-10-09 11:17:13 +03:00
Natalia Selezneva
17dcdb59de
Configuration: move scratch tests to separate module
2019-10-08 15:02:32 +03:00
Yan Zhulanow
472ec72eb9
Refactor debugger tests
...
1. Move tests to their own module
2. Avoid sharing the 'tinyApp' project between tests
3. Clean up option directive handling
2019-10-08 19:13:56 +09:00
Jiaxiang Chen
74e4e8b18e
enable test generator to generate tests using JUnit 4 infrastructure
2019-10-05 10:41:11 +02:00
Alexander Gorshenev
c227c13799
Commonizing klib metadata between native and js
2019-10-01 17:38:57 +03:00
Vladimir Dolzhenko
3b563eaca1
Use test path relative to testDataPath in fixture.configureByFile to be complaint with 193, part 2
2019-10-01 11:39:17 +02:00
Natalia Selezneva
66a6713577
Tests: extract scripts testdata for light classes in ide to separate test
...
For compiled scripts there is AbstractIdeCompiledLightClassTest
For now there is a difference in light classes constructed from source and from compiled class (missing baseClass and constructor parameter for script class)
But it doesn't affect users because calling script class from Java isn't supported yet
testData for AbstractIdeLightClassTest and AbstractIdeLightClassForScriptTest can be merged when the difference will be fixed
2019-09-30 09:47:20 +03:00
Anton Bannykh
ead8379c50
JS: add -Xmetadata-only flag for JS common code modules (KT-33142 fixed)
2019-09-27 19:12:03 +03:00
Vladimir Dolzhenko
17e2359a41
Added copy-paste performance tests
2019-09-23 12:48:59 +02:00
Ilya Kirillov
f61bb5aa39
New J2K: implement mutability inference in post-processing
...
#KT-24293 fixed
#KT-19603 fixed
2019-09-10 14:09:26 +03:00
Georgy Bronnikov
7ede26e8f4
IrCompileKotlinAgainstInlineKotlin tests
2019-09-06 09:19:57 +03:00
Nikolay Krasko
1c4ee6bd79
Remove as33 support
...
#KT-33536 Fixed
2019-08-30 12:13:09 +03:00
Dmitry Gridin
18f0bbe8f1
QuickFixMultiModule: change tests structure
2019-08-27 17:26:08 +07:00
Dmitry Gridin
02fd137cec
SimpleTestClassModel: add deep field
2019-08-27 17:26:08 +07:00
Dmitry Gridin
65ce4aed1a
TestGenerationDSL: cleanup code
2019-08-27 17:26:07 +07:00
Dmitry Gridin
4a049b9b01
GenerateTests: cleanup code
2019-08-27 17:26:07 +07:00
Roman Golyshev
e488e920d8
KT-32366: Add tests for right preview window
...
- also, fix missing test generation in `GenerateTests` bunch files (which was introduced in e54b43ba )
2019-08-23 18:22:26 +03:00
Alexey Tsvetkov
fc49510049
Add tests for IC with JS IR BE
2019-08-15 15:11:52 +03:00
Abduqodiri Qurbonzoda
432828a2db
Clarify floating-point to integral conversion rounding behaviour
2019-08-15 00:57:27 +03:00
Yan Zhulanow
25fb77e7ad
Debugger: Add breakpoint applicability tests
...
This commit adds a number of tests that check breakpoint placing behavior, and an inline action that work the same way as tests.
2019-08-07 01:15:28 +09:00
Dmitry Petrov
f590d4da9e
IR: IrTypeAlias: serialize/deserialize new IR objects
...
Add uniqId for typealias declarations.
Implement WrappedTypeAliasDescriptor.
2019-08-06 12:42:43 +03:00